diff --git a/charts/outline/Chart.yaml b/charts/outline/Chart.yaml index 66c8da7..157f22e 100644 --- a/charts/outline/Chart.yaml +++ b/charts/outline/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: outline -version: 0.0.4 +version: 0.0.5 description: Chart for Outline wiki keywords: - wiki diff --git a/charts/outline/templates/ingress.yaml b/charts/outline/templates/ingress.yaml index 40c09d8..8537709 100644 --- a/charts/outline/templates/ingress.yaml +++ b/charts/outline/templates/ingress.yaml @@ -2,14 +2,14 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: - name: outline-web + name: {{ .Release.Name }} namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: outline-web + app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/version: {{ .Chart.AppVersion }} app.kubernetes.io/component: web - app.kubernetes.io/part-of: outline + app.kubernetes.io/part-of: {{ .Release.Name }} annotations: {{- toYaml .Values.ingress.annotations | nindent 4 }} spec: @@ -26,7 +26,7 @@ spec: pathType: Prefix backend: service: - name: outline-web + name: {{ .Release.Name }} port: name: web {{- end }} diff --git a/charts/outline/templates/service.yaml b/charts/outline/templates/service.yaml index 9723490..528b03e 100644 --- a/charts/outline/templates/service.yaml +++ b/charts/outline/templates/service.yaml @@ -1,14 +1,14 @@ apiVersion: v1 kind: Service metadata: - name: outline-web + name: {{ .Release.Name }} namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: outline-web + app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/version: {{ .Chart.AppVersion }} app.kubernetes.io/component: web - app.kubernetes.io/part-of: outline + app.kubernetes.io/part-of: {{ .Release.Name }} spec: type: ClusterIP ports: @@ -17,5 +17,5 @@ spec: protocol: TCP name: web selector: - app.kubernetes.io/name: outline-web + app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}