Skip to content

Commit

Permalink
fix(infra): update chart values
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Urban committed Oct 11, 2023
1 parent 7b327c7 commit 22ce636
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/charts/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: kubevoyage
description: A Helm chart for Kubernetes auth proxy
version: 0.5.0
version: 0.6.0
10 changes: 10 additions & 0 deletions deploy/charts/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,15 @@ spec:
secretKeyRef:
name: {{ include "kubevoyage.fullname" . }}-secret
key: jwt-secret
- name: ADMIN_USER
valueFrom:
secretKeyRef:
name: {{ include "kubevoyage.fullname" . }}-secret
key: admin-user
- name: ADMIN_PASSWORD
valueFrom:
secretKeyRef:
name: -secret
key: admin-password


4 changes: 3 additions & 1 deletion deploy/charts/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ metadata:
type: Opaque
data:
db-password: {{ .Values.database.password | b64enc | quote }}
jwt-secret: {{ .Values.additionalEnvVars.jwtSecret }}
jwt-secret: {{ .Values.additionalEnvVars.jwtSecret }}
admin-user: {{ .Values.auth.adminUser }}
admin-password: {{ .Values.auth.adminPassword }}
2 changes: 1 addition & 1 deletion deploy/charts/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "kubevoyage.fullname" . }}
name: kubevoyage
namespace: {{ .Values.app.namespace }}
labels:
app: {{ include "kubevoyage.fullname" . }}
Expand Down

0 comments on commit 22ce636

Please sign in to comment.