Skip to content

Commit

Permalink
upgrade minio operator to v4.4.9 (#841)
Browse files Browse the repository at this point in the history
Signed-off-by: soulseen <zhuxiaoyang1996@gmail.com>
  • Loading branch information
soulseen committed Mar 10, 2022
1 parent cb123f6 commit 96639f9
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 22 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Versions of the underlying components are listed below:

| Components | Harbor | MinIO operator | PostgreSQL operator | Redis operator |
|---------------|-------------------|----------------|---------------------|----------------|
| Versions | 2.4.x `[1]` | 4.3.2 | 1.6.3 | 1.1.1 |
| Versions | 2.4.x `[1]` | 4.4.9 | 1.6.3 | 1.1.1 |

NOTES:

Expand Down
1 change: 1 addition & 0 deletions charts/harbor-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Deploy Harbor Operator
| leaderElection.namespace | string | `"kube-system"` | The namespace used to store the ConfigMap for leader election |
| logLevel | int | `4` | Set the verbosity of controller. Range of 0 - 6 with 6 being the most verbose. Info level is 4. |
| minio-operator.enabled | bool | `false` | Whether to enabled [MinIO Operator](https://github.com/minio/operator) |
| minio-operator.image.tag | string | `"v4.4.9"` | |
| nameOverride | string | `""` | |
| nodeSelector | object | `{}` | Expects input structure as per specification <https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#nodeselector-v1-core> For example: `[ { "matchExpressions": [ { "key": "kubernetes.io/e2e-az-name", "operator": "In", "values": [ "e2e-az1", "e2e-az2" ] } ] } ]` |
| podAnnotations | object | `{}` | Additional annotations to add to the controller Pods |
Expand Down
2 changes: 2 additions & 0 deletions charts/harbor-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ redis-operator:
minio-operator:
# minio-operator.enabled -- Whether to enabled [MinIO Operator](https://github.com/minio/operator)
enabled: false
image:
tag: v4.4.9

postgres-operator:
# postgres-operator.enabled -- Whether to enabled [Postgres operator](https://github.com/zalando/postgres-operator)
Expand Down
4 changes: 2 additions & 2 deletions docs/installation/kustomization-custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ kubectl delete -f https://raw.githubusercontent.com/spotahome/redis-operator/mas

## Deploy Minio operator (Optional)

Follow the installation guide shown [here](https://github.com/minio/operator/tree/v4.3.2#1-install-the-minio-operator) to install the Minio operator.
Follow the installation guide shown [here](https://github.com/minio/operator/tree/v4.4.9#deploy-the-minio-operator-and-create-a-tenant) to install the Minio operator.

Or use the Minio kustomization template:

```shell
# Clone the codebase.
git clone https://github.com/minio/operator.git && \
cd operator && \
git checkout tags/v4.3.2 -b minio-v4.3.2
git checkout tags/v4.4.9 -b minio-v4.4.9

# Apply with the kustomization template that is located the root dir of the codebase.
kustomize build | kubectl apply -f -
Expand Down
52 changes: 35 additions & 17 deletions manifests/cluster/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26382,8 +26382,6 @@ spec:
properties:
bucketDNS:
type: boolean
required:
- bucketDNS
type: object
securityContext:
properties:
Expand Down Expand Up @@ -28325,6 +28323,10 @@ spec:
type: object
nullable: true
type: array
provisionedBuckets:
type: boolean
provisionedUsers:
type: boolean
revision:
format: int32
type: integer
Expand Down Expand Up @@ -28392,6 +28394,17 @@ spec:
type: object
spec:
properties:
buckets:
items:
properties:
name:
type: string
objectLock:
type: boolean
region:
type: string
type: object
type: array
certConfig:
properties:
commonName:
Expand Down Expand Up @@ -28513,6 +28526,18 @@ spec:
required:
- name
type: object
features:
properties:
bucketDNS:
type: boolean
domains:
properties:
minio:
items:
type: string
type: array
type: object
type: object
image:
type: string
imagePullPolicy:
Expand Down Expand Up @@ -30995,16 +31020,7 @@ spec:
type: array
type: object
prometheusOperator:
properties:
annotations:
additionalProperties:
type: string
type: object
labels:
additionalProperties:
type: string
type: object
type: object
type: boolean
readiness:
properties:
exec:
Expand Down Expand Up @@ -31076,8 +31092,6 @@ spec:
properties:
bucketDNS:
type: boolean
required:
- bucketDNS
type: object
serviceAccountName:
type: string
Expand Down Expand Up @@ -32526,6 +32540,10 @@ spec:
type: object
nullable: true
type: array
provisionedBuckets:
type: boolean
provisionedUsers:
type: boolean
revision:
format: int32
type: integer
Expand Down Expand Up @@ -37884,7 +37902,7 @@ rules:
- apiGroups:
- monitoring.coreos.com
resources:
- servicemonitors
- prometheuses
verbs:
- '*'
- apiGroups:
Expand Down Expand Up @@ -38802,7 +38820,7 @@ metadata:
annotations:
cache.goharbor.io/version: v1.1.1
database.goharbor.io/version: v1.5.0
storage.goharbor.io/version: v4.3.2
storage.goharbor.io/version: v4.4.9
labels:
control-plane: harbor-operator
name: harbor-operator
Expand Down Expand Up @@ -38927,7 +38945,7 @@ spec:
- minio-operator
topologyKey: kubernetes.io/hostname
containers:
- image: quay.io/minio/operator:v4.3.2
- image: quay.io/minio/operator:v4.4.9
imagePullPolicy: IfNotPresent
name: minio-operator
resources:
Expand Down
2 changes: 1 addition & 1 deletion manifests/cluster/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ resources:
- https://raw.githubusercontent.com/spotahome/redis-operator/master/example/operator/all-redis-operator-resources.yaml?ref=v1.1.1 # redis operator
- https://raw.githubusercontent.com/spotahome/redis-operator/master/manifests/databases.spotahome.com_redisfailovers.yaml?ref=v1.1.1 # redis operator crd
- github.com/zalando/postgres-operator/manifests?ref=v1.6.3 # postgresql operator
- github.com/minio/operator?ref=v4.3.2 # minIO storage operator
- github.com/minio/operator?ref=v4.4.9 # minIO storage operator

# If you have to override the image source, uncomment this patch and also change the image source in the patch/image-source.yaml file.
# Then rebuild.
Expand Down
2 changes: 1 addition & 1 deletion manifests/cluster/patch/annotations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
value:
cache.goharbor.io/version: v1.1.1
database.goharbor.io/version: v1.5.0
storage.goharbor.io/version: v4.3.2
storage.goharbor.io/version: v4.4.9

0 comments on commit 96639f9

Please sign in to comment.