-
Notifications
You must be signed in to change notification settings - Fork 455
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
add cluster-domain to init, sidecar containers #1580
Conversation
I was about to send the same fix hahaha |
Tested using kindsetup
kind config file
kind create cluster --config kind-cluster.yaml
TAG=minio/operator:v5.0.3-domain make docker
kind load docker-image --name kind-cluster minio/operator:v5.0.3-domain
kubectl minio init --cluster-domain example.com --image minio/operator:v5.0.3-domain verificationCLUSTER_DOMAIN environment variable will be set in containers:
- args:
- controller
env:
- name: CLUSTER_DOMAIN
value: example.com
image: minio/operator:v5.0.3-domain
Check The Statefulset apiVersion: apps/v1
kind: StatefulSet
...
spec:
...
containers:
- args:
- sidecar
- --tenant
- myminio
- --config-name
- mitenant-env-configuration
env:
- name: CLUSTER_DOMAIN
value: example.com
image: minio/operator:v5.0.3-domain
imagePullPolicy: IfNotPresent
name: sidecar
... Tenant is created correcty, see Operator logs
Tenant status is initialized:
all tenant pods are running, see a tenant pod log:
|
Closes #1535
Closes #1544