Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ description: "An operator runtime is installed and configured using Helm. Here a
- [`labels`](#labels)
- [`nodeSelector`](#nodeselector)
- [`affinity`](#affinity)
- [`runAsUser`](#runasuser)
- [WebLogic domain management](#weblogic-domain-management)
- [`domainNamespaceSelectionStrategy`](#domainnamespaceselectionstrategy)
- [`domainNamespaces`](#domainnamespaces)
Expand Down Expand Up @@ -288,6 +289,14 @@ affinity:
- another-node-label-value
```

##### `runAsUser`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remember to add this heading as a cross-reference in the doc's TOC.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed. Thanks!

Specifies the UID to run the operator container process. If not specified, it defaults to the user specified in the operator's container image.

Example:
```yaml
runAsUser: 1000
```

#### WebLogic domain management

The settings in this section determine the namespaces that an operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ spec:
{{- end }}
spec:
serviceAccountName: {{ .serviceAccount | quote }}
{{- if .runAsUser }}
securityContext:
runAsUser: {{ .runAsUser }}
{{- end }}
{{- with .nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
5 changes: 5 additions & 0 deletions kubernetes/charts/weblogic-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -228,3 +228,8 @@ clusterSizePaddingValidationEnabled: true
# Defaults to 5 retries and 10 seconds between each retry.
# domainPresenceFailureRetryMaxCount: 5
# domainPresenceFailureRetrySeconds: 10

# runAsUser specifies the UID to run the operator container process. If not specified,
# it defaults to the user specified in the operator's container image.
#runAsUser: 1000