mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 07:06:56 -06:00
Openshift4 operator for Artifactory HA v7.0.2
This commit is contained in:
19
Openshift4/artifactoryha-helm/templates/artifactory-node-pdb.yaml
Executable file
19
Openshift4/artifactoryha-helm/templates/artifactory-node-pdb.yaml
Executable file
@@ -0,0 +1,19 @@
|
||||
apiVersion: policy/v1beta1
|
||||
kind: PodDisruptionBudget
|
||||
metadata:
|
||||
name: {{ template "artifactory-ha.fullname" . }}-node
|
||||
labels:
|
||||
app: {{ template "artifactory-ha.name" . }}
|
||||
chart: {{ template "artifactory-ha.chart" . }}
|
||||
component: {{ .Values.artifactory.name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
release: {{ .Release.Name }}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ template "artifactory-ha.name" . }}
|
||||
{{- if eq .Values.artifactory.service.pool "members" }}
|
||||
role: {{ template "artifactory-ha.node.name" . }}
|
||||
{{- end }}
|
||||
release: {{ .Release.Name }}
|
||||
minAvailable: {{ .Values.artifactory.node.minAvailable }}
|
||||
Reference in New Issue
Block a user