Skip to content

Commit

Permalink
chore(monitor): permit umbrella override api group
Browse files Browse the repository at this point in the history
A new api_group variable is added in the global values.yaml section so
that the cluster admin or Hephy admin user can override the API group
based on what they need.

Some older clusters will not support apps/v1, we do not go out of our
way to detect them and encourage Hephy users to upgrade to at least
v1.12 when the apps/v1 group was added, but this accommodation does not
cost anything and should make the transition smoother without forcing.
  • Loading branch information
Kingdon Barrett committed Oct 26, 2019
1 parent 11583b1 commit 9d0adca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
@@ -1,5 +1,5 @@
{{- if eq .Values.global.grafana_location "on-cluster" }}
apiVersion: extensions/v1beta1
apiVersion: {{ .Values.global.api_group }}
kind: Deployment
metadata:
name: deis-monitor-grafana
Expand Down
@@ -1,5 +1,5 @@
{{- if eq .Values.global.influxdb_location "on-cluster" }}
apiVersion: extensions/v1beta1
apiVersion: {{ .Values.global.api_group }}
kind: Deployment
metadata:
name: deis-monitor-influxdb
Expand Down
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: {{ .Values.global.api_group }}
kind: DaemonSet
metadata:
name: deis-monitor-telegraf
Expand Down

0 comments on commit 9d0adca

Please sign in to comment.