Skip to content

Commit

Permalink
Fix missing spec in BitwardenSyncSecrets (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkupferer authored Dec 7, 2023
1 parent af39940 commit 027115d
Showing 1 changed file with 29 additions and 25 deletions.
54 changes: 29 additions & 25 deletions deploy/helm-api/templates/bitwarden-sync-secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@ metadata:
labels:
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
app.kubernetes.io/name: {{ .Values.appName }}
data:
database_url:
secret: {{ .Values.bitwarden_secret_name }}
key: database.url
dynamodb_aws_access_key_id:
secret: {{ .Values.bitwarden_secret_name }}
key: database.dynamodb_aws_access_key_id
dynamodb_aws_secret_access_key:
secret: {{ .Values.bitwarden_secret_name }}
key: database.dynamodb_aws_secret_access_key
spec:
data:
database_url:
secret: {{ .Values.bitwarden_secret_name }}
key: database.url
dynamodb_aws_access_key_id:
secret: {{ .Values.bitwarden_secret_name }}
key: database.dynamodb_aws_access_key_id
dynamodb_aws_secret_access_key:
secret: {{ .Values.bitwarden_secret_name }}
key: database.dynamodb_aws_secret_access_key
---
apiVersion: bitwarden-k8s-secrets-manager.demo.redhat.com/v1
kind: BitwardenSyncSecret
Expand All @@ -27,10 +28,11 @@ metadata:
labels:
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
app.kubernetes.io/name: {{ .Values.appName }}
data:
jwt_auth_secret:
secret: {{ .Values.bitwarden_secret_name }}
key: auth.jwt_auth_secret
spec:
data:
jwt_auth_secret:
secret: {{ .Values.bitwarden_secret_name }}
key: auth.jwt_auth_secret
---
apiVersion: bitwarden-k8s-secrets-manager.demo.redhat.com/v1
kind: BitwardenSyncSecret
Expand All @@ -40,10 +42,11 @@ metadata:
labels:
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
app.kubernetes.io/name: {{ .Values.appName }}
data:
vault_secret:
secret: {{ .Values.bitwarden_secret_name }}
key: vault.vault_secret
spec:
data:
vault_secret:
secret: {{ .Values.bitwarden_secret_name }}
key: vault.vault_secret
---
apiVersion: bitwarden-k8s-secrets-manager.demo.redhat.com/v1
kind: BitwardenSyncSecret
Expand All @@ -53,11 +56,12 @@ metadata:
labels:
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
app.kubernetes.io/name: {{ .Values.appName }}
data:
assumerole_aws_access_key_id:
secret: {{ .Values.bitwarden_secret_name }}
key: aws.assumerole_aws_access_key_id
assumerole_aws_secret_access_key:
secret: {{ .Values.bitwarden_secret_name }}
key: aws.assumerole_aws_secret_access_key
spec:
data:
assumerole_aws_access_key_id:
secret: {{ .Values.bitwarden_secret_name }}
key: aws.assumerole_aws_access_key_id
assumerole_aws_secret_access_key:
secret: {{ .Values.bitwarden_secret_name }}
key: aws.assumerole_aws_secret_access_key
{{- end }}

0 comments on commit 027115d

Please sign in to comment.