14 lines
575 B
YAML
Raw Normal View History

2021-09-06 16:41:29 +01:00
{{- if .Values.controlPlane.healthCheck.enabled }}
2021-09-06 10:23:43 +01:00
---
2021-11-17 10:02:06 +00:00
apiVersion: cluster.x-k8s.io/v1beta1
2021-09-06 10:23:43 +01:00
kind: MachineHealthCheck
metadata:
name: {{ include "openstack-cluster.componentName" (list . "control-plane") }}
labels: {{ include "openstack-cluster.componentLabels" (list . "control-plane") | nindent 4 }}
spec:
clusterName: {{ include "openstack-cluster.clusterName" . }}
selector:
matchLabels: {{ include "openstack-cluster.componentSelectorLabels" (list . "control-plane") | nindent 6 }}
2021-09-06 16:41:29 +01:00
{{- toYaml .Values.controlPlane.healthCheck.spec | nindent 2 }}
2021-09-06 10:23:43 +01:00
{{- end }}