fix: there are not aliases in YAML multi-line strings

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2023-10-07 15:23:44 -04:00
1 parent 197566312a
commit d93e1f686e
2 files changed
+13 -7

No files matched your search

@@ -62,7 +62,7 @@ data:
regex: (apiserver_response_sizes_bucket|apiserver_watch_events_sizes_bucket)
kubeControllerManager:
enabled: true
endpoints: &cp
endpoints:
{% for item in bootstrap_nodes.master %}
- {{ item.address }}
{% endfor %}
@@ -74,10 +74,16 @@ data:
regex: "(apiserver_audit|apiserver_client|apiserver_delegated|apiserver_envelope|apiserver_storage|apiserver_webhooks|attachdetach_controller|authenticated_user|authentication|cronjob_controller|disabled_metric|endpoint_slice|ephemeral_volume|garbagecollector_controller|get_token|go|hidden_metric|job_controller|kubernetes_build|kubernetes_feature|leader_election|node_collector|node_ipam|process_cpu|process_max|process_open|process_resident|process_start|process_virtual|pv_collector|registered_metric|replicaset_controller|rest_client|retroactive_storageclass|root_ca|running_managed|scrape_duration|scrape_samples|scrape_series|service_controller|storage_count|storage_operation|ttl_after|volume_operation|workqueue)_(.+)"
kubeEtcd:
enabled: true
endpoints: *cp
endpoints:
{% for item in bootstrap_nodes.master %}
- {{ item.address }}
{% endfor %}
kubeScheduler:
enabled: true
endpoints: *cp
endpoints:
{% for item in bootstrap_nodes.master %}
- {{ item.address }}
{% endfor %}
serviceMonitor:
metricRelabelings:
# Remove duplicate labels provided by k3s
@@ -95,10 +101,10 @@ data:
hajimari.io/icon: simple-icons:prometheus
pathType: Prefix
hosts:
- &host "prometheus.${SECRET_DOMAIN}"
- "prometheus.${SECRET_DOMAIN}"
tls:
- hosts:
- *host
- "prometheus.${SECRET_DOMAIN}"
prometheusSpec:
ruleSelectorNilUsesHelmValues: false
serviceMonitorSelectorNilUsesHelmValues: false
@@ -52,10 +52,10 @@ data:
annotations:
hajimari.io/icon: simple-icons:cilium
hosts:
- &host "hubble.${SECRET_DOMAIN}"
- "hubble.${SECRET_DOMAIN}"
tls:
- hosts:
- *host
- "hubble.${SECRET_DOMAIN}"
ipam:
mode: kubernetes
ipv4NativeRoutingCIDR: "${CLUSTER_CIDR}"