20 lines
653 B
YAML
20 lines
653 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) }}"
|
|
|
|
# Let optional withCertManager bool value
|
|
cert_manager: "{{ (raw_spec['withCertManager'] | default(true)) | bool }}"
|
|
|
|
# Provide sensible default for non optional attributes:
|
|
spec_defaults:
|
|
web: {}
|
|
registry: {}
|
|
preview: {}
|
|
externalConfig: {}
|
|
withCertManager: true
|