Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{- /*
Copyright 2021-2023 VMware, Inc.
SPDX-License-Identifier: Apache-2.0
*/}}

{{- if .Values.poddisruptionbudget.enabled }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
labels: { { - include "pipelines-control-service.labels" . | nindent 4 } }
{ { - range $key, $value := .Values.poddisruptionbudget.metadata.labels } }
{ { $key } }: { { $value | quote } }
{ { - end } }
name: {{ .Release.Name }}-dep
namespace: {{ .Release.Namespace }}
spec:
minAvailable: {{ .Values.poddisruptionbudget.minAvailable }}
selector:
matchLabels: { { - include "pipelines-control-service.selectorLabels" . | nindent 6 } }
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,15 @@ resources:
cpu: 500m
memory: 500Mi

# Specify Pod Disruption Budget for the Control Service Deployment to allow for higher availability while permitting
# the cluster administrator to manage the clusters nodes
# see https://kubernetes.io/docs/tasks/run-application/configure-pdb/
poddisruptionbudget:
enabled: false
metadata:
labels: # additional labels if needed
minAvailable: 1

## [Required] Database configuration used by Control Plane
## Database is used to store Data Jobs metadata like name, team, description
## and some deploy specific configuration like execution schedule
Expand Down Expand Up @@ -1182,14 +1191,14 @@ alertmanager:
# More information here: https://github.com/vmware/versatile-data-kit/tree/main/specs/vep-1493-vault-integration
secrets:
vault:
enabled: false
## Name of the secret which holds Vault URI and Approle RoleId and SecretId. The chart will not attempt to
## create this, but will use it as is.
## The secret should contain keys: URI, ROLEID, SECRETID
externalSecretName: ""
## Alternatively provide the uri and Approle Settings here. externalSecretName takes precedence if both are set.
uri: "http://localhost:8200"
approle:
roleid: foo
secretid: foo
sizeLimitBytes: "1048576"
enabled: false
## Name of the secret which holds Vault URI and Approle RoleId and SecretId. The chart will not attempt to
## create this, but will use it as is.
## The secret should contain keys: URI, ROLEID, SECRETID
externalSecretName: ""
## Alternatively provide the uri and Approle Settings here. externalSecretName takes precedence if both are set.
uri: "http://localhost:8200"
approle:
roleid: foo
secretid: foo
sizeLimitBytes: "1048576"