Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operator release v6.0.2 #2261

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ for [kustomize](https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kusto
use that to install MiniO Operator.

```sh
kubectl kustomize github.com/minio/operator\?ref=v6.0.1
kubectl kustomize github.com/minio/operator\?ref=v6.0.2
```

Run the following command to verify the status of the Operator:
Expand Down
4 changes: 2 additions & 2 deletions docs/job_crd.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
[id="{p}-api-reference"]
== API Reference

:minio-image: https://hub.docker.com/r/minio/minio/tags[minio/minio:RELEASE.2024-07-16T23-46-41Z]
:minio-image: https://hub.docker.com/r/minio/minio/tags[minio/minio:RELEASE.2024-08-03T04-33-23Z]
:kes-image: https://hub.docker.com/r/minio/kes/tags[minio/kes:2024-06-17T15-47-05Z]
:mc-image: https://hub.docker.com/r/minio/mc/tags[minio/mc:RELEASE.2024-07-16T23-46-41Z]
:mc-image: https://hub.docker.com/r/minio/mc/tags[minio/mc:RELEASE.2024-08-03T04-33-23Z]


[id="{anchor_prefix}-job-min-io-v1alpha1"]
Expand Down
4 changes: 2 additions & 2 deletions docs/policybinding_crd.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
[id="{p}-api-reference"]
== API Reference

:minio-image: https://hub.docker.com/r/minio/minio/tags[minio/minio:RELEASE.2024-07-16T23-46-41Z]
:minio-image: https://hub.docker.com/r/minio/minio/tags[minio/minio:RELEASE.2024-08-03T04-33-23Z]
:kes-image: https://hub.docker.com/r/minio/kes/tags[minio/kes:2024-06-17T15-47-05Z]
:mc-image: https://hub.docker.com/r/minio/mc/tags[minio/mc:RELEASE.2024-07-16T23-46-41Z]
:mc-image: https://hub.docker.com/r/minio/mc/tags[minio/mc:RELEASE.2024-08-03T04-33-23Z]


[id="{anchor_prefix}-sts-min-io-v1beta1"]
Expand Down
4 changes: 2 additions & 2 deletions docs/templates/asciidoctor/gv_list.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
[id="{p}-api-reference"]
== API Reference

:minio-image: https://hub.docker.com/r/minio/minio/tags[minio/minio:RELEASE.2024-07-16T23-46-41Z]
:minio-image: https://hub.docker.com/r/minio/minio/tags[minio/minio:RELEASE.2024-08-03T04-33-23Z]
:kes-image: https://hub.docker.com/r/minio/kes/tags[minio/kes:2024-06-17T15-47-05Z]
:mc-image: https://hub.docker.com/r/minio/mc/tags[minio/mc:RELEASE.2024-07-16T23-46-41Z]
:mc-image: https://hub.docker.com/r/minio/mc/tags[minio/mc:RELEASE.2024-08-03T04-33-23Z]

{{ range $groupVersions }}
{{ template "gvDetails" . }}
Expand Down
7 changes: 5 additions & 2 deletions docs/tenant_crd.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
[id="{p}-api-reference"]
== API Reference

:minio-image: https://hub.docker.com/r/minio/minio/tags[minio/minio:RELEASE.2024-07-16T23-46-41Z]
:minio-image: https://hub.docker.com/r/minio/minio/tags[minio/minio:RELEASE.2024-08-03T04-33-23Z]
:kes-image: https://hub.docker.com/r/minio/kes/tags[minio/kes:2024-06-17T15-47-05Z]
:mc-image: https://hub.docker.com/r/minio/mc/tags[minio/mc:RELEASE.2024-07-16T23-46-41Z]
:mc-image: https://hub.docker.com/r/minio/mc/tags[minio/mc:RELEASE.2024-08-03T04-33-23Z]


[id="{anchor_prefix}-minio-min-io-v2"]
Expand Down Expand Up @@ -1063,6 +1063,9 @@ If `requestAutoCert` is set to `false` *and* `externalCertSecret` is omitted, th

See the https://min.io/docs/minio/kubernetes/upstream/operations/install-deploy-manage/deploy-minio-tenant.html#create-tenant-security-section[MinIO Operator CRD] reference for examples and more complete documentation on configuring TLS for MinIO Tenants.

|*`certExpiryAlertThreshold`* __integer__
|CertExpiryAlertThreshold is the minimum number of days to expiry before an alert for an expiring certificate is fired.

|*`liveness`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#probe-v1-core[$$Probe$$]__
|Liveness Probe for container liveness. Container will be restarted if the probe fails.

Expand Down
74 changes: 1 addition & 73 deletions examples/kustomization/base/tenant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ spec:
## https://github.com/minio/minio/tree/master/docs/tls/kubernetes#2-create-kubernetes-secret
externalClientCertSecrets: [ ]
## Registry location and Tag to download MinIO Server image
image: quay.io/minio/minio:RELEASE.2024-07-16T23-46-41Z
image: quay.io/minio/minio:RELEASE.2024-08-03T04-33-23Z
imagePullSecret: { }
## Mount path where PV will be mounted inside container(s).
mountPath: /export
Expand Down Expand Up @@ -227,80 +227,8 @@ spec:
# The minimum number of days to expiry before an alert for an expiring certificate is fired.
# In the below example, if a given certificate will expire in 7 days then expiration events will only be triggered 1 day before expiry
# certExpiryAlertThreshold: 1
## Prometheus setup for MinIO Tenant.
# prometheus:
# image: "" # defaults to quay.io/prometheus/prometheus:RELEASE.2024-07-16T23-46-41Z
# env: [ ]
# sidecarimage: "" # defaults to alpine
# initimage: "" # defaults to busybox:1.33.1
# diskCapacityGB: 1
# storageClassName: standard
# annotations: { }
# labels: { }
# nodeSelector: { }
# affinity:
# nodeAffinity: { }
# podAffinity: { }
# podAntiAffinity: { }
# resources: { }
# serviceAccountName: ""
# securityContext:
# runAsUser: 1000
# runAsGroup: 1000
# runAsNonRoot: true
# fsGroup: 1000
## Prometheus Operator's Service Monitor for MinIO Tenant Pods.
# prometheusOperator:
# labels:
# app: minio-sm
## Audit Logs will be deprecated soon, commenting out for now!.
## LogSearch API setup for MinIO Tenant.
# log:
# image: "" # defaults to minio/operator:v6.0.1
# env: [ ]
# resources: { }
# nodeSelector: { }
# affinity:
# nodeAffinity: { }
# podAffinity: { }
# podAntiAffinity: { }
# tolerations: [ ]
# annotations: { }
# labels: { }
# audit:
# diskCapacityGB: 1
# ## Postgres setup for LogSearch API
# db:
# image: "" # defaults to library/postgres
# env: [ ]
# initimage: "" # defaults to busybox:1.33.1
# volumeClaimTemplate:
# metadata: { }
# spec:
# storageClassName: standard
# accessModes:
# - ReadWriteOnce
# resources:
# requests:
# storage: 1Gi
# resources: { }
# nodeSelector: { }
# affinity:
# nodeAffinity: { }
# podAffinity: { }
# podAntiAffinity: { }
# tolerations: [ ]
# annotations: { }
# labels: { }
# serviceAccountName: ""
# securityContext:
# runAsUser: 999
# runAsGroup: 999
# runAsNonRoot: true
# fsGroup: 999
# serviceAccountName: ""
# securityContext:
# runAsUser: 1000
# runAsGroup: 1000
# runAsNonRoot: true
# fsGroup: 1000
4 changes: 2 additions & 2 deletions helm/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: operator
version: 6.0.1
appVersion: v6.0.1
version: 6.0.2
appVersion: v6.0.2
keywords:
- storage
- object-storage
Expand Down
4 changes: 2 additions & 2 deletions helm/operator/templates/job.min.io_jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
operator.min.io/version: v6.0.1
operator.min.io/version: v6.0.2
name: miniojobs.job.min.io
spec:
group: job.min.io
Expand Down Expand Up @@ -1080,7 +1080,7 @@ spec:
x-kubernetes-map-type: atomic
type: array
mcImage:
default: quay.io/minio/mc:RELEASE.2024-07-16T23-46-41Z
default: quay.io/minio/mc:RELEASE.2024-07-31T15-58-33Z
type: string
securityContext:
properties:
Expand Down
2 changes: 1 addition & 1 deletion helm/operator/templates/minio.min.io_tenants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
operator.min.io/version: v6.0.1
operator.min.io/version: v6.0.2
name: tenants.minio.min.io
spec:
group: minio.min.io
Expand Down
2 changes: 1 addition & 1 deletion helm/operator/templates/sts.min.io_policybindings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
operator.min.io/version: v6.0.1
operator.min.io/version: v6.0.2
name: policybindings.sts.min.io
spec:
group: sts.min.io
Expand Down
10 changes: 5 additions & 5 deletions helm/operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ operator:
###
# Specify the Operator container image to use for the deployment.
# ``image.tag``
# For example, the following sets the image to the ``quay.io/minio/operator`` repo and the v6.0.1 tag.
# For example, the following sets the image to the ``quay.io/minio/operator`` repo and the v6.0.2 tag.
# The container pulls the image if not already present:
#
# .. code-block:: yaml
#
# image:
# repository: quay.io/minio/operator
# tag: v6.0.1
# tag: v6.0.2
# pullPolicy: IfNotPresent
#
# The chart also supports specifying an image based on digest value:
Expand All @@ -53,20 +53,20 @@ operator:
#
image:
repository: quay.io/minio/operator
tag: v6.0.1
tag: v6.0.2
pullPolicy: IfNotPresent
###
# Specify the sidecar container image to deploy on tenant pods for init container and sidecar.
# Only need to change this if want to use a different version that the default, or want to set a custom registry.
# ``sidecarImage.tag``
# For example, the following sets the image to the ``quay.io/minio/operator-sidecar`` repo and the v6.0.1 tag.
# For example, the following sets the image to the ``quay.io/minio/operator-sidecar`` repo and the v6.0.2 tag.
# The container pulls the image if not already present:
#
# .. code-block:: yaml
#
# sidecarImage:
# repository: quay.io/minio/operator-sidecar
# tag: v6.0.1
# tag: v6.0.2
# pullPolicy: IfNotPresent
#
# The chart also supports specifying an image based on digest value:
Expand Down
4 changes: 2 additions & 2 deletions helm/tenant/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: tenant
version: 6.0.1
appVersion: v6.0.1
version: 6.0.2
appVersion: v6.0.2
keywords:
- storage
- object-storage
Expand Down
8 changes: 4 additions & 4 deletions helm/tenant/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
###
# WARNING: '.secrets' is deprecated since v6.0.1 and will be removed in next minor release (i.e. v5.1.0).
# WARNING: '.secrets' is deprecated since v6.0.2 and will be removed in next minor release (i.e. v5.1.0).
# WARNING: Please use '.tenant.configSecret' instead.
# Root key for dynamically creating a secret for use with configuring root MinIO User
# Specify the ``name`` and then a list of environment variables.
Expand Down Expand Up @@ -48,14 +48,14 @@ tenant:
###
# Specify the Operator container image to use for the deployment.
# ``image.tag``
# For example, the following sets the image to the ``quay.io/minio/operator`` repo and the v6.0.1 tag.
# For example, the following sets the image to the ``quay.io/minio/operator`` repo and the v6.0.2 tag.
# The container pulls the image if not already present:
#
# .. code-block:: yaml
#
# image:
# repository: quay.io/minio/minio
# tag: RELEASE.2024-07-16T23-46-41Z
# tag: RELEASE.2024-08-03T04-33-23Z
# pullPolicy: IfNotPresent
#
# The chart also supports specifying an image based on digest value:
Expand All @@ -70,7 +70,7 @@ tenant:
#
image:
repository: quay.io/minio/minio
tag: RELEASE.2024-07-16T23-46-41Z
tag: RELEASE.2024-08-03T04-33-23Z
pullPolicy: IfNotPresent
###
#
Expand Down
4 changes: 2 additions & 2 deletions pkg/apis/job.min.io/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const (
// +kubebuilder:resource:scope=Namespaced,shortName=miniojob,singular=miniojob
// +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase`
// +kubebuilder:printcolumn:name="Message",type=string,JSONPath=`.status.message`
// +kubebuilder:metadata:annotations=operator.min.io/version=v6.0.1
// +kubebuilder:metadata:annotations=operator.min.io/version=v6.0.2

// MinIOJob is a top-level type. A client is created for it
type MinIOJob struct {
Expand Down Expand Up @@ -96,7 +96,7 @@ type MinIOJobSpec struct {

// The Docker image to use when deploying `mc` pods. Defaults to {mc-image}. +
// +optional
// +kubebuilder:default="quay.io/minio/mc:RELEASE.2024-07-16T23-46-41Z"
// +kubebuilder:default="quay.io/minio/mc:RELEASE.2024-07-31T15-58-33Z"
MCImage string `json:"mcImage,omitempty"`

// *Optional* +
Expand Down
4 changes: 2 additions & 2 deletions pkg/apis/minio.min.io/v2/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const MinIOVolumeMountPath = "/export"
const MinIOVolumeSubPath = ""

// DefaultMinIOImage specifies the default MinIO Docker hub image
const DefaultMinIOImage = "minio/minio:RELEASE.2024-07-16T23-46-41Z"
const DefaultMinIOImage = "minio/minio:RELEASE.2024-08-03T04-33-23Z"

// DefaultMinIOUpdateURL specifies the default MinIO URL where binaries are
// pulled from during MinIO upgrades
Expand Down Expand Up @@ -134,7 +134,7 @@ const ConsoleAdminPolicyName = "consoleAdmin"

// KES Related Constants

// DefaultKESImage specifies the RELEASE.2024-07-16T23-46-41Z KES Docker hub image
// DefaultKESImage specifies the 2024-06-17T15-47-05Z KES Docker hub image
const DefaultKESImage = "minio/kes:2024-06-17T15-47-05Z"

// KESInstanceLabel is applied to the KES pods of a Tenant cluster
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/minio.min.io/v2/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
// +kubebuilder:printcolumn:name="State",type="string",JSONPath=".status.currentState"
// +kubebuilder:printcolumn:name="Health",type="string",JSONPath=".status.healthStatus"
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
// +kubebuilder:metadata:annotations=operator.min.io/version=v6.0.1
// +kubebuilder:metadata:annotations=operator.min.io/version=v6.0.2
// +kubebuilder:storageversion
type Tenant struct {
metav1.TypeMeta `json:",inline"`
Expand Down
5 changes: 5 additions & 0 deletions pkg/apis/minio.min.io/v2/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/apis/sts.min.io/v1beta1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
// +kubebuilder:resource:scope=Namespaced,shortName=policybinding,singular=policybinding
// +kubebuilder:printcolumn:name="State",type="string",JSONPath=".status.currentState"
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
// +kubebuilder:metadata:annotations=operator.min.io/version=v6.0.1
// +kubebuilder:metadata:annotations=operator.min.io/version=v6.0.2
// +kubebuilder:storageversion
// +groupName=policybinding.sts.min.io
// +versionName=v1beta1
Expand Down
9 changes: 9 additions & 0 deletions pkg/client/applyconfiguration/minio.min.io/v2/tenantspec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/utils/miniojob/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (

const (
// DefaultMCImage - job mc image
DefaultMCImage = "quay.io/minio/mc:latest"
DefaultMCImage = "quay.io/minio/mc:RELEASE.2024-07-31T15-58-33Z"
// MinioJobName - job name
MinioJobName = "job.min.io/job-name"
// MinioJobCRName - job cr name
Expand Down
Loading
Loading