Skip to content

Commit

Permalink
Merge pull request #23 from GDATASoftwareAG/add-instance-to-update-se…
Browse files Browse the repository at this point in the history
…lector-and-namespace-to-default-selector-labels

Add instance to update selector and namespace to default selector labels
  • Loading branch information
GdataGithubBot authored Jan 16, 2024
2 parents aaebfbe + 1b59fd8 commit 4a4d50b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/gdscan/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ maintainers:
- name: G DATA CyberDefense AG
email: [email protected]
type: application
version: 1.4.5
version: 1.4.6
1 change: 1 addition & 0 deletions charts/gdscan/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Selector labels
{{- define "gdscan.selectorLabels" -}}
app.kubernetes.io/name: {{ include "gdscan.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/namespace: {{ .Release.Namespace }}
{{- end }}

{{- define "common.tplvalues.render" -}}
Expand Down
1 change: 1 addition & 0 deletions charts/gdscan/templates/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ spec:
metadata:
labels:
app.kubernetes.io/name: update
app.kubernetes.io/instance: "{{ .Release.Name }}"
app.kubernetes.io/namespace: "{{ .Release.Namespace }}"
spec:
serviceAccountName: update
Expand Down

0 comments on commit 4a4d50b

Please sign in to comment.