From 973b528db8d786b9c7d372debb0c7356cb112415 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Tue, 10 Jan 2023 18:36:20 +0600 Subject: [PATCH] Use ghcr.io to pull operator image (#582) Signed-off-by: Tamal Saha --- charts/kubedb-autoscaler/README.md | 2 +- charts/kubedb-autoscaler/values.yaml | 2 +- charts/kubedb-dashboard/README.md | 2 +- charts/kubedb-dashboard/values.yaml | 2 +- charts/kubedb-ops-manager/README.md | 2 +- charts/kubedb-ops-manager/values.yaml | 2 +- charts/kubedb-opscenter/README.md | 24 ++++++++++++------------ charts/kubedb-opscenter/values.yaml | 2 +- charts/kubedb-provisioner/README.md | 2 +- charts/kubedb-provisioner/values.yaml | 2 +- charts/kubedb-schema-manager/README.md | 2 +- charts/kubedb-schema-manager/values.yaml | 2 +- charts/kubedb-ui-server/README.md | 2 +- charts/kubedb-ui-server/values.yaml | 2 +- charts/kubedb-webhook-server/README.md | 2 +- charts/kubedb-webhook-server/values.yaml | 2 +- 16 files changed, 27 insertions(+), 27 deletions(-) diff --git a/charts/kubedb-autoscaler/README.md b/charts/kubedb-autoscaler/README.md index d9225178e..b1d5e8771 100644 --- a/charts/kubedb-autoscaler/README.md +++ b/charts/kubedb-autoscaler/README.md @@ -52,7 +52,7 @@ The following table lists the configurable parameters of the `kubedb-autoscaler` | replicaCount | Number of KubeDB operator replicas to create (only 1 is supported) | 1 | | license | License for the product. Get a license by following the steps from [here](https://stash.run/docs/latest/setup/install/enterprise#get-a-trial-license).
Example:
`helm install appscode/kubedb-autoscaler \`
`--set-file license=/path/to/license/file`
`or`
`helm install appscode/kubedb-autoscaler \`
`--set license=` | "" | | updateInterval | Interval between each autoscaler loop | 1m | -| registryFQDN | Docker registry fqdn used to pull KubeDB related images. Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | "" | +| registryFQDN | Docker registry fqdn used to pull KubeDB related images. Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | ghcr.io | | operator.registry | Docker registry used to pull KubeDB enterprise operator image | kubedb | | operator.repository | KubeDB enterprise operator container image | kubedb-autoscaler | | operator.tag | KubeDB enterprise operator container image tag | "" | diff --git a/charts/kubedb-autoscaler/values.yaml b/charts/kubedb-autoscaler/values.yaml index 6edafe27f..4e77b83e7 100644 --- a/charts/kubedb-autoscaler/values.yaml +++ b/charts/kubedb-autoscaler/values.yaml @@ -22,7 +22,7 @@ license: "" updateInterval: 1m # Docker registry fqdn used to pull KubeDB related images. # Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} -registryFQDN: "" +registryFQDN: ghcr.io # Docker registry containing KubeDB images operator: # Docker registry used to pull KubeDB enterprise operator image diff --git a/charts/kubedb-dashboard/README.md b/charts/kubedb-dashboard/README.md index ccf8970b7..14acf128e 100644 --- a/charts/kubedb-dashboard/README.md +++ b/charts/kubedb-dashboard/README.md @@ -51,7 +51,7 @@ The following table lists the configurable parameters of the `kubedb-dashboard` | fullnameOverride | Overrides fullname template | "" | | replicaCount | Number of KubeDB dashboard operator replicas to create (only 1 is supported) | 1 | | license | License for the product. Get a license by following the steps from [here](https://kubedb.run/docs/latest/setup/install/enterprise#get-a-trial-license).
Example:
`helm install appscode/kubedb-dashboard \`
`--set-file license=/path/to/license/file`
`or`
`helm install appscode/kubedb-dashboard \`
`--set license=` | "" | -| registryFQDN | Docker registry fqdn used to pull KubeDB related images Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | "" | +| registryFQDN | Docker registry fqdn used to pull KubeDB related images Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | ghcr.io | | operator.registry | Docker registry used to pull KubeDB dashboard operator image | kubedb | | operator.repository | KubeDB dashboard operator container image | kubedb-dashboard | | operator.tag | KubeDB dashboard operator container image tag | "" | diff --git a/charts/kubedb-dashboard/values.yaml b/charts/kubedb-dashboard/values.yaml index adb647fa1..4f5e863f3 100644 --- a/charts/kubedb-dashboard/values.yaml +++ b/charts/kubedb-dashboard/values.yaml @@ -20,7 +20,7 @@ replicaCount: 1 license: "" # Docker registry fqdn used to pull KubeDB related images # Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} -registryFQDN: "" +registryFQDN: ghcr.io # Docker registry containing KubeDB images operator: # Docker registry used to pull KubeDB dashboard operator image diff --git a/charts/kubedb-ops-manager/README.md b/charts/kubedb-ops-manager/README.md index ea85d64db..27281ecbf 100644 --- a/charts/kubedb-ops-manager/README.md +++ b/charts/kubedb-ops-manager/README.md @@ -51,7 +51,7 @@ The following table lists the configurable parameters of the `kubedb-ops-manager | fullnameOverride | Overrides fullname template | "" | | replicaCount | Number of KubeDB operator replicas to create (only 1 is supported) | 1 | | license | License for the product. Get a license by following the steps from [here](https://stash.run/docs/latest/setup/install/enterprise#get-a-trial-license).
Example:
`helm install appscode/kubedb-ops-manager \`
`--set-file license=/path/to/license/file`
`or`
`helm install appscode/kubedb-ops-manager \`
`--set license=` | "" | -| registryFQDN | Docker registry fqdn used to pull KubeDB related images Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | "" | +| registryFQDN | Docker registry fqdn used to pull KubeDB related images Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | ghcr.io | | operator.registry | Docker registry used to pull KubeDB ops manager image | kubedb | | operator.repository | KubeDB ops manager container image | kubedb-ops-manager | | operator.tag | KubeDB ops manager container image tag | "" | diff --git a/charts/kubedb-ops-manager/values.yaml b/charts/kubedb-ops-manager/values.yaml index efa632a22..f26618062 100644 --- a/charts/kubedb-ops-manager/values.yaml +++ b/charts/kubedb-ops-manager/values.yaml @@ -20,7 +20,7 @@ replicaCount: 1 license: "" # Docker registry fqdn used to pull KubeDB related images # Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} -registryFQDN: "" +registryFQDN: ghcr.io # Docker registry containing KubeDB images operator: # Docker registry used to pull KubeDB ops manager image diff --git a/charts/kubedb-opscenter/README.md b/charts/kubedb-opscenter/README.md index a88549770..2552d3a59 100644 --- a/charts/kubedb-opscenter/README.md +++ b/charts/kubedb-opscenter/README.md @@ -45,23 +45,23 @@ The command removes all the Kubernetes components associated with the chart and The following table lists the configurable parameters of the `kubedb-opscenter` chart and their default values. -| Parameter | Description | Default | -|-----------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------| -| global.license | License for the product. Get a license by following the steps from [here](https://kubedb.com/docs/latest/setup/install/enterprise#get-a-trial-license).
Example:
`helm install appscode/kubedb \`
`--set-file global.license=/path/to/license/file`
`or`
`helm install appscode/kubedb \`
`--set global.license=` | "" | -| global.registry | Docker registry used to pull KubeDB related images | "" | -| global.registryFQDN | Docker registry fqdn used to pull KubeDB related images. Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | "" | -| global.imagePullSecrets | Specify an array of imagePullSecrets. Secrets must be manually created in the namespace.
Example:
`helm template charts/kubedb \`
`--set global.imagePullSecrets[0].name=sec0 \`
`--set global.imagePullSecrets[1].name=sec1` | [] | -| global.monitoring.agent | Name of monitoring agent (one of "prometheus.io", "prometheus.io/operator", "prometheus.io/builtin") | "" | -| global.monitoring.serviceMonitor.labels | Specify the labels for ServiceMonitor. Prometheus crd will select ServiceMonitor using these labels. Only usable when monitoring agent is `prometheus.io/operator`. | {} | -| kubedb-metrics.enabled | If enabled, installs the kubedb-metrics chart | true | -| kubedb-ui-server.enabled | If enabled, installs the kubedb-ui-server chart | true | -| kubedb-grafana-dashboards.enabled | If enabled, installs the kubedb-grafana-dashboards chart | true | +| Parameter | Description | Default | +|-----------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------| +| global.license | License for the product. Get a license by following the steps from [here](https://kubedb.com/docs/latest/setup/install/enterprise#get-a-trial-license).
Example:
`helm install appscode/kubedb \`
`--set-file global.license=/path/to/license/file`
`or`
`helm install appscode/kubedb \`
`--set global.license=` | "" | +| global.registry | Docker registry used to pull KubeDB related images | "" | +| global.registryFQDN | Docker registry fqdn used to pull KubeDB related images. Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | ghcr.io | +| global.imagePullSecrets | Specify an array of imagePullSecrets. Secrets must be manually created in the namespace.
Example:
`helm template charts/kubedb \`
`--set global.imagePullSecrets[0].name=sec0 \`
`--set global.imagePullSecrets[1].name=sec1` | [] | +| global.monitoring.agent | Name of monitoring agent (one of "prometheus.io", "prometheus.io/operator", "prometheus.io/builtin") | "" | +| global.monitoring.serviceMonitor.labels | Specify the labels for ServiceMonitor. Prometheus crd will select ServiceMonitor using these labels. Only usable when monitoring agent is `prometheus.io/operator`. | {} | +| kubedb-metrics.enabled | If enabled, installs the kubedb-metrics chart | true | +| kubedb-ui-server.enabled | If enabled, installs the kubedb-ui-server chart | true | +| kubedb-grafana-dashboards.enabled | If enabled, installs the kubedb-grafana-dashboards chart | true | Specify each parameter using the `--set key=value[,key=value]` argument to `helm upgrade -i`. For example: ```bash -$ helm upgrade -i kubedb-opscenter appscode/kubedb-opscenter -n kubedb --create-namespace --version=v2022.12.28 --set -- generate from values file -- +$ helm upgrade -i kubedb-opscenter appscode/kubedb-opscenter -n kubedb --create-namespace --version=v2022.12.28 --set global.registryFQDN=ghcr.io ``` Alternatively, a YAML file that specifies the values for the parameters can be provided while diff --git a/charts/kubedb-opscenter/values.yaml b/charts/kubedb-opscenter/values.yaml index 2e4705974..e24fc3e98 100644 --- a/charts/kubedb-opscenter/values.yaml +++ b/charts/kubedb-opscenter/values.yaml @@ -18,7 +18,7 @@ global: # Docker registry fqdn used to pull KubeDB related images. # Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} - registryFQDN: "" + registryFQDN: ghcr.io # Specify an array of imagePullSecrets. # Secrets must be manually created in the namespace. diff --git a/charts/kubedb-provisioner/README.md b/charts/kubedb-provisioner/README.md index 8b5aab774..da1f41a44 100644 --- a/charts/kubedb-provisioner/README.md +++ b/charts/kubedb-provisioner/README.md @@ -51,7 +51,7 @@ The following table lists the configurable parameters of the `kubedb-provisioner | fullnameOverride | Overrides fullname template | "" | | replicaCount | Number of KubeDB operator replicas to create (only 1 is supported) | 1 | | license | License for the product. Get a license by following the steps from [here](https://kubedb.run/docs/latest/setup/install/enterprise#get-a-trial-license).
Example:
`helm install appscode/kubedb-ops-manager \`
`--set-file license=/path/to/license/file`
`or`
`helm install appscode/kubedb-ops-manager \`
`--set license=` | "" | -| registryFQDN | Docker registry fqdn used to pull KubeDB related images Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | "" | +| registryFQDN | Docker registry fqdn used to pull KubeDB related images Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | ghcr.io | | operator.registry | Docker registry used to pull KubeDB operator image | kubedb | | operator.repository | KubeDB operator container image | kubedb-provisioner | | operator.tag | KubeDB operator container image tag | "" | diff --git a/charts/kubedb-provisioner/values.yaml b/charts/kubedb-provisioner/values.yaml index cd6405a15..faecd78e6 100644 --- a/charts/kubedb-provisioner/values.yaml +++ b/charts/kubedb-provisioner/values.yaml @@ -20,7 +20,7 @@ replicaCount: 1 license: "" # Docker registry fqdn used to pull KubeDB related images # Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} -registryFQDN: "" +registryFQDN: ghcr.io # Docker registry containing KubeDB images operator: # Docker registry used to pull KubeDB operator image diff --git a/charts/kubedb-schema-manager/README.md b/charts/kubedb-schema-manager/README.md index 481118690..dd9b2484f 100644 --- a/charts/kubedb-schema-manager/README.md +++ b/charts/kubedb-schema-manager/README.md @@ -51,7 +51,7 @@ The following table lists the configurable parameters of the `kubedb-schema-mana | fullnameOverride | Overrides fullname template | "" | | replicaCount | Number of KubeDB schema manager replicas to create (only 1 is supported) | 1 | | license | License for the product. Get a license by following the steps from [here](https://kubedb.run/docs/latest/setup/install/enterprise#get-a-trial-license).
Example:
`helm install appscode/kubedb-schema-manager \`
`--set-file license=/path/to/license/file`
`or`
`helm install appscode/kubedb-schema-manager \`
`--set license=` | "" | -| registryFQDN | Docker registry fqdn used to pull KubeDB related images Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | "" | +| registryFQDN | Docker registry fqdn used to pull KubeDB related images Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | ghcr.io | | operator.registry | Docker registry used to pull KubeDB schema manager image | kubedb | | operator.repository | KubeDB schema manager container image | kubedb-schema-manager | | operator.tag | KubeDB schema manager container image tag | "" | diff --git a/charts/kubedb-schema-manager/values.yaml b/charts/kubedb-schema-manager/values.yaml index d2c0e18f0..f1aa2da7f 100644 --- a/charts/kubedb-schema-manager/values.yaml +++ b/charts/kubedb-schema-manager/values.yaml @@ -20,7 +20,7 @@ replicaCount: 1 license: "" # Docker registry fqdn used to pull KubeDB related images # Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} -registryFQDN: "" +registryFQDN: ghcr.io # Docker registry containing KubeDB images operator: # Docker registry used to pull KubeDB schema manager image diff --git a/charts/kubedb-ui-server/README.md b/charts/kubedb-ui-server/README.md index 30cdae1f6..13b189df0 100644 --- a/charts/kubedb-ui-server/README.md +++ b/charts/kubedb-ui-server/README.md @@ -50,7 +50,7 @@ The following table lists the configurable parameters of the `kubedb-ui-server` | nameOverride | Overrides name template | "" | | fullnameOverride | Overrides fullname template | "" | | replicaCount | Number of UI Server replicas to create (only 1 is supported) | 1 | -| registryFQDN | Docker registry fqdn used to pull KubeDB related images Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | "" | +| registryFQDN | Docker registry fqdn used to pull KubeDB related images Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | ghcr.io | | image.registry | Docker registry used to pull operator image | kubedb | | image.repository | Name of operator container image | kubedb-ui-server | | image.tag | Operator container image tag | "" | diff --git a/charts/kubedb-ui-server/values.yaml b/charts/kubedb-ui-server/values.yaml index 90a27bb9b..e1377fddc 100644 --- a/charts/kubedb-ui-server/values.yaml +++ b/charts/kubedb-ui-server/values.yaml @@ -10,7 +10,7 @@ fullnameOverride: "" replicaCount: 1 # Docker registry fqdn used to pull KubeDB related images # Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} -registryFQDN: "" +registryFQDN: ghcr.io image: # Docker registry used to pull operator image registry: kubedb diff --git a/charts/kubedb-webhook-server/README.md b/charts/kubedb-webhook-server/README.md index 6e1d7ae1f..bce1c145a 100644 --- a/charts/kubedb-webhook-server/README.md +++ b/charts/kubedb-webhook-server/README.md @@ -51,7 +51,7 @@ The following table lists the configurable parameters of the `kubedb-webhook-ser | fullnameOverride | Overrides fullname template | "" | | replicaCount | Number of KubeDB webhook server replicas to create (only 1 is supported) | 1 | | license | License for the product. Get a license by following the steps from [here](https://kubedb.run/docs/latest/setup/install/enterprise#get-a-trial-license).
Example:
`helm install appscode/kubedb-ops-manager \`
`--set-file license=/path/to/license/file`
`or`
`helm install appscode/kubedb-ops-manager \`
`--set license=` | "" | -| registryFQDN | Docker registry fqdn used to pull KubeDB related images Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | "" | +| registryFQDN | Docker registry fqdn used to pull KubeDB related images Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | ghcr.io | | server.registry | Docker registry used to pull KubeDB webhook server image | kubedb | | server.repository | KubeDB webhook server container image | kubedb-webhook-server | | server.tag | KubeDB webhook server container image tag | "" | diff --git a/charts/kubedb-webhook-server/values.yaml b/charts/kubedb-webhook-server/values.yaml index 82f759b73..e6e7862e2 100644 --- a/charts/kubedb-webhook-server/values.yaml +++ b/charts/kubedb-webhook-server/values.yaml @@ -20,7 +20,7 @@ replicaCount: 1 license: "" # Docker registry fqdn used to pull KubeDB related images # Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} -registryFQDN: "" +registryFQDN: ghcr.io # Docker registry containing KubeDB images server: # Docker registry used to pull KubeDB webhook server image