Skip to content

Commit

Permalink
example
Browse files Browse the repository at this point in the history
example
  • Loading branch information
jiuker committed Aug 24, 2024
1 parent f7cac44 commit 14ca564
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ This example will deploy a MinIO tenant with TLS using certificates provided by
certificate keypairs:

```sh
mkcert "*.minio-tenant.svc.cluster.local"
mkcert "minio.minio-tenant.svc.cluster.local"
mkcert "*.myminio.minio-tenant.svc.cluster.local"
mkcert "*.myminio-hl.minio-tenant.svc.cluster.local"
```
Expand All @@ -90,12 +90,12 @@ inter-node communication.
Create `kubernetes secrets` based on the previous certificates

```$xslt
kubectl create secret tls minio-tls-cert --key="_wildcard.minio-tenant.svc.cluster.local-key.pem" --cert="_wildcard.minio-tenant.svc.cluster.local.pem" -n minio-tenant
kubectl create secret tls minio-tls-cert --key="minio.minio-tenant.svc.cluster.local-key.pem" --cert="minio.minio-tenant.svc.cluster.local.pem" -n minio-tenant
kubectl create secret tls minio-buckets-cert --key="_wildcard.myminio.minio-tenant.svc.cluster.local-key.pem" --cert="_wildcard.myminio.minio-tenant.svc.cluster.local.pem" -n minio-tenant
kubectl create secret tls minio-hl-cert --key="_wildcard.myminio-hl.minio-tenant.svc.cluster.local-key.pem" --cert="_wildcard.myminio-hl.minio-tenant.svc.cluster.local.pem" -n minio-tenant
# create a new secret for the operator certs
kubectl create secret tls operator-ca-tls-minio-tls-cert --key="_wildcard.minio-tenant.svc.cluster.local-key.pem" --cert="_wildcard.minio-tenant.svc.cluster.local.pem" -n minio-tenant
kubectl create secret tls operator-ca-tls-minio-tls-cert --key="minio.minio-tenant.svc.cluster.local-key.pem" --cert="minio.minio-tenant.svc.cluster.local.pem" -n minio-tenant
```

You need to provide those `kubernetes secrets` in your Tenant `YAML` overlay using the `externalCertSecret` fields, ie:
Expand Down

0 comments on commit 14ca564

Please sign in to comment.