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:
+10
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user