diff --git a/.gitignore b/.gitignore index 606513a..59a5492 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,8 @@ node_modules /build /.svelte-kit /package -/charts/kubernetes/Chart.lock -/charts/kubernetes/charts +/charts/ui/Chart.lock +/charts/ui/charts .env .env.* !.env.example diff --git a/charts/ui/Chart.yaml b/charts/ui/Chart.yaml index 2ee7a94..c534de9 100644 --- a/charts/ui/Chart.yaml +++ b/charts/ui/Chart.yaml @@ -4,12 +4,12 @@ description: A Helm chart for deploying Unikorn UI type: application -version: v0.2.5 -appVersion: v0.2.5 +version: v0.2.6 +appVersion: v0.2.6 icon: https://assets.unikorn-cloud.org/assets/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 diff --git a/charts/ui/templates/ingress.yaml b/charts/ui/templates/ingress.yaml index cdbc1ca..6c06fb5 100644 --- a/charts/ui/templates/ingress.yaml +++ b/charts/ui/templates/ingress.yaml @@ -5,12 +5,10 @@ metadata: labels: {{- include "unikorn.labels" . | nindent 4 }} annotations: - {{- with $clusterIssuer := ( include "unikorn.ingress.clusterIssuer" . ) }} - cert-manager.io/cluster-issuer: {{ $clusterIssuer }} - {{- end }} - {{- if .Values.ingress.externalDns }} + {{- include "unikorn.ingress.clusterIssuer.annotations" . | nindent 4 }} + {{- if (include "unikorn.ingress.externalDNS" .) }} external-dns.alpha.kubernetes.io/hostname: {{ include "unikorn.ui.host" . }} - {{- end }} + {{- end }} spec: {{- if .Values.ingress.class }} ingressClassName: {{ .Values.ingress.class }} diff --git a/package.json b/package.json index 3ccdb40..0854826 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,10 @@ { "name": "unikorn-ui", "version": "0.1.0", - "private": true, + "repository": { + "type": "git", + "url": "https://github.com/unikorn-cloud/ui" + }, "scripts": { "dev": "vite dev", "build": "vite build",