diff --git a/helm-chart/eoapi-support/Chart.yaml b/helm-chart/eoapi-support/Chart.yaml index fcd3fb7..bb5c9f9 100644 --- a/helm-chart/eoapi-support/Chart.yaml +++ b/helm-chart/eoapi-support/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 name: eoapi-support -appVersion: "0.1.8" -version: "0.1.8" +appVersion: "0.1.7" +version: "0.1.7" dependencies: - name: metrics-server diff --git a/helm-chart/eoapi-support/templates/_helpers.tpl b/helm-chart/eoapi-support/templates/_helpers.tpl deleted file mode 100644 index c9ea0f7..0000000 --- a/helm-chart/eoapi-support/templates/_helpers.tpl +++ /dev/null @@ -1,15 +0,0 @@ -{{/* -Fetch the CA Bundle from a specified secret if enabled -*/}} -{{- define "eoapi-support.fetchCaBundle" -}} -{{- if .Values.enableCaBundleFetch -}} - {{- $secretName := .Values.caBundleSecretName | default "eoepca-ca-secret" -}} - {{- $caBundle := "" -}} - {{- with (lookup "v1" "Secret" "default" $secretName) -}} - {{- $caBundle = index .data "ca.crt" | b64dec -}} - {{- end -}} - {{- $caBundle -}} -{{- else -}} - "" # Return an empty string if not enabled -{{- end -}} -{{- end -}} diff --git a/helm-chart/eoapi-support/values.yaml b/helm-chart/eoapi-support/values.yaml index 32ed45a..715a784 100644 --- a/helm-chart/eoapi-support/values.yaml +++ b/helm-chart/eoapi-support/values.yaml @@ -1,8 +1,3 @@ -# when enabled, metrics-server will use the caBundle from the provided secret -# ref: https://github.com/developmentseed/eoapi-k8s/issues/154 -enableCaBundleFetch: false -caBundleSecretName: "" - # most of this was cribbed from https://github.com/2i2c-org/infrastructure/blob/master/helm-charts/support/ # so giving props where props are due to Yuvi Panda :sparkles: prometheus-adapter: