Skip to content

Commit

Permalink
Merge pull request opensearch-project#100 from s-urbaniak/fix-pod-sec…
Browse files Browse the repository at this point in the history
…urity

deploy/main: use labels vs. annotations for pod-security settings
  • Loading branch information
brancz authored Oct 15, 2021
2 parents de5a843 + 8c63a38 commit d876941
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function(version='v0.0.1-alpha.3')
kind: 'Namespace',
metadata: {
name: 'parca',
annotations: {
labels: {
'pod-security.kubernetes.io/enforce': 'privileged',
'pod-security.kubernetes.io/audit': 'privileged',
'pod-security.kubernetes.io/warn': 'privileged',
Expand Down
2 changes: 1 addition & 1 deletion deploy/openshift.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function(version='v0.0.1-alpha.3')
kind: 'Namespace',
metadata: {
name: 'parca',
annotations: {
labels: {
'pod-security.kubernetes.io/enforce': 'privileged',
'pod-security.kubernetes.io/audit': 'privileged',
'pod-security.kubernetes.io/warn': 'privileged',
Expand Down

0 comments on commit d876941

Please sign in to comment.