Skip to content

Commit 7cb3189

Browse files
committed
add bdc-scc.yaml
1 parent f7bdf98 commit 7cb3189

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

samples/features/sql-big-data-cluster/deployment/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ Using the sample Python script in **offline** folder, you will push the necessar
1919

2020
Using the sample Python script in **private-aks** folder, you will Deploy SQL Server big data cluster in in your private network with Azure Kubernetes service (AKS) private cluster.
2121

22+
## __[OpenShift manifests and scripts](openshift/)__
23+
24+
Use manifests and scripts in **openshift** folder, to support SQL Server Big Data Clusters on OpenShift.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
apiVersion: security.openshift.io/v1
2+
kind: SecurityContextConstraints
3+
metadata:
4+
  annotations:
5+
    kubernetes.io/description: SQL Server BDC custom scc is based on 'nonroot' scc plus additional capabilities.
6+
  generation: 2
7+
  name: bdc-scc
8+
allowHostDirVolumePlugin: false
9+
allowHostIPC: false
10+
allowHostNetwork: false
11+
allowHostPID: false
12+
allowHostPorts: false
13+
allowPrivilegeEscalation: true
14+
allowPrivilegedContainer: false
15+
allowedCapabilities:
16+
- SETUID
17+
- SETGID
18+
- CHOWN
19+
- SYS_PTRACE
20+
defaultAddCapabilities: null
21+
fsGroup:
22+
  type: RunAsAny
23+
readOnlyRootFilesystem: false
24+
requiredDropCapabilities:
25+
- KILL
26+
- MKNOD
27+
runAsUser:
28+
  type: MustRunAsNonRoot
29+
seLinuxContext:
30+
  type: MustRunAs
31+
supplementalGroups:
32+
  type: RunAsAny
33+
volumes:
34+
- configMap
35+
- downwardAPI
36+
- emptyDir
37+
- persistentVolumeClaim
38+
- projected
39+
- secret

0 commit comments

Comments
 (0)