Skip to content

Commit

Permalink
Release v4.3.0 (#878)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
  • Loading branch information
dvaldivia committed Oct 21, 2021
1 parent d03dd8a commit c0d39f4
Show file tree
Hide file tree
Showing 15 changed files with 56 additions and 30 deletions.
2 changes: 1 addition & 1 deletion docs/crd.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:minio-image: https://hub.docker.com/r/minio/minio/tags[minio/minio:RELEASE.2021-10-06T23-36-31Z]
:kes-image: https://hub.docker.com/r/minio/kes/tags[minio/kes:v0.16.1]
:prometheus-image: https://quay.io/prometheus/prometheus:latest[prometheus/prometheus:latest]
:logsearch-image: https://hub.docker.com/r/minio/logsearchapi/tags[minio/logsearchapi:v4.2.14]
:logsearch-image: https://hub.docker.com/r/minio/logsearchapi/tags[minio/logsearchapi:v4.3.0]
:postgres-image: https://github.com/docker-library/postgres[library/postgres]


Expand Down
2 changes: 1 addition & 1 deletion docs/templates/asciidoctor/gv_list.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
:minio-image: https://hub.docker.com/r/minio/minio/tags[minio/minio:RELEASE.2021-10-06T23-36-31Z]
:kes-image: https://hub.docker.com/r/minio/kes/tags[minio/kes:v0.16.1]
:prometheus-image: https://quay.io/prometheus/prometheus:latest[prometheus/prometheus:latest]
:logsearch-image: https://hub.docker.com/r/minio/logsearchapi/tags[minio/logsearchapi:v4.2.14]
:logsearch-image: https://hub.docker.com/r/minio/logsearchapi/tags[minio/logsearchapi:v4.3.0]
:postgres-image: https://github.com/docker-library/postgres[library/postgres]

{{ range $groupVersions }}
Expand Down
2 changes: 1 addition & 1 deletion examples/kustomization/base/tenant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ spec:
# app: minio-sm
## LogSearch API setup for MinIO Tenant.
log:
image: "" # defaults to minio/logsearchapi:v4.2.14
image: "" # defaults to minio/logsearchapi:v4.3.0
resources: {}
nodeSelector: {}
affinity:
Expand Down
Binary file added helm-releases/minio-operator-4.3.0.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions helm/minio-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
description: A Helm chart for MinIO Operator
name: minio-operator
version: 4.2.14
appVersion: v4.2.14
version: 4.3.0
appVersion: v4.3.0
keywords:
- storage
- object-storage
Expand Down
2 changes: 1 addition & 1 deletion helm/minio-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ operator:
# value: ""
image:
repository: minio/operator
tag: v4.2.14
tag: v4.3.0
pullPolicy: IfNotPresent
imagePullSecrets: []
initcontainers: []
Expand Down
21 changes: 21 additions & 0 deletions index.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
apiVersion: v1
entries:
minio-operator:
- apiVersion: v2
appVersion: v4.3.0
created: "2021-10-20T21:55:33.372444-07:00"
description: A Helm chart for MinIO Operator
digest: 52ca8a53360481b54e67912da6a757e060b50b85cece003101e90c16f426f972
home: https://min.io
icon: https://min.io/resources/img/logo/MINIO_wordmark.png
keywords:
- storage
- object-storage
- S3
maintainers:
- email: dev@minio.io
name: MinIO, Inc
name: minio-operator
sources:
- https://github.com/minio/operator
type: application
urls:
- https://operator.min.io/helm-releases/minio-operator-4.3.0.tgz
version: 4.3.0
- apiVersion: v2
appVersion: v4.2.14
created: "2021-10-11T14:22:36.144918665-07:00"
Expand Down
2 changes: 1 addition & 1 deletion kubectl-minio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Creates MinIO Operator Deployment along with MinIO Tenant CRD, Service account,

Options:

- `--image=minio/operator:v4.2.14`
- `--image=minio/operator:v4.3.0`
- `--namespace=minio-operator`
- `--cluster-domain=cluster.local`
- `--namespace-to-watch=default`
Expand Down
2 changes: 1 addition & 1 deletion kubectl-minio/cmd/helpers/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const (
DefaultImagePullPolicy = corev1.PullIfNotPresent

// DefaultOperatorImage is the default operator image to be used
DefaultOperatorImage = "minio/operator:v4.2.14"
DefaultOperatorImage = "minio/operator:v4.3.0"

// DefaultTenantImage is the default MinIO image used while creating tenant
DefaultTenantImage = "minio/minio:RELEASE.2021-10-06T23-36-31Z"
Expand Down
8 changes: 4 additions & 4 deletions manifests/minio-operator.v4.1.2.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ metadata:
},
"podManagementPolicy": "Parallel",
"console": {
"image": "minio/console:v0.10.4",
"image": "minio/console:v0.11.0",
"replicas": 1,
"consoleSecret": {
"name": "console-secret"
Expand All @@ -76,12 +76,12 @@ metadata:
capabilities: "Full Lifecycle"
categories: "Storage, Big Data, AI/Machine Learning"
certified: "false"
containerImage: "minio/operator:v4.2.14"
containerImage: "minio/operator:v4.3.0"
createdAt: 2021-03-17 00:00:00 +00:00
description: " MinIO Operator allows creating distributed MinIO Clusters and manage their lifecycle"
repository: "https://github.com/minio/operator"
support: "MinIO, Inc."
name: minio-operator.v4.2.14
name: minio-operator.v4.3.0
namespace: placeholder
spec:
customresourcedefinitions:
Expand Down Expand Up @@ -202,7 +202,7 @@ spec:
spec:
containers:
-
image: "docker.io/minio/operator:v4.2.14"
image: "docker.io/minio/operator:v4.3.0"
name: minio-operator
serviceAccountName: minio-operator
permissions:
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 @@ -153,7 +153,7 @@ const PrometheusServiceMonitorSecretKey = "token"
// Log related constants

// DefaultLogSearchAPIImage specifies the latest logsearchapi container image
const DefaultLogSearchAPIImage = "minio/logsearchapi:v4.2.14"
const DefaultLogSearchAPIImage = "minio/logsearchapi:v4.3.0"

// LogPgImage specifies the latest Postgres container image
const LogPgImage = "library/postgres:13"
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/cluster/main-controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const (
StatusNotOwned = "Statefulset not controlled by operator"
StatusFailedAlreadyExists = "Another MinIO Tenant already exists in the namespace"
StatusInconsistentMinIOVersions = "Different versions across MinIO Pools"
StatusRestartingMinIO = "Different versions across MinIO Pools"
StatusRestartingMinIO = "Restarting MinIO"
)

// ErrMinIONotReady is the error returned when MinIO is not Ready
Expand Down
33 changes: 19 additions & 14 deletions pkg/resources/statefulsets/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func logVolumeMounts(t *miniov2.Tenant) []corev1.VolumeMount {
func logDbContainer(t *miniov2.Tenant) corev1.Container {
container := corev1.Container{
Name: miniov2.LogPgContainerName,
Image: t.Spec.Log.Db.Image,
Image: miniov2.LogPgImage,
Ports: []corev1.ContainerPort{
{
ContainerPort: miniov2.LogPgPort,
Expand Down Expand Up @@ -207,19 +207,24 @@ func NewForLogDb(t *miniov2.Tenant, serviceName string) *appsv1.StatefulSet {
RunAsNonRoot: &runAsNonRoot,
AllowPrivilegeEscalation: &allowPrivilegeEscalation,
}
initContainers = []corev1.Container{
{
Name: "postgres-init-chown-data",
Image: t.Spec.Log.Db.InitImage,
Command: []string{
"chown",
"-R",
fmt.Sprintf("%s:%s", strconv.FormatInt(*dbPod.Spec.SecurityContext.RunAsUser, 10), strconv.FormatInt(*dbPod.Spec.SecurityContext.RunAsGroup, 10)),
"/var/lib/postgresql/data",
},
SecurityContext: &initContainerSecurityContext,
VolumeMounts: logVolumeMounts(t),
},

if t.Spec.Log != nil && t.Spec.Log.Db != nil {
if t.Spec.Log.Db.InitImage != "" {
initContainers = []corev1.Container{
{
Name: "postgres-init-chown-data",
Image: t.Spec.Log.Db.InitImage,
Command: []string{
"chown",
"-R",
fmt.Sprintf("%s:%s", strconv.FormatInt(*dbPod.Spec.SecurityContext.RunAsUser, 10), strconv.FormatInt(*dbPod.Spec.SecurityContext.RunAsGroup, 10)),
"/var/lib/postgresql/data",
},
SecurityContext: &initContainerSecurityContext,
VolumeMounts: logVolumeMounts(t),
},
}
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion resources/base/console-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ spec:
env:
- name: CONSOLE_OPERATOR_MODE
value: "on"
image: minio/console:v0.10.4
image: minio/console:v0.11.0
imagePullPolicy: IfNotPresent
name: console
securityContext:
Expand Down
2 changes: 1 addition & 1 deletion resources/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
serviceAccountName: minio-operator
containers:
- name: minio-operator
image: minio/operator:v4.2.14
image: minio/operator:v4.3.0
imagePullPolicy: IfNotPresent
resources:
requests:
Expand Down

0 comments on commit c0d39f4

Please sign in to comment.