Skip to content

Commit

Permalink
Use Common Ingress Templates (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
spjmurray authored Jun 19, 2024
1 parent c2e9f8c commit 355e789
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
6 changes: 3 additions & 3 deletions charts/kubernetes/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ description: A Helm chart for deploying Unikorn Kubernetes Service

type: application

version: v0.2.16
appVersion: v0.2.16
version: v0.2.17
appVersion: v0.2.17

icon: https://raw.githubusercontent.com/unikorn-cloud/assets/main/images/logos/dark-on-light/icon.png

dependencies:
- name: unikorn-common
version: v0.1.5
version: v0.1.6
repository: https://unikorn-cloud.github.io/helm-common
8 changes: 2 additions & 6 deletions charts/kubernetes/templates/server/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,10 @@ metadata:
labels:
{{- include "unikorn.labels" . | nindent 4 }}
annotations:
{{- with $clusterIssuer := ( include "unikorn.ingress.clusterIssuer" . ) }}
cert-manager.io/cluster-issuer: {{ $clusterIssuer }}
{{- end }}
{{- with $ingress := .Values.ingress }}
{{- if $ingress.externalDns }}
{{- include "unikorn.ingress.clusterIssuer.annotations" . | nindent 4 }}
{{- if (include "unikorn.ingress.externalDNS" .) }}
external-dns.alpha.kubernetes.io/hostname: {{ include "unikorn.kubernetes.host" . }}
{{- end }}
{{- end }}
spec:
{{- with $ingress := .Values.ingress }}
{{- if $ingress.class }}
Expand Down

0 comments on commit 355e789

Please sign in to comment.