Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correctly place connaisseur-env-secret in deployment yaml #1736

Merged
merged 1 commit into from
Aug 23, 2024
Merged
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
2 changes: 1 addition & 1 deletion charts/connaisseur/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: connaisseur
description: Helm chart for Connaisseur - a Kubernetes admission controller to integrate container image signature verification and trust pinning into a cluster.
type: application
version: 2.6.0
version: 2.6.1
appVersion: 3.6.0
keywords:
- container image
Expand Down
10 changes: 5 additions & 5 deletions charts/connaisseur/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ spec:
- secretRef:
name: {{ include "connaisseur.redisSecret" . }}
{{- end }}
env:
{{ if gt (dig "features" "cache" "expirySeconds" 30 .Values.application | int) 0 -}}
- name: REDIS_HOST
value: {{ include "connaisseur.redisService" . }}
{{- end }}
{{ if .Values.kubernetes.deployment.envs -}}
- secretRef:
name: {{ include "connaisseur.envSecretName" . }}
{{- end }}
env:
{{ if gt (dig "features" "cache" "expirySeconds" 30 .Values.application | int) 0 -}}
- name: REDIS_HOST
value: {{ include "connaisseur.redisService" . }}
{{- end }}
volumes:
- name: certs
secret:
Expand Down
Loading