diff --git a/roles/kustomize_deploy/README.md b/roles/kustomize_deploy/README.md index c94068e09a..23f0718b52 100644 --- a/roles/kustomize_deploy/README.md +++ b/roles/kustomize_deploy/README.md @@ -21,7 +21,8 @@ with a message. where the architecture repo is cloned on the controller node. Defaults to `~/src/github.com/openstack-k8s-operators/architecture` - `cifmw_kustomize_deploy_architecture_repo_version`: _(string)_ Default branch - of the architecture repo to clone.Defaults to `HEAD` + of the architecture repo to clone. Takes its value from group_vars + cifmw_architecture_repo_version_pin, defaults to `HEAD` if not defined. - `cifmw_kustomize_deploy_architecture_examples_common_path`: _(string)_ Relative path of the common CRs in the architecture repo. Defaults to `/examples/common` diff --git a/roles/kustomize_deploy/defaults/main.yml b/roles/kustomize_deploy/defaults/main.yml index 5236fe3467..717acad13c 100644 --- a/roles/kustomize_deploy/defaults/main.yml +++ b/roles/kustomize_deploy/defaults/main.yml @@ -35,7 +35,7 @@ cifmw_kustomize_deploy_architecture_repo_dest_dir: >- ] | path_join ) }} -cifmw_kustomize_deploy_architecture_repo_version: "HEAD" +cifmw_kustomize_deploy_architecture_repo_version: "{{ cifmw_architecture_repo_version_pin | default('HEAD') }}" cifmw_kustomize_deploy_architecture_examples_common_path: "examples/common/" cifmw_kustomize_deploy_architecture_examples_path: "examples/va/"