Skip to content

Commit

Permalink
Add conifigMap to openshift required SCCs. (#217)
Browse files Browse the repository at this point in the history
A change introduced in 0.6.0 requires we add `configMap` to the list of allowed volume types in the example `SCC`s
  • Loading branch information
bdurrow authored Dec 13, 2021
1 parent 412f4c9 commit f9ab913
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ $ oc apply -f examples/scc-volatile.yaml
```

> **Note**: you must choose one or the other, applying both will result in using the one applied last.
> **Note**: These have changed with the introduction of Nexus Operator version 0.6.0 to include `configMap` volumes.
Once the SCC has been created, run:

Expand Down
1 change: 1 addition & 0 deletions examples/scc-persistent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ supplementalGroups:
min: 200
type: MustRunAs
volumes:
- configMap
- persistentVolumeClaim
- secret
1 change: 1 addition & 0 deletions examples/scc-volatile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ supplementalGroups:
min: 200
type: MustRunAs
volumes:
- configMap
- secret

0 comments on commit f9ab913

Please sign in to comment.