Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Add the option to disable unix workloadattestor (#26)
Browse files Browse the repository at this point in the history
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
  • Loading branch information
kfox1111 and faisal-memon committed Feb 23, 2023
1 parent 115d9bd commit 8a3ae10
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/spire/charts/spire-agent/README.md
Expand Up @@ -35,5 +35,6 @@ A Helm chart to install the SPIRE agent.
| waitForIt.image.repository | string | `"chainguard/wait-for-it"` | |
| waitForIt.image.version | string | `"latest-20230113"` | |
| waitForIt.resources | object | `{}` | |
| workloadAttestors.unix.enabled | bool | `false` | enables the Unix workload attestor |

----------------------------------------------
2 changes: 2 additions & 0 deletions charts/spire/charts/spire-agent/templates/configmap.yaml
Expand Up @@ -36,10 +36,12 @@ data:
}
}
{{- if .Values.workloadAttestors.unix.enabled }}
WorkloadAttestor "unix" {
plugin_data {
}
}
{{- end }}
}
health_checks {
Expand Down
7 changes: 7 additions & 0 deletions charts/spire/charts/spire-agent/values.yaml
Expand Up @@ -68,3 +68,10 @@ waitForIt:
pullPolicy: IfNotPresent
version: latest-20230113
resources: {}

# workloadAttestors determine a workload's properties and then generate a set of selectors associated with it.
workloadAttestors:
# unix is a workload attestor which generates unix-based selectors like 'uid' and 'gid'.
unix:
# -- enables the Unix workload attestor
enabled: false

0 comments on commit 8a3ae10

Please sign in to comment.