ansible/roles/metrics-server/tasks/main.yaml
2024-05-25 18:12:30 +03:00

12 lines
574 B
YAML

- set_fact:
metrics_server_combined_values: "{{ metrics_server_default_values | combine(metrics_server_values | default({}), recursive=true) }}"
- name: Deploy Metrics server
kubernetes.core.helm:
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 }}"
chart_version: "{{ metrics_server_version | default(omit) }}"
release_values: "{{ metrics_server_combined_values | from_yaml }}"