Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion helm/cluster-api-visualizer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ maintainers:
sources:
- https://github.com/Jont828/cluster-api-visualizer
appVersion: "v1.5.0"
version: 1.5.0
version: 1.6.0
35 changes: 35 additions & 0 deletions helm/cluster-api-visualizer/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{{- if .Values.ingress.enabled -}}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: capi-visualizer
Comment thread
Nold360 marked this conversation as resolved.
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- with .Values.ingress.className }}
ingressClassName: {{ . }}
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:
- host: {{ .Values.ingress.hostname | quote }}
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: capi-visualizer
port:
number: 8081
{{- end }}
11 changes: 11 additions & 0 deletions helm/cluster-api-visualizer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,14 @@ label:

service:
type: ClusterIP

ingress:
enabled: false
className: ""
#annotations:
# cert-manager.io/cluster-issuer: vault
hostname: capi-visualizer.local
tls: []
# - hosts:
# - capi-visualizer.local
# secretName: capi-visualizer-cert