Skip to content

Commit

Permalink
Updating adminUI deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
ausias-armesto committed Feb 26, 2024
1 parent c3bfd7b commit b48d0b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion charts/hoprd-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

apiVersion: v2
name: hoprd-operator
version: 0.2.4
version: 0.2.5
appVersion: 0.2.4
description: A Helm chart operator for managing Hopr nodes
type: application
Expand Down
14 changes: 0 additions & 14 deletions charts/hoprd-operator/templates/deployment-adminui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,10 @@ spec:
app.kubernetes.io/instance: {{ include "hoprd-operator.name" . }}
app.kubernetes.io/name: {{ .Release.Name }}
spec:
securityContext:
runAsUser: 10001
runAsGroup: 10001
runAsNonRoot: true
containers:
- name: admin-ui
image: {{ printf "%s/%s:%s" .Values.adminUI.image.registry .Values.adminUI.image.repository .Values.adminUI.image.tag }}
imagePullPolicy: {{ .Values.adminUI.image.pullPolicy }}
securityContext:
runAsUser: 10001
runAsGroup: 10001
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
seccompProfile:
type: RuntimeDefault
capabilities:
drop:
- ALL
{{- if .Values.adminUI.resources }}
resources: {{- toYaml .Values.adminUI.resources | nindent 12 }}
{{- else }}
Expand Down

0 comments on commit b48d0b5

Please sign in to comment.