This blog will guide you as to how to enable basic form authentication for Spinnaker via Halyard without involving any third party.
For that, you first exec into the halyard pod.
Below is the command to exec into the halyard pod:
Kubectl exec -it <> -n <> --bash
Step 1 :
Follow this path to edit the content in the file:
is usually “default”
Now add the below content to the file gate-local.yml
security: basicform: enabled: true user: name: <> password: <>
Then you have to follow the below mentioned file path:
Once you are there, add the following content:
window.spinnakerSettings.authEnabled = true;
Then, apply the changes by command
hal deploy apply
Finally, you will be prompted with a form to enter the username and password to access Spinnaker UI.