File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
documentation/3.4/content/userguide/managing-operators
kubernetes/charts/weblogic-operator Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ description: "An operator runtime is installed and configured using Helm. Here a
2222 - [ ` labels ` ] ( #labels )
2323 - [ ` nodeSelector ` ] ( #nodeselector )
2424 - [ ` affinity ` ] ( #affinity )
25+ - [ ` runAsUser ` ] ( #runasuser )
2526 - [ WebLogic domain management] ( #weblogic-domain-management )
2627 - [ ` domainNamespaceSelectionStrategy ` ] ( #domainnamespaceselectionstrategy )
2728 - [ ` domainNamespaces ` ] ( #domainnamespaces )
@@ -288,6 +289,14 @@ affinity:
288289 - another-node-label-value
289290` ` `
290291
292+ # #### `runAsUser`
293+ Specifies the UID to run the operator container process. If not specified, it defaults to the user specified in the operator's container image.
294+
295+ Example :
296+ ` ` ` yaml
297+ runAsUser: 1000
298+ ` ` `
299+
291300# ### WebLogic domain management
292301
293302The settings in this section determine the namespaces that an operator
Original file line number Diff line number Diff line change 3333 { {- end } }
3434 spec:
3535 serviceAccountName: { { .serviceAccount | quote } }
36+ { {- if .runAsUser } }
37+ securityContext:
38+ runAsUser: { { .runAsUser } }
39+ { {- end } }
3640 { {- with .nodeSelector } }
3741 nodeSelector:
3842 { {- toYaml . | nindent 8 } }
Original file line number Diff line number Diff line change @@ -228,3 +228,8 @@ clusterSizePaddingValidationEnabled: true
228228# Defaults to 5 retries and 10 seconds between each retry.
229229# domainPresenceFailureRetryMaxCount: 5
230230# domainPresenceFailureRetrySeconds: 10
231+
232+ # runAsUser specifies the UID to run the operator container process. If not specified,
233+ # it defaults to the user specified in the operator's container image.
234+ # runAsUser: 1000
235+
You can’t perform that action at this time.
0 commit comments