Co-authored-by: Faisal Memon <[email protected]> Co-authored-by: Marco Franssen <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
17 lines
619 B
YAML
17 lines
619 B
YAML
{{- if .Values.ingress.enabled -}}
|
|
{{- $fullName := include "spiffe-oidc-discovery-provider.fullname" . }}
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: {{ $fullName }}
|
|
namespace: {{ include "spiffe-oidc-discovery-provider.namespace" . }}
|
|
labels:
|
|
{{ include "spiffe-oidc-discovery-provider.labels" . | nindent 4 }}
|
|
{{- with .Values.ingress.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
{{ include "spire-lib.ingress-spec" (dict "ingress" .Values.ingress "svcName" $fullName "port" .Values.service.port "global" .Values.global) | nindent 2 }}
|
|
{{- end }}
|