Skip to content
Open
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
17 changes: 17 additions & 0 deletions platform/hosting/self-managed/operator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,23 @@ api:

If needed, configure a custom security context for other components like `app` or `console`. For details, see [Custom security context](#custom-security-context).

#### Upgrade hook jobs

The operator runs `pre-upgrade` and `post-upgrade` hook jobs during upgrades (for example, the app-rename hook that also runs when you enable Weave). These hook pods default to UID 999 like the main components, so on OpenShift, `restricted-v2` rejects them. This rejection makes the Helm upgrade fail and can leave the custom resource stuck in `Loading`. Give the hook jobs the same UID-range security context:

```yaml
appRenamePreHook:
podSecurityContext:
runAsUser: 1000810000 # a value within your project's UID range
runAsGroup: 0
fsGroup: 1000810000
appRenamePostHook:
podSecurityContext:
runAsUser: 1000810000
runAsGroup: 0
fsGroup: 1000810000
```

## Deploy W&B Server application

<Note>
Expand Down
Loading