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

12 lines
560 B
YAML
Raw Normal View History

2021-01-09 17:54:42 +00:00
- set_fact:
metrics_server_combined_values: "{{ metrics_server_default_values | combine(metrics_server_values, recursive=true) }}"
- 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 }}"