dd5c0f3dc0
This change removes the namespace field from the ExternalSecret definition in the secrets.yaml file, allowing for more flexible deployment within different namespaces without the need for modification.
27 lines
698 B
YAML
27 lines
698 B
YAML
apiVersion: external-secrets.io/v1beta1
|
|
kind: ExternalSecret
|
|
metadata:
|
|
name: schemas
|
|
spec:
|
|
refreshInterval: 1h
|
|
secretStoreRef:
|
|
name: external-secrets
|
|
kind: ClusterSecretStore
|
|
target:
|
|
creationPolicy: Owner
|
|
template:
|
|
mergePolicy: Merge
|
|
engineVersion: 'v2'
|
|
data:
|
|
POSTGRES_URL: "postgres://{{ .DB_USERNAME }}:{{ .DB_PASSWORD }}@{{ .DB_HOST }}:{{ .DB_PORT }}/schemas?sslmode=disable"
|
|
API_KEY: "{{ .API_KEY }}"
|
|
SENTRY_DSN: "{{ .SENTRY_DSN }}"
|
|
SENTRY_ENVIRONMENT: "{{ .SENTRY_ENVIRONMENT }}"
|
|
dataFrom:
|
|
- extract:
|
|
key: services/schemas
|
|
- extract:
|
|
key: rds/postgres/prod-psql
|
|
- extract:
|
|
key: mq/rabbit/prod
|