kbrew-dev / kbrew-registry

Collection of kbrew recipes
10 stars 5 forks source link

Add recipe for minio-operator and minio-tenant #29

Closed PrasadG193 closed 3 years ago

PrasadG193 commented 3 years ago

Usage:

$ kbrew install minio-tenant
WARNING: version difference between client (1.21) and server (1.19) exceeds the supported minor version skew of +/-1
Installing helm app minio-operator/minio-operator
NAME: minio-operator
LAST DEPLOYED: Wed Jun  2 21:52:00 2021
NAMESPACE: minio-operator
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
1. Get the JWT for logging in to the console:
  kubectl get secret $(kubectl get serviceaccount console-sa --namespace minio-operator -o jsonpath="{.secrets[0].name}") --namespace minio-operator -o jsonpath="{.data.token}" | base64 --decode 
2. Get the Operator Console URL by running these commands:
  kubectl --namespace minio-operator port-forward svc/console 9090:9090
  echo "Visit the Operator Console at http://127.0.0.1:9090"

namespace/minio-tenant created
Installing raw app minio/minio-tenant
secret/minio-creds-secret created
secret/console-secret created
tenant.minio.min.io/minio created
Waiting for components to be ready for minio-tenant
Waiting for tenant to be ready
NOTE:
Port forward with following command to access minio-tenant console - 'kubectl port-forward svc/minio-console -n minio-tenant 9443:9443'
Console ACCESS_KEY: YOURCONSOLEACCESS
Console SECRET_KEY: YOURCONSOLESECRET