https://rancher.com/ logo
Title
s

stale-dinner-99388

09/09/2022, 12:57 PM
Hey eveyone is there any way i can pass rancher username at the time of installation. I am using helm chart for install rancher. Command:
helm upgrade --install rancher rancher-latest/rancher   --namespace cattle-system   --set hostname=url   --set ingress.tls.source="letsEncrypt" --set bootstrapPassword=abcdxyz  --set letsEncrypt.email="email"   --set letsEncrypt.environment="production"
a

agreeable-oil-87482

09/13/2022, 11:43 AM
It's currently not a helm option, but you can change it after install.
s

stale-dinner-99388

09/13/2022, 11:50 AM
@agreeable-oil-87482 Okay can please tell me one more thing, Is there any way to store rancher password because after redeployment my rancher password is automatically changed. As rancher username is store in UserAttribute.
a

agreeable-oil-87482

09/13/2022, 2:01 PM
It shouldn't get reset on upgrade
s

stale-dinner-99388

09/13/2022, 2:05 PM
yes you're correct, I am saying after redeployment
a

agreeable-oil-87482

09/13/2022, 2:11 PM
You can set it using bootstrap password
s

stale-dinner-99388

09/13/2022, 2:12 PM
but after redeployment bootstrap secret is not generated