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 conversion webhook](#weblogic-domain-conversion-webhook)
- [`webhookOnly`](#webhookonly)
- [`operatorOnly`](#operatoronly)
Expand Down Expand Up @@ -292,6 +293,13 @@ affinity:
values:
- another-node-label-value
```
##### `runAsUser`
Specifies the UID to run the operator and conversion webhook container processes. If not specified, it defaults to the user specified in the operator's container image.

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

#### WebLogic domain conversion webhook

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ spec:
{{- end }}
spec:
serviceAccountName: {{ .serviceAccount | quote }}
{{- if .runAsUser }}
securityContext:
runAsUser: {{ .runAsUser }}
{{- end }}
{{- with .nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down Expand Up @@ -222,6 +226,10 @@ spec:
{{- end }}
spec:
serviceAccountName: {{ .serviceAccount | quote }}
{{- if .runAsUser }}
securityContext:
runAsUser: {{ .runAsUser }}
{{- end }}
{{- with .nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
4 changes: 4 additions & 0 deletions kubernetes/charts/weblogic-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258,3 +258,7 @@ clusterSizePaddingValidationEnabled: true
# Defaults to 5 retries and 10 seconds between each retry.
# domainPresenceFailureRetryMaxCount: 5
# domainPresenceFailureRetrySeconds: 10

# runAsuser specifies the UID to run the operator and conversion webhook container processes.
# If not specified, it defaults to the user specified in the operator's container image.
#runAsUser: 1000