feat: add gcp_iit node attestor configuration options (#796)

* feat: add gcp_iit node attestor configuration options

Signed-off-by: Jesper Engberg <[email protected]>

* fix: align indentation

Signed-off-by: Jesper Engberg <[email protected]>

* fix: remove unused var

Signed-off-by: Jesper Engberg <[email protected]>

---------

Signed-off-by: Jesper Engberg <[email protected]>
Co-authored-by: kfox1111 <[email protected]>
This commit is contained in:
Jesper Engberg
2026-04-15 16:33:53 +00:00
committed by GitHub
co-authored by kfox1111
parent 3c1dec3035
commit dfe8089160
6 changed files with 59 additions and 3 deletions
@@ -120,13 +120,20 @@ plugins:
{{- $nodeAttestorUsed = add1 $nodeAttestorUsed }}
{{- end }}
{{- end }}
{{- with .Values.nodeAttestor.awsIID }}
{{- if eq (.enabled | toString) "true" }}
{{- with .Values.nodeAttestor.awsIID }}
{{- if eq (.enabled | toString) "true" }}
aws_iid:
plugin_data: {}
{{- $nodeAttestorUsed = add1 $nodeAttestorUsed }}
{{- end }}
{{- end }}
{{- with .Values.nodeAttestor.gcpIIT }}
{{- if eq (.enabled | toString) "true" }}
gcp_iit:
plugin_data: {}
{{- $nodeAttestorUsed = add1 $nodeAttestorUsed }}
{{- end }}
{{- end }}
{{- if ne $nodeAttestorUsed 1 }}
{{- fail (printf "You have to enable exactly one Node Attestor. There are %d enabled." $nodeAttestorUsed) }}
{{- end }}