Set default API secret reference and remove plain text option (#203)

The majority of users are using the operator with an API key, so the
default should be to look for the secret. This change also removes the
option to set the api key in plain text as that is just bad practice.
Also bumps the chart version to prepare for a minor release.
This commit is contained in:
Philip Laine
2026-04-24 16:14:34 +02:00
committed by GitHub
parent 91036022c0
commit fe715ae40c
6 changed files with 11 additions and 24 deletions
+2 -2
View File
@@ -121,7 +121,7 @@ rules:
- get
- list
- watch
{{- if or (or .Values.netbirdAPI.key .Values.netbirdAPI.keyFromSecret) .Values.clusterSecretsPermissions.allowAllSecrets }}
{{- if or .Values.netbirdAPI.keyFromSecret .Values.clusterSecretsPermissions.allowAllSecrets }}
- apiGroups:
- ""
resources:
@@ -130,7 +130,7 @@ rules:
- get
- list
- watch
{{- if or .Values.netbirdAPI.key .Values.netbirdAPI.keyFromSecret }}
{{- if .Values.netbirdAPI.keyFromSecret }}
- patch
- update
- create