Skip to content

Commit

Permalink
Set default containers for gateway and push-endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
pvannierop committed Oct 28, 2024
1 parent 4dc909c commit 49c5aad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions charts/radar-gateway/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,14 @@ spec:
metadata:
annotations:
checksum/configmap: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
kubectl.kubernetes.io/default-container: {{ .Chart.Name }}
labels:
app.kubernetes.io/name: {{ include "radar-gateway.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- toYaml . | nindent 8 }}-curityContext | nindent 8 }}
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
Expand Down
1 change: 1 addition & 0 deletions charts/radar-push-endpoint/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ spec:
metadata:
annotations:
checksum/configmap: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
kubectl.kubernetes.io/default-container: {{ .Chart.Name }}
labels:
app.kubernetes.io/name: {{ include "radar-push-endpoint.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
Expand Down

0 comments on commit 49c5aad

Please sign in to comment.