Skip to content

Commit

Permalink
Use seccompProfile RuntimeDefault (#346)
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha authored Sep 26, 2024
1 parent 8356df1 commit a793309
Show file tree
Hide file tree
Showing 11 changed files with 202 additions and 287 deletions.
146 changes: 73 additions & 73 deletions charts/stash-community/README.md

Large diffs are not rendered by default.

18 changes: 0 additions & 18 deletions charts/stash-community/ci/ci-values.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,2 @@
# https://github.com/helm/charts/blob/master/test/README.md#providing-custom-test-values
license: ""
operator:
securityContext:
seccompProfile:
type: RuntimeDefault
crdInstaller:
registry: appscodeci
tag: latest
securityContext:
seccompProfile:
type: RuntimeDefault
pushgateway:
securityContext:
seccompProfile:
type: RuntimeDefault
cleaner:
securityContext:
seccompProfile:
type: RuntimeDefault
16 changes: 8 additions & 8 deletions charts/stash-community/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ operator:
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 65534
# seccompProfile:
# type: RuntimeDefault
seccompProfile:
type: RuntimeDefault

crdInstaller:
# Docker registry of the CRD installer image. By default, it will use the same registry as the operator.
Expand All @@ -63,8 +63,8 @@ crdInstaller:
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 65534
# seccompProfile:
# type: RuntimeDefault
seccompProfile:
type: RuntimeDefault
# Node labels for pod assignment
nodeSelector: # +doc-gen:break
kubernetes.io/os: linux
Expand All @@ -90,8 +90,8 @@ pushgateway:
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 65534
# seccompProfile:
# type: RuntimeDefault
seccompProfile:
type: RuntimeDefault
# If you want to use a custom Pushgatway, specify its URL.
# Stash will not inject pushgatway sidecar if you set this field.
customURL: ""
Expand All @@ -113,8 +113,8 @@ cleaner:
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 65534
# seccompProfile:
# type: RuntimeDefault
seccompProfile:
type: RuntimeDefault
# Node labels for pod assignment
nodeSelector: # +doc-gen:break
kubernetes.io/os: linux
Expand Down
154 changes: 77 additions & 77 deletions charts/stash-enterprise/README.md

Large diffs are not rendered by default.

18 changes: 0 additions & 18 deletions charts/stash-enterprise/ci/ci-values.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,2 @@
# https://github.com/helm/charts/blob/master/test/README.md#providing-custom-test-values
license: ""
operator:
securityContext:
seccompProfile:
type: RuntimeDefault
crdInstaller:
registry: appscodeci
tag: latest
securityContext:
seccompProfile:
type: RuntimeDefault
pushgateway:
securityContext:
seccompProfile:
type: RuntimeDefault
cleaner:
securityContext:
seccompProfile:
type: RuntimeDefault
16 changes: 8 additions & 8 deletions charts/stash-enterprise/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ operator:
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 65534
# seccompProfile:
# type: RuntimeDefault
seccompProfile:
type: RuntimeDefault
crdInstaller:
# Docker registry of the CRD installer image. By default, it will use the same registry as the operator.
registry: ""
Expand All @@ -62,8 +62,8 @@ crdInstaller:
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 65534
# seccompProfile:
# type: RuntimeDefault
seccompProfile:
type: RuntimeDefault
# Node labels for pod assignment
nodeSelector: # +doc-gen:break
kubernetes.io/os: linux
Expand All @@ -89,8 +89,8 @@ pushgateway:
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 65534
# seccompProfile:
# type: RuntimeDefault
seccompProfile:
type: RuntimeDefault
# If you want to use a custom Pushgatway, specify its URL.
# Stash will not inject pushgatway sidecar if you set this field.
customURL: ""
Expand All @@ -111,8 +111,8 @@ cleaner:
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 65534
# seccompProfile:
# type: RuntimeDefault
seccompProfile:
type: RuntimeDefault
# Node labels for pod assignment
nodeSelector: # +doc-gen:break
kubernetes.io/os: linux
Expand Down
6 changes: 0 additions & 6 deletions charts/stash-opscenter/ci/ci-values.yaml

This file was deleted.

68 changes: 34 additions & 34 deletions charts/stash-ui-server/README.md

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions charts/stash-ui-server/ci/ci-values.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions charts/stash-ui-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ image:
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 65534
# seccompProfile:
# type: RuntimeDefault
seccompProfile:
type: RuntimeDefault
# Specify an array of imagePullSecrets.
# Secrets must be manually created in the namespace.
#
Expand Down
38 changes: 0 additions & 38 deletions charts/stash/ci/ci-values.yaml
Original file line number Diff line number Diff line change
@@ -1,41 +1,3 @@
# https://github.com/helm/charts/blob/master/test/README.md#providing-custom-test-values
global:
license: ""
stash-community:
operator:
securityContext:
seccompProfile:
type: RuntimeDefault
crdInstaller:
registry: appscodeci
tag: latest
securityContext:
seccompProfile:
type: RuntimeDefault
pushgateway:
securityContext:
seccompProfile:
type: RuntimeDefault
cleaner:
securityContext:
seccompProfile:
type: RuntimeDefault
stash-enterprise:
operator:
securityContext:
seccompProfile:
type: RuntimeDefault
crdInstaller:
registry: appscodeci
tag: latest
securityContext:
seccompProfile:
type: RuntimeDefault
pushgateway:
securityContext:
seccompProfile:
type: RuntimeDefault
cleaner:
securityContext:
seccompProfile:
type: RuntimeDefault

0 comments on commit a793309

Please sign in to comment.