Skip to content

Commit e660056

Browse files
authored
Merge pull request #73 from maiqueb/synch-repo-scc-manifest
Synch repo scc manifest
2 parents 32b8a2b + 8cc7f70 commit e660056

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

automation/check-patch.setup.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,12 @@ cp -rf $(pwd)/. ${TMP_PROJECT_PATH}
2727

2828
echo 'Exporting temporary project path'
2929
export TMP_PROJECT_PATH
30+
31+
echo 'Ensuring the manifests are in sync'
32+
if [[ -n $(git status --porcelain 2>/dev/null) ]]; then
33+
echo "ERROR: git tree state is not clean!"
34+
echo "Run `make manifests` and commit those changes"
35+
git status
36+
git diff
37+
exit 1
38+
fi

manifests/scc.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ metadata:
66
allowHostNetwork: true
77
allowPrivilegedContainer: true
88
allowHostDirVolumePlugin: true
9+
allowHostIPC: false
10+
allowHostPID: false
11+
allowHostPorts: false
12+
readOnlyRootFilesystem: false
913
runAsUser:
1014
type: RunAsAny
1115
seLinuxContext:
1216
type: RunAsAny
1317
users:
1418
- system:serviceaccount:default:macvtap-cni
19+
volumes:
20+
- hostPath

0 commit comments

Comments
 (0)