mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 14:57:08 +08:00
* [bitnami/kuberay] feat: 🎉 Add chart Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> * fix: 🚨 Add license header and vpa Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> * fix: 🐛 Set service port in endpoint Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> * chore: ✏️ Set proper appVersion Signed-off-by: Javier J. Salmerón-García <jsalmeron@vmware.com> * docs: 📝 Update README.md Signed-off-by: Javier J. Salmerón-García <jsalmeron@vmware.com> * chore: 🔧 Update runtime-parameters.yaml Signed-off-by: Javier J. Salmerón-García <jsalmeron@vmware.com> * fix: 🐛 Apply requested changes Changes: - docs: 📝 Adapt README.md to structure - chore: 💡 Add raycluster origin - fix: 🐛 Set correct reference to cluster in serviceAccount helper - fix: 🐛 Set correct reference to cluster in service-account object - chore: 🔥 Remove reference to updateStrategy in RayCluster - fix: 🐛 Set proper reference in cluster SA imageRoot - fix: 🐛 Add missing references to custom probes in RayCluster - chore: 🔥 Remove non-existent head.replicaCount value - fix: 🐛 Set correct reference in apiserver metrics - fix: 🐛 Set correct reference in operator metrics - fix: 🐛 Add missing ingress objects Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> * docs: 🚨 Fix lint issue Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> * fix: 🐛 Add missing references to watchNamespaces Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> * chore: 🔥 Remove unused existingConfigmap helper reference Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> * fix: 🐛 Set proper annotations for services when enabling metrics Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> * test: ✅ Set watchAllNamespaces to false Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> * fix: 🐛 Add missing values for probes in head Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> * fix: 🐛 Add missing enableBatchScheduler value Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> --------- Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> Signed-off-by: Javier J. Salmerón-García <jsalmeron@vmware.com>
33 lines
1.6 KiB
YAML
33 lines
1.6 KiB
YAML
{{- /*
|
|
Copyright VMware, Inc.
|
|
SPDX-License-Identifier: APACHE-2.0
|
|
*/}}
|
|
|
|
{{- if .Values.apiserver.pdb.create }}
|
|
apiVersion: {{ include "common.capabilities.policy.apiVersion" . }}
|
|
kind: PodDisruptionBudget
|
|
metadata:
|
|
name: {{ template "kuberay.apiserver.fullname" . }}
|
|
namespace: {{ include "common.names.namespace" . | quote }}
|
|
{{- $versionLabel := dict "app.kubernetes.io/version" ( include "common.images.version" ( dict "imageRoot" .Values.apiserver.image "chart" .Chart ) ) }}
|
|
{{- $labels := include "common.tplvalues.merge" ( dict "values" ( list .Values.commonLabels $versionLabel ) "context" . ) }}
|
|
labels: {{- include "common.labels.standard" ( dict "customLabels" $labels "context" $ ) | nindent 4 }}
|
|
app.kubernetes.io/part-of: kuberay
|
|
app.kubernetes.io/component: apiserver
|
|
{{- if .Values.commonAnnotations }}
|
|
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
{{- if .Values.apiserver.pdb.minAvailable }}
|
|
minAvailable: {{ .Values.apiserver.pdb.minAvailable }}
|
|
{{- end }}
|
|
{{- if .Values.apiserver.pdb.maxUnavailable }}
|
|
maxUnavailable: {{ .Values.apiserver.pdb.maxUnavailable }}
|
|
{{- end }}
|
|
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.apiserver.podLabels .Values.commonLabels ) "context" . ) }}
|
|
selector:
|
|
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
|
app.kubernetes.io/part-of: kuberay
|
|
app.kubernetes.io/component: apiserver
|
|
{{- end }}
|