Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Commit

Permalink
mas consul
Browse files Browse the repository at this point in the history
  • Loading branch information
dexhorthy committed Mar 20, 2019
1 parent 93f5eda commit a1c0c86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ spec:
{{- range .Values.ConsulConfig }}
-config-dir /etc/consul/userconfig/{{ .name }} \
{{- end}}
{{- if .Values.uiService.enabled }}
{{- if .Values.ui.enabled }}
-ui \
{{- end }}
{{- if .Values.DisableHostNodeId }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{{- if .Values.uiService.enabled }}
{{- if .Values.ui.enabled }}
apiVersion: v1
kind: Service
metadata:
name: "{{ template "consul.fullname" . }}-ui"
{{- with .Values.uiService.annotations }}
{{- with .Values.ui.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
Expand All @@ -18,5 +18,5 @@ spec:
port: {{ .Values.HttpPort }}
selector:
component: "{{ .Release.Name }}-{{ .Values.Component }}"
type: "{{ .Values.uiService.type }}"
type: "{{ .Values.ui.type }}"
{{- end }}

0 comments on commit a1c0c86

Please sign in to comment.