Skip to content
Snippets Groups Projects
Verified Commit be18c95f authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

fix URL to crds

parent 61c2b99b
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ cert_manager:
crd_version: '0.11.0'
prometheus:
crd_version: 'v0.37.0'
crd_version: 'release-0.37'
# If true, let the auto-update mechanism (flux) follow a cluster-local git
# repo, not one hosted on open.greenhost.net.
......
......@@ -3,13 +3,14 @@
- name: Make Prometheus custom resource definitions
tags:
- prometheus
command: '/snap/bin/kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/{{ prometheus.crd_version }}/example/prometheus-operator-crd/{{ item }}'
command: '/snap/bin/kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/{{ prometheus.crd_version }}/example/prometheus-operator-crd/monitoring.coreos.com_{{ items }}.yaml
loop:
- alertmanager.crd.yaml
- prometheus.crd.yaml
- prometheusrule.crd.yaml
- servicemonitor.crd.yaml
- podmonitor.crd.yaml
- alertmanagers
- podmonitors
- prometheuses
- prometheusrules
- servicemonitors
- thanosrulers
- name: Create Kubernetes secret with monitoring settings
tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment