Fixed service checks

This commit is contained in:
Jonathan Ervine 2020-08-06 09:31:12 +08:00
parent cdf01e1955
commit ade54969ea
5 changed files with 8 additions and 8 deletions

View File

@ -15,11 +15,11 @@ 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.2
version: 0.1.3
# 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
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: v1.2.0
icon: https://git.ervine.org/jonny/charts/raw/branch/master/guacamole/guacamole.png
icon: https://git.ervine.org/jonny/charts/raw/branch/master/guacamole/guacamole.png

View File

@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "guacamole.fullname" . }}
name: {{ include "guacamole.fullname" . }}-app
labels:
{{- include "guacamole.labels" . | nindent 4 }}
spec:

View File

@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "guacamole.fullname" . }}
name: {{ include "guacamole.fullname" . }}-daemon
labels:
{{- include "guacamole.labels" . | nindent 4 }}
spec:

View File

@ -1,9 +1,9 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "guacamole-daemon.fullname" . }}
name: {{ include "guacamole.fullname" . }}-daemon
labels:
{{- include "guacamole-daemon.labels" . | nindent 4 }}
{{- include "guacamole.labels" . | nindent 4 }}
spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.guacd.replicaCount }}
@ -24,7 +24,7 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "guacamole-daemon.serviceAccountName" . }}
serviceAccountName: {{ include "guacamole.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.guacd.podSecurityContext | nindent 8 }}
containers:

View File

@ -11,5 +11,5 @@ spec:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "guacamole.fullname" . }}:{{ .Values.service.port }}']
args: ['{{ include "guacamole.fullname" . }}:{{ .Values.guacamole.service.port }}']
restartPolicy: Never