-
-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
Description
Affected version
pre 25.3.0
Current and expected behavior
The service is looked up via labels:
| let params = ListParams::default().labels("app=minio,app.kubernetes.io/managed-by=Helm"); |
But the labels are different when minio is deployed via rendered manifests (currently needed to enable TLS with secret-operator certs):
Labels for minio-console when deployed via Helm:
apiVersion: v1
kind: Service
metadata:
name: minio-console
namespace: default
labels:
app: minio
app.kubernetes.io/managed-by: Helm
chart: minio-5.3.0
heritage: Helm
release: minioLabels for minio-console when deployed via manifests (pre-rendered via helm template):
apiVersion: v1
kind: Service
metadata:
name: minio-console
namespace: default
labels:
app: minio
chart: minio-5.4.0
heritage: Helm
release: minio
stackable.tech/managed-by: stackablectl
stackable.tech/stack: trino-superset-s3
stackable.tech/vendor: StackablePossible solution
Options:
- Use different labels to lookup
- Do two lookups (add a lookup to match on the new labels above).
Additional context
Without this fix, the demos become confusing as they expect minio to be listed.
Environment
No response
Would you like to work on fixing this bug?
None