2021-01-09 17:54:42 +00:00
|
|
|
- set_fact:
|
|
|
|
chartmuseum_combined_values: "{{ chartmuseum_default_values | combine(chartmuseum_values, recursive=true) }}"
|
|
|
|
|
|
|
|
- name: Deploy ChartMuseum
|
2022-07-12 13:48:14 +00:00
|
|
|
kubernetes.core.helm:
|
2021-01-09 17:54:42 +00:00
|
|
|
create_namespace: true
|
|
|
|
release_namespace: "{{ chartmuseum_namespace | default(namespace) }}"
|
|
|
|
release_name: "{{ chartmuseum_name | default('chartmuseum') }}"
|
|
|
|
chart_ref: "{{ chartmuseum_chart | default('ghp/chartmuseum') }}"
|
|
|
|
chart_version: "{{ chartmuseum_version | default(omit) }}"
|
|
|
|
release_values: "{{ chartmuseum_combined_values | from_yaml }}"
|
|
|
|
wait: true
|
|
|
|
|
|
|
|
- name: Deploy readonly public ingress for ChartMuseum
|
|
|
|
when: chartmuseum_readonly_ingress is defined
|
|
|
|
k8s:
|
|
|
|
state: present
|
|
|
|
definition:
|
|
|
|
"{{ chartmuseum_readonly_ingress_definition }}"
|
|
|
|
|