fix: target self-hosted infisical operator API
This commit is contained in:
1 parent
f4591e0473
commit
983e8f348d
5 files changed
+43
-69
No files matched your search
@@ -1,22 +0,0 @@
|
|||||||
apiVersion: secrets.infisical.com/v1beta1
|
|
||||||
kind: InfisicalAuth
|
|
||||||
metadata:
|
|
||||||
name: infisical-auth
|
|
||||||
namespace: infisical
|
|
||||||
spec:
|
|
||||||
infisicalConnectionRef:
|
|
||||||
name: infisical
|
|
||||||
namespace: infisical
|
|
||||||
method: kubernetes
|
|
||||||
kubernetes:
|
|
||||||
identityIdRef:
|
|
||||||
name: infisical-identity
|
|
||||||
namespace: infisical
|
|
||||||
key: identityId
|
|
||||||
serviceAccountRef:
|
|
||||||
name: infisical-auth
|
|
||||||
namespace: infisical
|
|
||||||
# Set this only if the Infisical Kubernetes Auth audience is configured.
|
|
||||||
# serviceAccountTokenAudiences:
|
|
||||||
# - infisical
|
|
||||||
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
apiVersion: secrets.infisical.com/v1beta1
|
|
||||||
kind: InfisicalConnection
|
|
||||||
metadata:
|
|
||||||
name: infisical
|
|
||||||
namespace: infisical
|
|
||||||
spec:
|
|
||||||
address: https://secret-manager.dahyeon.us
|
|
||||||
@@ -2,7 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- k8s-auth-serviceaccount.yaml
|
- k8s-auth-serviceaccount.yaml
|
||||||
- infisical-connection.yaml
|
|
||||||
- infisical-auth.yaml
|
|
||||||
- platform-static-secrets.yaml
|
- platform-static-secrets.yaml
|
||||||
|
|
||||||
@@ -1,54 +1,62 @@
|
|||||||
apiVersion: secrets.infisical.com/v1beta1
|
apiVersion: secrets.infisical.com/v1alpha1
|
||||||
kind: InfisicalStaticSecret
|
kind: InfisicalSecret
|
||||||
metadata:
|
metadata:
|
||||||
name: cert-manager-cloudflare
|
name: cert-manager-cloudflare
|
||||||
namespace: cert-manager
|
namespace: cert-manager
|
||||||
spec:
|
spec:
|
||||||
infisicalAuthRef:
|
hostAPI: https://secret-manager.dahyeon.us/api
|
||||||
name: infisical-auth
|
syncConfig:
|
||||||
namespace: infisical
|
resyncInterval: 60s
|
||||||
syncOptions:
|
|
||||||
refreshInterval: 60s
|
|
||||||
instantUpdates: false
|
instantUpdates: false
|
||||||
sources:
|
authentication:
|
||||||
- projectId: 8520b8c0-3796-4fd6-a03c-6f0508c8c42c
|
kubernetesAuth:
|
||||||
environmentSlug: prod
|
identityId: b81a3c06-a4d9-49a1-bf7e-f990cf33f9fa
|
||||||
secretPath: /platform/cert-manager
|
autoCreateServiceAccountToken: true
|
||||||
recursive: false
|
serviceAccountRef:
|
||||||
targets:
|
name: infisical-auth
|
||||||
- name: cloudflare-api-token-secret
|
namespace: infisical
|
||||||
namespace: cert-manager
|
secretsScope:
|
||||||
kind: Secret
|
projectId: 8520b8c0-3796-4fd6-a03c-6f0508c8c42c
|
||||||
|
envSlug: prod
|
||||||
|
secretsPath: /platform/cert-manager
|
||||||
|
recursive: false
|
||||||
|
managedKubeSecretReferences:
|
||||||
|
- secretName: cloudflare-api-token-secret
|
||||||
|
secretNamespace: cert-manager
|
||||||
creationPolicy: Owner
|
creationPolicy: Owner
|
||||||
template:
|
template:
|
||||||
engineVersion: v1
|
includeAllSecrets: false
|
||||||
data:
|
data:
|
||||||
api-token: "{{ .CLOUDFLARE_API_TOKEN.Value }}"
|
api-token: "{{ .CLOUDFLARE_API_TOKEN.Value }}"
|
||||||
---
|
---
|
||||||
apiVersion: secrets.infisical.com/v1beta1
|
apiVersion: secrets.infisical.com/v1alpha1
|
||||||
kind: InfisicalStaticSecret
|
kind: InfisicalSecret
|
||||||
metadata:
|
metadata:
|
||||||
name: monitoring-grafana-admin
|
name: monitoring-grafana-admin
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
spec:
|
spec:
|
||||||
infisicalAuthRef:
|
hostAPI: https://secret-manager.dahyeon.us/api
|
||||||
name: infisical-auth
|
syncConfig:
|
||||||
namespace: infisical
|
resyncInterval: 60s
|
||||||
syncOptions:
|
|
||||||
refreshInterval: 60s
|
|
||||||
instantUpdates: false
|
instantUpdates: false
|
||||||
sources:
|
authentication:
|
||||||
- projectId: 8520b8c0-3796-4fd6-a03c-6f0508c8c42c
|
kubernetesAuth:
|
||||||
environmentSlug: prod
|
identityId: b81a3c06-a4d9-49a1-bf7e-f990cf33f9fa
|
||||||
secretPath: /platform/monitoring
|
autoCreateServiceAccountToken: true
|
||||||
recursive: false
|
serviceAccountRef:
|
||||||
targets:
|
name: infisical-auth
|
||||||
- name: grafana-admin
|
namespace: infisical
|
||||||
namespace: monitoring
|
secretsScope:
|
||||||
kind: Secret
|
projectId: 8520b8c0-3796-4fd6-a03c-6f0508c8c42c
|
||||||
|
envSlug: prod
|
||||||
|
secretsPath: /platform/monitoring
|
||||||
|
recursive: false
|
||||||
|
managedKubeSecretReferences:
|
||||||
|
- secretName: grafana-admin
|
||||||
|
secretNamespace: monitoring
|
||||||
creationPolicy: Owner
|
creationPolicy: Owner
|
||||||
template:
|
template:
|
||||||
engineVersion: v1
|
includeAllSecrets: false
|
||||||
data:
|
data:
|
||||||
admin-user: "{{ .GRAFANA_ADMIN_USER.Value }}"
|
admin-user: "{{ .GRAFANA_ADMIN_USER.Value }}"
|
||||||
admin-password: "{{ .GRAFANA_ADMIN_PASSWORD.Value }}"
|
admin-password: "{{ .GRAFANA_ADMIN_PASSWORD.Value }}"
|
||||||
@@ -1,4 +1,2 @@
|
|||||||
# Values for the Infisical Operator Helm chart.
|
hostAPI: https://secret-manager.dahyeon.us/api
|
||||||
# Pin the chart repository and chart version in argocd/applicationsets.
|
|
||||||
{}
|
|
||||||
|
|
||||||
Reference in new issue
Block a user