11 software delivery problems solved by intelligence software delivery platform  Download
Select Page
Share

Introduction: 

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:

				
					vi ~/.hal//profiles/gate-local.yml
				
			

Note: 

is usually “default”

 Now add the below content to the file gate-local.yml

 

				
					security:
  basicform:
    enabled: true
  user:
    name: <>
    password: <>
				
			

Step 2: 

Then you have to follow the below mentioned file path: 

				
					vi ~/.hal//profiles/settings-local.js
				
			

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.

0 Comments

Submit a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.