Skip to content

Commit

Permalink
Exposing values to enable users to manage the SecurityProfilesOperato…
Browse files Browse the repository at this point in the history
…rDaemon config

Exposing values to enable users to manage the SecurityProfilesOperatorDaemon config

Removed empty line

Removed empty line

Removed configuration section from static-resources file and created a new file under templates
  • Loading branch information
rahulroshan-kachchap authored and Rahul Roshan Kachchap committed Jan 24, 2023
1 parent 3e42cf0 commit 022bd4f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions deploy/helm/templates/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: security-profiles-operator.x-k8s.io/v1alpha1
kind: SecurityProfilesOperatorDaemon
metadata:
labels:
app: security-profiles-operator
name: spod
namespace: security-profiles-operator
spec:
enableSelinux: {{ .Values.enableSelinux }}
enableLogEnricher: {{ .Values.enableLogEnricher }}
enableAppArmor: {{ .Values.enableAppArmor }}
4 changes: 4 additions & 0 deletions deploy/helm/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Default values for security-profiles-operator.
replicaCount: 3

enableSelinux: false
enableLogEnricher: false
enableAppArmor: false

nameOverride: ""
fullnameOverride: ""

Expand Down

0 comments on commit 022bd4f

Please sign in to comment.