Skip to content

Commit

Permalink
Change Default Image Pull Policy (#596)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvaldivia authored Apr 19, 2021
1 parent 8373953 commit b3454b3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/tenant-tiny.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ spec:
## Define configuration for Console (Graphical user interface for MinIO)
## Refer https://github.com/minio/console
console:
image: minio/console:v0.6.6
image: minio/console:v0.6.7
replicas: 2
consoleSecret:
name: console-secret
Expand Down
2 changes: 1 addition & 1 deletion examples/tenant-with-external-idp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ metadata:
spec:
## Registry location and Tag to download MinIO Server image
image: minio/minio:RELEASE.2021-04-06T23-11-00Z
imagePullPolicy: Always
imagePullPolicy: IfNotPresent

## Secret with credentials to be used by MinIO Tenant.
## Refers to the secret object created above.
Expand Down
4 changes: 2 additions & 2 deletions helm/minio-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ operator:
console:
image:
repository: minio/console
tag: v0.6.6
tag: v0.6.7
pullPolicy: IfNotPresent
replicaCount: 1
resources: {}
Expand Down Expand Up @@ -114,7 +114,7 @@ tenants:
console:
image:
repository: minio/console
tag: v0.6.6
tag: v0.6.7
pullPolicy: IfNotPresent
replicaCount: 1
secrets:
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/minio.min.io/v1/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const DefaultPodManagementPolicy = appsv1.ParallelPodManagement
const DefaultUpdateStrategy = "RollingUpdate"

// DefaultImagePullPolicy specifies the policy to image pulls
const DefaultImagePullPolicy = corev1.PullAlways
const DefaultImagePullPolicy = corev1.PullIfNotPresent

// CSRNameSuffix specifies the suffix added to Tenant name to create a CSR
const CSRNameSuffix = "-csr"
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/minio.min.io/v2/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const DefaultPodManagementPolicy = appsv1.ParallelPodManagement
const DefaultUpdateStrategy = "RollingUpdate"

// DefaultImagePullPolicy specifies the policy to image pulls
const DefaultImagePullPolicy = corev1.PullAlways
const DefaultImagePullPolicy = corev1.PullIfNotPresent

// CSRNameSuffix specifies the suffix added to Tenant name to create a CSR
const CSRNameSuffix = "-csr"
Expand Down

0 comments on commit b3454b3

Please sign in to comment.