Skip to content

Commit

Permalink
chore: helm values for registry config (#8716)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjc7373 authored Dec 31, 2024
1 parent d1b1007 commit 1ede668
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deploy/helm/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ data:
# the default storage class name.
DEFAULT_STORAGE_CLASS: {{ include "kubeblocks.defaultStorageClass" . | quote }}
{{- with .Values.registryConfig }}
registries:
{{- toYaml . | nindent 6 }}
{{- end }}
---
apiVersion: v1
kind: ConfigMap
Expand Down
7 changes: 7 additions & 0 deletions deploy/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,13 @@ dataPlane:
values:
- "true"

# dynamically replace instance's registry. ref: https://github.com/apecloud/kubeblocks/pull/8018
# e.g.
# registryConfig:
# defaultRegistry: apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com
# defaultNamespace: apecloud
registryConfig: {}

# Add extra pod labels to KubeBlocks Deployment
extraLabels: {}

Expand Down

0 comments on commit 1ede668

Please sign in to comment.