Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 4 additions & 0 deletions helm_chart/values-multi-cluster.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
operator:
# Name that will be assigned to most internal Kubernetes objects like Deployment, ServiceAccount, Role etc.
name: mongodb-kubernetes-operator-multi-cluster
vaultSecretBackend:
# set to true if you want the operator to store secrets in Vault
enabled: false
tlsSecretRef: ''

multiCluster:
# Specify if we want to deploy the operator in multi-cluster mode
Expand Down
4 changes: 4 additions & 0 deletions helm_chart/values-openshift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ namespace: mongodb
managedSecurityContext: true

operator:
vaultSecretBackend:
# set to true if you want the operator to store secrets in Vault
enabled: false
tlsSecretRef: ''
webhook:
# registerConfiguration setting (default: true) controls if the operator should automatically register ValidatingWebhookConfiguration and if required for it cluster-wide roles should be installed.
#
Expand Down
5 changes: 5 additions & 0 deletions scripts/dev/lint_helm_chart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ fi
# the binaries yamale and yamllint required by ct are available at `${PROJECT_DIR}/venv/bin`
export PATH=${PROJECT_DIR}/venv/bin:${PATH}

helm template "${PROJECT_DIR}/helm_chart/" \
-f "${PROJECT_DIR}/helm_chart/values.yaml" \
-f "${PROJECT_DIR}/helm_chart/values-openshift.yaml" \
-f "${PROJECT_DIR}/helm_chart/values-multi-cluster.yaml"

ct lint --charts="${PROJECT_DIR}/helm_chart/" \
--chart-yaml-schema "${PROJECT_DIR}/helm_chart/tests/schemas/chart_schema.yaml" \
--lint-conf "${PROJECT_DIR}/helm_chart/tests/schemas/lintconf.yaml"