ansible/roles/metrics-server/tasks/main.yaml

12 lines
574 B
YAML
Raw Permalink Normal View History

2021-01-09 17:54:42 +00:00
- set_fact:
2024-05-25 15:12:30 +00:00
metrics_server_combined_values: "{{ metrics_server_default_values | combine(metrics_server_values | default({}), recursive=true) }}"
2021-01-09 17:54:42 +00:00
- name: Deploy Metrics server
2022-07-12 13:48:14 +00:00
kubernetes.core.helm:
2021-01-09 17:54:42 +00:00
create_namespace: true
release_namespace: "{{ metrics_server_namespace | default('metrics-server') }}"
release_name: "{{ metrics_server_name | default('metrics-server') }}"
chart_ref: "{{ metrics_server_chart_ref }}"
2021-01-09 17:54:42 +00:00
chart_version: "{{ metrics_server_version | default(omit) }}"
release_values: "{{ metrics_server_combined_values | from_yaml }}"