Skip to content

Commit

Permalink
add keda default labels to cert-manager objects (#724)
Browse files Browse the repository at this point in the history
Signed-off-by: Gabi Davar <grizzly.nyo@gmail.com>
  • Loading branch information
mindw authored Jan 8, 2025
1 parent f8fe1c2 commit 3e58b2a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions keda/templates/cert-manager/keda-issuer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ metadata:
{{- end }}
name: {{ .Values.operator.name }}-issuer
namespace: {{ .Release.Namespace }}
labels:
{{- include "keda.labels" . | indent 4 }}
spec:
ca:
secretName: {{ .Values.certificates.certManager.caSecretName }}
Expand Down
2 changes: 2 additions & 0 deletions keda/templates/cert-manager/keda-tls-certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ kind: Certificate
metadata:
name: {{ .Values.operator.name }}-tls-certificates
namespace: {{ .Release.Namespace }}
labels:
{{- include "keda.labels" . | indent 4 }}
spec:
commonName: {{ .Values.operator.name }}
dnsNames:
Expand Down
2 changes: 2 additions & 0 deletions keda/templates/cert-manager/self-ca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ kind: Certificate
metadata:
name: {{ .Values.operator.name }}-ca
namespace: {{ .Release.Namespace }}
labels:
{{- include "keda.labels" . | indent 4 }}
spec:
isCA: true
commonName: {{ .Values.operator.name }}
Expand Down
2 changes: 2 additions & 0 deletions keda/templates/cert-manager/self-issuer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ metadata:
{{- end }}
name: {{ .Values.operator.name }}-selfsigned-issuer
namespace: {{ .Release.Namespace }}
labels:
{{- include "keda.labels" . | indent 4 }}
spec:
selfSigned: {}
{{- end }}

0 comments on commit 3e58b2a

Please sign in to comment.