Add default value for registry password in Whisk CR template

Problem:
- ops setup cluster fails with 'spec.registry.auth.password: Required value'
- REGISTRY_CONFIG_SECRET_PUSH_PULL variable is often not set
- Users must manually export the variable before running ops

Solution:
- Add default value 'changeme-registry' using bash parameter expansion
- Change: password: $REGISTRY_CONFIG_SECRET_PUSH_PULL
- To: password: ${REGISTRY_CONFIG_SECRET_PUSH_PULL:-changeme-registry}

Impact:
- ops setup cluster now works without manual variable export
- Maintains backward compatibility (variable can still override default)
- Improves user experience for new installations

Tested on MicroK8s cluster with operator version 0.1.0-incubating.2510012114
1 file changed
tree: 04263c0048ef0d393221ba348a608d63e4d88e91
  1. admin/
  2. cloud/
  3. config/
  4. debug/
  5. devel/
  6. env/
  7. ide/
  8. setup/
  9. tests/
  10. update/
  11. util/
  12. .gitignore
  13. .licenserc.yaml
  14. DISCLAIMER
  15. docopts.md
  16. LICENSE
  17. NOTICE
  18. opsfile.yml
  19. opsroot.json
  20. prereq.yml
  21. README.md
  22. runtimes.json
README.md

Ops tasks

Tasks automatically downloaded by the ops cli

Note the tasks are automatically downloaded from the designated branch in the CLI (currently 0.1.0) while the main branch here for testing.

You can run this branch either setting “OPS_BRANCH=main” or cloning this in a local directory named olaris.