Fixed service checks
This commit is contained in:
parent
cdf01e1955
commit
ade54969ea
@ -15,7 +15,7 @@ type: application
|
|||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# 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.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# 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
|
# 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
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "guacamole.fullname" . }}
|
name: {{ include "guacamole.fullname" . }}-app
|
||||||
labels:
|
labels:
|
||||||
{{- include "guacamole.labels" . | nindent 4 }}
|
{{- include "guacamole.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
@ -1,7 +1,7 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "guacamole.fullname" . }}
|
name: {{ include "guacamole.fullname" . }}-daemon
|
||||||
labels:
|
labels:
|
||||||
{{- include "guacamole.labels" . | nindent 4 }}
|
{{- include "guacamole.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "guacamole-daemon.fullname" . }}
|
name: {{ include "guacamole.fullname" . }}-daemon
|
||||||
labels:
|
labels:
|
||||||
{{- include "guacamole-daemon.labels" . | nindent 4 }}
|
{{- include "guacamole.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
{{- if not .Values.autoscaling.enabled }}
|
{{- if not .Values.autoscaling.enabled }}
|
||||||
replicas: {{ .Values.guacd.replicaCount }}
|
replicas: {{ .Values.guacd.replicaCount }}
|
||||||
@ -24,7 +24,7 @@ spec:
|
|||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
serviceAccountName: {{ include "guacamole-daemon.serviceAccountName" . }}
|
serviceAccountName: {{ include "guacamole.serviceAccountName" . }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.guacd.podSecurityContext | nindent 8 }}
|
{{- toYaml .Values.guacd.podSecurityContext | nindent 8 }}
|
||||||
containers:
|
containers:
|
||||||
|
|||||||
@ -11,5 +11,5 @@ spec:
|
|||||||
- name: wget
|
- name: wget
|
||||||
image: busybox
|
image: busybox
|
||||||
command: ['wget']
|
command: ['wget']
|
||||||
args: ['{{ include "guacamole.fullname" . }}:{{ .Values.service.port }}']
|
args: ['{{ include "guacamole.fullname" . }}:{{ .Values.guacamole.service.port }}']
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user