Add support for experimental flags (#492)

Add support for the experimental section of the config. Needed for
developers. This PR doesnt add support for the `auth_opa_policy_engine`
experimental config.

---------

Signed-off-by: Faisal Memon <[email protected]>
This commit is contained in:
Faisal Memon
2023-09-22 14:55:03 -07:00
committed by GitHub
parent 7cdae92333
commit f04bdc3618
4 changed files with 30 additions and 2 deletions
+6 -2
View File
@@ -3,6 +3,10 @@ Installed {{ .Chart.Name }}…
{{- $s := add (len $up.keyManager) (len $up.nodeAttestor) (len $up.upstreamAuthority) (len $up.notifier) }}
{{- if gt $s 0 }}
Warning:
You are using an unsupported plugin. Functionality of this release and future upgrades are not guaranteed to work smoothly.
Warning: You're using an unsupported plugin. Functionality of this release and future upgrades aren't guaranteed to work smoothly.
{{- end }}
{{- if eq ((index .Values "spire-server").experimental.enabled | toString) "true" }}
Warning: You're using an experimental config. Functionality of this release and future upgrades aren't guaranteed to work smoothly.
{{- end }}