Add test for oidc discovery provider

Signed-off-by: Marco Franssen <[email protected]>
Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
Marco Franssen
2023-02-18 13:04:15 +01:00
committed by Marco Franssen
parent 7d9ab07e23
commit bba395b015
@@ -8,8 +8,16 @@ metadata:
"helm.sh/hook": test
spec:
containers:
- name: wget
- name: wget-service-name
image: busybox
command: ['wget']
args: ['{{ include "spiffe-oidc-discovery-provider.fullname" . }}:{{ .Values.service.port }}']
args: ['{{ include "spiffe-oidc-discovery-provider.fullname" . }}:{{ .Values.service.port }}/.well-known/openid-configuration']
- name: wget-service-name-namespace
image: busybox
command: ['wget']
args: ['{{ include "spiffe-oidc-discovery-provider.fullname" . }}.{{ .Release.Namespace }}:{{ .Values.service.port }}/.well-known/openid-configuration']
- name: wget-service-name-namespace-svc-cluster-local
image: busybox
command: ['wget']
args: ['{{ include "spiffe-oidc-discovery-provider.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local:{{ .Values.service.port }}/.well-known/openid-configuration']
restartPolicy: Never