diff --git a/charts/httpbingo/Chart.yaml b/charts/httpbingo/Chart.yaml index b6bdc34..e69146a 100644 --- a/charts/httpbingo/Chart.yaml +++ b/charts/httpbingo/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: httpbingo description: A reasonably complete and well-tested golang port of httpbin, with zero dependencies outside the go stdlib. type: application -version: 0.1.1 +version: 0.2.0 appVersion: "v2.2.2" home: https://github.com/estahn/charts/tree/main/charts/httpbingo keywords: diff --git a/charts/httpbingo/README.md b/charts/httpbingo/README.md index a61fcdf..e11e88e 100644 --- a/charts/httpbingo/README.md +++ b/charts/httpbingo/README.md @@ -26,6 +26,7 @@ A reasonably complete and well-tested golang port of httpbin, with zero dependen | image.repository | string | `"mccutchen/go-httpbin"` | | | image.tag | string | `""` | | | imagePullSecrets | list | `[]` | | +| extraEnv | object | `{}` | See https://github.com/mccutchen/go-httpbin#configuration | | ingress.annotations | object | `{}` | | | ingress.className | string | `""` | | | ingress.enabled | bool | `false` | | diff --git a/charts/httpbingo/templates/deployment.yaml b/charts/httpbingo/templates/deployment.yaml index d31d48d..d5e59c4 100644 --- a/charts/httpbingo/templates/deployment.yaml +++ b/charts/httpbingo/templates/deployment.yaml @@ -33,6 +33,13 @@ spec: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} + {{- with .Values.extraEnv }} + env: + {{- range $name, $value := . }} + - name: {{ $name }} + value: {{ $value | quote }} + {{- end }} + {{- end }} ports: - name: http containerPort: 8080 diff --git a/charts/httpbingo/values.yaml b/charts/httpbingo/values.yaml index b74fdbf..79d7c7e 100644 --- a/charts/httpbingo/values.yaml +++ b/charts/httpbingo/values.yaml @@ -10,6 +10,9 @@ image: # Overrides the image tag whose default is the chart appVersion. tag: "" +# See https://github.com/mccutchen/go-httpbin#configuration +extraEnv: {} + imagePullSecrets: [] nameOverride: "" fullnameOverride: ""