
This change updates the json_to_dhall task to provides a better failure message. This change also refactors the CR spec transformation using jinja combinaison filter to be able to use the raw spec directly. Finally this change removes a copy of the spec from the local playbook by using the flat cr_spec file directly. Change-Id: I6ed5c6746f01a8a277d50bdef317e56dfde5f66d
14 lines
482 B
YAML
14 lines
482 B
YAML
zuul_name: "{{ meta.name | default('zuul') }}"
|
|
namespace: "{{ meta.namespace | default('default') }}"
|
|
state: "{{ k8s_state | default('present') }}"
|
|
zuul_app_path: "/opt/ansible/conf/zuul"
|
|
|
|
# Here we use zuul_spec to get un-modified cr
|
|
# see: https://github.com/operator-framework/operator-sdk/issues/1770
|
|
raw_spec: "{{ vars['_operator_zuul-ci_org_zuul_spec'] | default(spec) }}"
|
|
|
|
# Provide sensible default for non optional attributes:
|
|
spec_defaults:
|
|
web: {}
|
|
externalConfig: {}
|