diff --git a/helm/dbrepo/values.yaml b/helm/dbrepo/values.yaml index 6b02c06b4cec4ce51cee87036ec57798124c57ff..415b8c61e87f134dd3f0998f9159ddde175ee8fb 100644 --- a/helm/dbrepo/values.yaml +++ b/helm/dbrepo/values.yaml @@ -801,7 +801,7 @@ identityservice: allowPrivilegeEscalation: false runAsUser: null #todo: does not overwrite ltb-passwd: - enabled: false + enabled: true ingress: enabled: false global: diff --git a/helm/fix_identity.sh b/helm/fix_identity.sh index a5772e2e985129defbe2199d2a9c273b17e40f3b..1d4cf69841b4ec382354ba0558cbe13b9334b332 100644 --- a/helm/fix_identity.sh +++ b/helm/fix_identity.sh @@ -65,4 +65,21 @@ oc patch statefulset $STATEFULSET_NAME -n $NAMESPACE --type='json' -p='[ "op": "remove", "path": "/spec/template/spec/containers/0/securityContext/runAsUser" } +]' + + +oc patch deployment dbrepo-ltb-passwd -n $NAMESPACE --type='json' -p='[ + { + "op": "add", + "path": "/spec/template/spec/containers/0/resources", + "value": { + "limits": { + "memory": "512Mi" + }, + "requests": { + "cpu": "25m", + "memory": "256Mi" + } + } + } ]' \ No newline at end of file