diff --git a/charts/castai-hibernate/templates/pause-cronjob.yaml b/charts/castai-hibernate/templates/pause-cronjob.yaml index 2693750a..f14529f3 100644 --- a/charts/castai-hibernate/templates/pause-cronjob.yaml +++ b/charts/castai-hibernate/templates/pause-cronjob.yaml @@ -54,6 +54,8 @@ spec: valueFrom: configMapKeyRef: name: {{ .Values.configMapName }} - key: CLUSTER_ID + key: CLUSTER_ID + - name: API_URL + value: {{ .Values.apiUrl }} restartPolicy: {{ .Values.restartPolicy }} backoffLimit: {{ .Values.backoffLimit }} diff --git a/charts/castai-hibernate/templates/resume-cronjob.yaml b/charts/castai-hibernate/templates/resume-cronjob.yaml index 9e6da864..87086105 100644 --- a/charts/castai-hibernate/templates/resume-cronjob.yaml +++ b/charts/castai-hibernate/templates/resume-cronjob.yaml @@ -45,6 +45,8 @@ spec: valueFrom: configMapKeyRef: name: {{ .Values.configMapName }} - key: CLUSTER_ID + key: CLUSTER_ID + - name: API_URL + value: {{ .Values.apiUrl }} restartPolicy: {{ .Values.restartPolicy }} backoffLimit: {{ .Values.backoffLimit }} diff --git a/charts/castai-hibernate/values.yaml b/charts/castai-hibernate/values.yaml index f077ba3e..bf6359b0 100644 --- a/charts/castai-hibernate/values.yaml +++ b/charts/castai-hibernate/values.yaml @@ -2,6 +2,12 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. +# CAST AI API URL configuration. +# -- API Url to be used. +# -- Default: https://api.cast.ai +# -- (for Europe use https://api.eu.cast.ai) +apiUrl: "https://api.cast.ai" + # CAST AI API Key configuration. # -- API token with Full Access permissions and encode base64 apiKey: ""