We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
MinIO Operator v7 doesn't inherit annotations from the Tenant resource to the created Pods.
In v6.0.4, the operator copies the labels and annotations from the Tenant resource to the created Pods.
From v7.0.0 this behavior is broken. The annotations are not added to the Pods.
We use Kyverno to mutate the Pod objects before they are created, based on the presence of certain annotations.
minio-operator
apiVersion: minio.min.io/v2 kind: Tenant metadata: name: minio namespace: minio-tenant annotations: inject-certs: enabled inject-certs-path: /tmp/certs/CAs/ # https://github.com/minio/minio/blob/master/docs/tls/README.md#4-install-certificates-from-third-party-cas
The text was updated successfully, but these errors were encountered:
You should be able to use .tenant.poolsMetadata.annotations to set annotations on the statefulset, pods, ...
.tenant.poolsMetadata.annotations
Sorry, something went wrong.
See also #2318.
Hi @ramondeklein - thanks. I didn't know this was bugged behavior, as I noticed this somewhere in the documentation as a feature.
Should anyone find this issue, the corrected spec should look like:
apiVersion: minio.min.io/v2 kind: Tenant metadata: name: minio namespace: minio-tenant spec: # [...] poolsMetadata: annotations: inject-certs: enabled inject-certs-path: /tmp/certs/CAs/ # https://github.com/minio/minio/blob/master/docs/tls/README.md#4-install-certificates-from-third-party-cas
No branches or pull requests
MinIO Operator v7 doesn't inherit annotations from the Tenant resource to the created Pods.
Expected Behavior
In v6.0.4, the operator copies the labels and annotations from the Tenant resource to the created Pods.
Current Behavior
From v7.0.0 this behavior is broken. The annotations are not added to the Pods.
Context
We use Kyverno to mutate the Pod objects before they are created, based on the presence of certain annotations.
Your Environment
minio-operator
): v7.0.0Snippet from the Tenant
The text was updated successfully, but these errors were encountered: