Merge pull request #4313 from chaosi-zju/image-policy
unify image pull policy by helm to be same as other installation method
This commit is contained in:
commit
1c10def029
|
@ -19,6 +19,10 @@ global:
|
||||||
## for more details about yaml anchors and aliases.
|
## for more details about yaml anchors and aliases.
|
||||||
karmadaImageVersion: &karmadaImageVersion latest
|
karmadaImageVersion: &karmadaImageVersion latest
|
||||||
|
|
||||||
|
## Specify the imagePullPolicy of karmada images
|
||||||
|
## Defaults to 'IfNotPresent', you can set to 'Always' in cases of special needs
|
||||||
|
karmadaImagePullPolicy: &karmadaImagePullPolicy IfNotPresent
|
||||||
|
|
||||||
podDisruptionBudget: &podDisruptionBudget {}
|
podDisruptionBudget: &podDisruptionBudget {}
|
||||||
# maxUnavailable: 20%
|
# maxUnavailable: 20%
|
||||||
|
|
||||||
|
@ -50,10 +54,8 @@ cfssl:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: cfssl/cfssl
|
repository: cfssl/cfssl
|
||||||
tag: latest
|
tag: latest
|
||||||
## Specify a imagePullPolicy
|
## Specify a imagePullPolicy, defaults to 'IfNotPresent'
|
||||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
pullPolicy: IfNotPresent
|
||||||
##
|
|
||||||
pullPolicy: Always
|
|
||||||
|
|
||||||
kubectl:
|
kubectl:
|
||||||
## @param image.registry karmada kubectl image registry
|
## @param image.registry karmada kubectl image registry
|
||||||
|
@ -64,10 +66,8 @@ kubectl:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: bitnami/kubectl
|
repository: bitnami/kubectl
|
||||||
tag: latest
|
tag: latest
|
||||||
## Specify a imagePullPolicy
|
## Specify a imagePullPolicy, defaults to 'IfNotPresent'
|
||||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
pullPolicy: IfNotPresent
|
||||||
##
|
|
||||||
pullPolicy: Always
|
|
||||||
|
|
||||||
## pre-install job config
|
## pre-install job config
|
||||||
preInstallJob:
|
preInstallJob:
|
||||||
|
@ -160,10 +160,7 @@ scheduler:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: karmada/karmada-scheduler
|
repository: karmada/karmada-scheduler
|
||||||
tag: *karmadaImageVersion
|
tag: *karmadaImageVersion
|
||||||
## Specify a imagePullPolicy
|
pullPolicy: *karmadaImagePullPolicy
|
||||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
|
||||||
##
|
|
||||||
pullPolicy: Always
|
|
||||||
## Optionally specify an array of imagePullSecrets.
|
## Optionally specify an array of imagePullSecrets.
|
||||||
## Secrets must be manually created in the namespace.
|
## Secrets must be manually created in the namespace.
|
||||||
## Example:
|
## Example:
|
||||||
|
@ -219,10 +216,7 @@ webhook:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: karmada/karmada-webhook
|
repository: karmada/karmada-webhook
|
||||||
tag: *karmadaImageVersion
|
tag: *karmadaImageVersion
|
||||||
## Specify a imagePullPolicy
|
pullPolicy: *karmadaImagePullPolicy
|
||||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
|
||||||
##
|
|
||||||
pullPolicy: Always
|
|
||||||
## Optionally specify an array of imagePullSecrets.
|
## Optionally specify an array of imagePullSecrets.
|
||||||
## Secrets must be manually created in the namespace.
|
## Secrets must be manually created in the namespace.
|
||||||
## Example:
|
## Example:
|
||||||
|
@ -278,10 +272,7 @@ controllerManager:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: karmada/karmada-controller-manager
|
repository: karmada/karmada-controller-manager
|
||||||
tag: *karmadaImageVersion
|
tag: *karmadaImageVersion
|
||||||
## Specify a imagePullPolicy
|
pullPolicy: *karmadaImagePullPolicy
|
||||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
|
||||||
##
|
|
||||||
pullPolicy: Always
|
|
||||||
## Optionally specify an array of imagePullSecrets.
|
## Optionally specify an array of imagePullSecrets.
|
||||||
## Secrets must be manually created in the namespace.
|
## Secrets must be manually created in the namespace.
|
||||||
## Example:
|
## Example:
|
||||||
|
@ -346,9 +337,7 @@ apiServer:
|
||||||
registry: registry.k8s.io
|
registry: registry.k8s.io
|
||||||
repository: kube-apiserver
|
repository: kube-apiserver
|
||||||
tag: "v1.25.4"
|
tag: "v1.25.4"
|
||||||
## Specify a imagePullPolicy
|
## Specify a imagePullPolicy, defaults to 'IfNotPresent'
|
||||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
|
||||||
##
|
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
## Optionally specify an array of imagePullSecrets.
|
## Optionally specify an array of imagePullSecrets.
|
||||||
## Secrets must be manually created in the namespace.
|
## Secrets must be manually created in the namespace.
|
||||||
|
@ -429,10 +418,7 @@ aggregatedApiServer:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: karmada/karmada-aggregated-apiserver
|
repository: karmada/karmada-aggregated-apiserver
|
||||||
tag: *karmadaImageVersion
|
tag: *karmadaImageVersion
|
||||||
## Specify a imagePullPolicy
|
pullPolicy: *karmadaImagePullPolicy
|
||||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
|
||||||
##
|
|
||||||
pullPolicy: Always
|
|
||||||
## Optionally specify an array of imagePullSecrets.
|
## Optionally specify an array of imagePullSecrets.
|
||||||
## Secrets must be manually created in the namespace.
|
## Secrets must be manually created in the namespace.
|
||||||
## Example:
|
## Example:
|
||||||
|
@ -551,9 +537,7 @@ kubeControllerManager:
|
||||||
registry: registry.k8s.io
|
registry: registry.k8s.io
|
||||||
repository: kube-controller-manager
|
repository: kube-controller-manager
|
||||||
tag: "v1.25.4"
|
tag: "v1.25.4"
|
||||||
## Specify a imagePullPolicy
|
## Specify a imagePullPolicy, defaults to 'IfNotPresent'
|
||||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
|
||||||
##
|
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
## Optionally specify an array of imagePullSecrets.
|
## Optionally specify an array of imagePullSecrets.
|
||||||
## Secrets must be manually created in the namespace.
|
## Secrets must be manually created in the namespace.
|
||||||
|
@ -647,9 +631,7 @@ etcd:
|
||||||
registry: registry.k8s.io
|
registry: registry.k8s.io
|
||||||
repository: etcd
|
repository: etcd
|
||||||
tag: "3.5.9-0"
|
tag: "3.5.9-0"
|
||||||
## Specify a imagePullPolicy
|
## Specify a imagePullPolicy, defaults to 'IfNotPresent'
|
||||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
|
||||||
##
|
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
## @param etcd.internal.storageType storage type for etcd data
|
## @param etcd.internal.storageType storage type for etcd data
|
||||||
## "pvc" means using volumeClaimTemplates
|
## "pvc" means using volumeClaimTemplates
|
||||||
|
@ -721,10 +703,7 @@ agent:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: karmada/karmada-agent
|
repository: karmada/karmada-agent
|
||||||
tag: *karmadaImageVersion
|
tag: *karmadaImageVersion
|
||||||
## Specify a imagePullPolicy
|
pullPolicy: *karmadaImagePullPolicy
|
||||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
|
||||||
##
|
|
||||||
pullPolicy: Always
|
|
||||||
## Optionally specify an array of imagePullSecrets.
|
## Optionally specify an array of imagePullSecrets.
|
||||||
## Secrets must be manually created in the namespace.
|
## Secrets must be manually created in the namespace.
|
||||||
## Example:
|
## Example:
|
||||||
|
@ -801,10 +780,7 @@ schedulerEstimator:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: karmada/karmada-scheduler-estimator
|
repository: karmada/karmada-scheduler-estimator
|
||||||
tag: *karmadaImageVersion
|
tag: *karmadaImageVersion
|
||||||
## Specify a imagePullPolicy
|
pullPolicy: *karmadaImagePullPolicy
|
||||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
|
||||||
##
|
|
||||||
pullPolicy: Always
|
|
||||||
## Optionally specify an array of imagePullSecrets.
|
## Optionally specify an array of imagePullSecrets.
|
||||||
## Secrets must be manually created in the namespace.
|
## Secrets must be manually created in the namespace.
|
||||||
## Example:
|
## Example:
|
||||||
|
@ -860,10 +836,7 @@ descheduler:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: karmada/karmada-descheduler
|
repository: karmada/karmada-descheduler
|
||||||
tag: *karmadaImageVersion
|
tag: *karmadaImageVersion
|
||||||
## Specify a imagePullPolicy
|
pullPolicy: *karmadaImagePullPolicy
|
||||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
|
||||||
##
|
|
||||||
pullPolicy: Always
|
|
||||||
## Optionally specify an array of imagePullSecrets.
|
## Optionally specify an array of imagePullSecrets.
|
||||||
## Secrets must be manually created in the namespace.
|
## Secrets must be manually created in the namespace.
|
||||||
## Example:
|
## Example:
|
||||||
|
@ -921,10 +894,7 @@ search:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: karmada/karmada-search
|
repository: karmada/karmada-search
|
||||||
tag: *karmadaImageVersion
|
tag: *karmadaImageVersion
|
||||||
## Specify a imagePullPolicy
|
pullPolicy: *karmadaImagePullPolicy
|
||||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
|
||||||
##
|
|
||||||
pullPolicy: Always
|
|
||||||
## Optionally specify an array of imagePullSecrets.
|
## Optionally specify an array of imagePullSecrets.
|
||||||
## Secrets must be manually created in the namespace.
|
## Secrets must be manually created in the namespace.
|
||||||
## Example:
|
## Example:
|
||||||
|
|
Loading…
Reference in New Issue