Changing the Default Image

System Components

  1. Specify the system component image tag as v1.0.1:
helm install --namespace polardbx-operator-system --set imageTag=v1.0.1 polardbx-operator polardbx/polardbx-operator --create-namespace
  1. Specify the pull policy as Always:
helm install --namespace polardbx-operator-system --set imagePullPolicy=Always polardbx-operator polardbx/polardbx-operator --create-namespace

Database Cluster

  1. Specify the default tag for all components as v1:
helm install --namespace polardbx-operator-system --set clusterDefaults.version=v1 polardbx-operator polardbx/polardbx-operator --create-namespace
  1. Override the default tag for components, for example, specify the tag for the CN image as v2 (the rest of the components remain configured as clusterDefaults.version):
helm install --namespace polardbx-operator-system --set clusterDefaults.galaxysql=polardbx-sql:v2 polardbx-operator polardbx/polardbx-operator --create-namespace
  1. Override the default repo for components, for example, specify the image repo for CN as registry:5000 (the rest of the components remain configured as imageRepo):
helm install --namespace polardbx-operator-system --set clusterDefaults.galaxysql=registry:5000/polardbx-sql polardbx-operator polardbx/polardbx-operator --create-namespace

results matching ""

    No results matching ""