Skip to content

Commit

Permalink
add PSA restricted label
Browse files Browse the repository at this point in the history
and seLinux
  • Loading branch information
JeromeJu committed Sep 22, 2022
1 parent 7fda7ea commit 040f93e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions config/100-namespace/100-namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ metadata:
labels:
app.kubernetes.io/instance: default
app.kubernetes.io/part-of: tekton-pipelines
pod-security.kubernetes.io/enforce : restricted
3 changes: 3 additions & 0 deletions config/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ spec:
- name: config-registry-cert
configMap:
name: config-registry-cert
securityContext:
seLinuxOptions:
role: "RunAsUser"
---
apiVersion: v1
kind: Service
Expand Down
3 changes: 3 additions & 0 deletions config/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
securityContext:
seLinuxOptions:
role: "RunAsUser"
---
apiVersion: v1
kind: Service
Expand Down
1 change: 0 additions & 1 deletion licenseclassifier
Submodule licenseclassifier deleted from e6a9bb
1 change: 0 additions & 1 deletion test-in
Submodule test-in deleted from e6a9bb

0 comments on commit 040f93e

Please sign in to comment.