From 0ab822b62033ae0224bf51930a9b069c43c4c85f Mon Sep 17 00:00:00 2001 From: Viv B Date: Tue, 12 Nov 2024 10:16:14 +1100 Subject: [PATCH] chore(openshift): add default service account --- charts/placeos/values-openshift.yaml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/charts/placeos/values-openshift.yaml b/charts/placeos/values-openshift.yaml index a3c82c8..acfc0d3 100644 --- a/charts/placeos/values-openshift.yaml +++ b/charts/placeos/values-openshift.yaml @@ -9,30 +9,35 @@ xseccompProfileType: &seccompProfileType RuntimeDefault ##### PlaceOS Services ##### ############################ api: + serviceAccountName: placeos-anyuid deployment: securityContext: seccompProfile: type: *seccompProfileType podPriorityClassName: "" auth: + serviceAccountName: placeos-anyuid deployment: securityContext: seccompProfile: type: *seccompProfileType podPriorityClassName: "" core: + serviceAccountName: placeos-anyuid deployment: securityContext: seccompProfile: type: *seccompProfileType podPriorityClassName: "" dispatch: + serviceAccountName: placeos-anyuid deployment: securityContext: seccompProfile: type: *seccompProfileType podPriorityClassName: "" frontendloader: + serviceAccountName: placeos-anyuid httpSidecar: true deployment: securityContext: @@ -45,30 +50,35 @@ frontendloader: type: *seccompProfileType podPriorityClassName: "" searchingest: + serviceAccountName: placeos-anyuid deployment: securityContext: seccompProfile: type: *seccompProfileType podPriorityClassName: "" triggers: + serviceAccountName: placeos-anyuid deployment: securityContext: seccompProfile: type: *seccompProfileType podPriorityClassName: "" staff: + serviceAccountName: placeos-anyuid deployment: securityContext: seccompProfile: type: *seccompProfileType podPriorityClassName: "" source: + serviceAccountName: placeos-anyuid deployment: securityContext: seccompProfile: type: *seccompProfileType podPriorityClassName: "" init: + serviceAccountName: placeos-anyuid deployment: securityContext: seccompProfile: @@ -91,6 +101,7 @@ elasticsearch: replicas: 3 serviceAccount: create: false + name: placeos-anyuid resources: limits: cpu: 1000m @@ -108,6 +119,7 @@ elasticsearch: replicas: 0 serviceAccount: create: false + name: placeos-anyuid resources: limits: cpu: 100m @@ -121,6 +133,7 @@ elasticsearch: replicas: 2 serviceAccount: create: false + name: placeos-anyuid resources: limits: cpu: 1 @@ -139,6 +152,7 @@ redis: enabled: true serviceAccount: create: false + name: placeos-anyuid podSecurityContext: seccompProfile: type: *seccompProfileType @@ -153,6 +167,9 @@ redis: postgresql: enabled: true + serviceAccount: + create: false + name: placeos-anyuid podSecurityContext: seccompProfile: type: *seccompProfileType @@ -177,4 +194,5 @@ influxdb: global: placeDomain: "" - openshift: true \ No newline at end of file + openshift: true + name: placeos-anyuid \ No newline at end of file