Currently, all minio resources accept a tenant field in the form of <namespace>/<name>. Within IaC projects where resources might be dynamically named or created, this means that the tenant field itself needs to be computed in an extra step. (e.g., tenant = resource.namespace + "/" + resource.name). To simplify things a bit, maybe we use properly structured tenant references instead - like tenantRef in the following example:
apiVersion: bfiola.dev/v1
kind: MinioBucket
metadata:
name: test
spec:
name: test
tenantRef:
namespace: minio-23b8d64e
name: minio
Currently, all minio resources accept a
tenant
field in the form of<namespace>/<name>
. Within IaC projects where resources might be dynamically named or created, this means that thetenant
field itself needs to be computed in an extra step. (e.g.,tenant = resource.namespace + "/" + resource.name
). To simplify things a bit, maybe we use properly structured tenant references instead - liketenantRef
in the following example:Thoughts?