Skip to content

Commit 61e189c

Browse files
adwk67razvan
andauthored
added hdfs bundle to catalog (#40)
Co-authored-by: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com>
1 parent 47c2bc7 commit 61e189c

File tree

4 files changed

+8
-22
lines changed

4 files changed

+8
-22
lines changed

olm/build-catalog.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ setup() {
4343
}
4444

4545
prerequisites() {
46-
echo "Deploy custom scc..."
47-
kubectl apply -f scc.yaml
46+
echo "Deploy custom product scc..."
47+
kubectl apply -f product_scc.yaml
4848

4949
if $NAMESPACE; then
5050
echo "Creating namespace..."

olm/catalog-source.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

olm/config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
operators:
33
- commons
44
- zookeeper
5+
- hdfs
6+
- hbase
7+
- secret

olm/scc.yaml renamed to olm/product_scc.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,9 @@
22
apiVersion: security.openshift.io/v1
33
kind: SecurityContextConstraints
44
metadata:
5-
name: stackable-platform-scc
5+
name: stackable-products-scc
66
annotations:
7-
kubernetes.io/description: |-
8-
stackable-platform-scc is derived from hostmount-anyuid. It provides all the features of the
9-
restricted SCC but allows host mounts and any UID by a pod. This is primarily
10-
used by the persistent volume recycler. WARNING: this SCC allows host file
11-
system access as any UID, including UID 0. Grant with caution.
7+
kubernetes.io/description: Copied over from SecurityContextConstraints hostmount-anyuid, with the only difference that ephemeral volumes can be mounted
128
release.openshift.io/create-only: "true"
139
allowHostDirVolumePlugin: true
1410
allowHostIPC: false
@@ -32,6 +28,7 @@ seLinuxContext:
3228
type: MustRunAs
3329
supplementalGroups:
3430
type: RunAsAny
31+
users: []
3532
volumes:
3633
- configMap
3734
- downwardAPI

0 commit comments

Comments
 (0)