Add option to enable federation on spire-server (#97)
This commit is contained in:
@@ -17,4 +17,12 @@ spec:
|
||||
args: ['-zvw3', '{{ include "spire-server.fullname" . }}', '{{ .Values.service.port }}']
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 8 }}
|
||||
{{- if eq (.Values.federation.enabled | toString) "true" }}
|
||||
- name: wget-federation-bundle-endpoint
|
||||
image: busybox
|
||||
command: ['wget']
|
||||
args: ['--no-check-certificate', '-O', '/dev/null', 'https://{{ include "spire-server.fullname" . }}.{{ include "spire-server.namespace" . }}.svc.cluster.local:{{ .Values.federation.bundleEndpoint.port }}']
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 8 }}
|
||||
{{- end }}
|
||||
restartPolicy: Never
|
||||
|
||||
Reference in New Issue
Block a user