Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
name: {{ .Values.security.secretName | quote }}
key: {{ .Values.security.secretKey | quote }}
{{- end }}
- name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.redis.secretName | quote }}
key: {{ .Values.redis.secretKey | quote }}
securityContext:
{{- toYaml .Values.containerSecurityContext | nindent 12 }}
ports:
Expand Down
4 changes: 4 additions & 0 deletions helm/values-sit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ runtime:

security:
enabled: true

redis:
secretName: redis
secretKey: REDIS_PASSWORD
4 changes: 4 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ security:
secretName: auth-service-secrets
secretKey: jwt-secret

redis:
secretName: redis
secretKey: REDIS_PASSWORD

service:
type: ClusterIP
port: 8080
Expand Down
Loading