Question: How to enable very simple and basic authentication?


Answer: 

  • You can use Halyard to enable Simple Authentication in Spinnaker.
  • Create or Update "gate-local.yaml" in the following location ".hal/default/profiles"
security:
  basicform:
    enabled: true
  user:
    name: <username you want>
    password: <password you want>


  • Now, Create or Update "settings-local.js" in the following location ".hal/default/profiles"
window.spinnakerSettings.authEnabled = true;
  • Restart Spinnaker Services to apply your changes
hal deploy apply
  • Now, when you access Spinnaker you should have a prompt to enter the user credentials.