From cdf01e1955e968c44223f2734c2889634cc33a08 Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Wed, 5 Aug 2020 21:43:24 +0800 Subject: [PATCH] Fixed some references --- guacamole/Chart.yaml | 2 +- guacamole/templates/guacamole-daemon-service.yaml | 15 +++++++++++++++ .../{service.yaml => guacamole-service.yaml} | 0 guacamole/templates/guacamole.yaml | 2 +- 4 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 guacamole/templates/guacamole-daemon-service.yaml rename guacamole/templates/{service.yaml => guacamole-service.yaml} (100%) diff --git a/guacamole/Chart.yaml b/guacamole/Chart.yaml index 3d7703f..c84f435 100644 --- a/guacamole/Chart.yaml +++ b/guacamole/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.1 +version: 0.1.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/guacamole/templates/guacamole-daemon-service.yaml b/guacamole/templates/guacamole-daemon-service.yaml new file mode 100644 index 0000000..adc1551 --- /dev/null +++ b/guacamole/templates/guacamole-daemon-service.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "guacamole.fullname" . }} + labels: + {{- include "guacamole.labels" . | nindent 4 }} +spec: + type: {{ .Values.guacd.service.type }} + ports: + - port: {{ .Values.guacd.service.port }} + targetPort: 4822 + protocol: TCP + name: http + selector: + {{- include "guacamole.selectorLabels" . | nindent 4 }} diff --git a/guacamole/templates/service.yaml b/guacamole/templates/guacamole-service.yaml similarity index 100% rename from guacamole/templates/service.yaml rename to guacamole/templates/guacamole-service.yaml diff --git a/guacamole/templates/guacamole.yaml b/guacamole/templates/guacamole.yaml index ae69042..61bf2b4 100644 --- a/guacamole/templates/guacamole.yaml +++ b/guacamole/templates/guacamole.yaml @@ -20,7 +20,7 @@ spec: labels: {{- include "guacamole.selectorLabels" . | nindent 8 }} spec: - {{- with .Values.imagePullSecrets }} + {{- with .Values.guacamole.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }}