Skip to content

Commit ce80565

Browse files
authored
Merge pull request #54 from JSpon/add-environment-for-http-proxy
Add environmental variables to chart for use with proxies
2 parents 978d0e8 + 7267951 commit ce80565

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

deploy/charts/command-cert-manager-issuer/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,5 @@ The following table lists the configurable parameters of the `command-cert-manag
8383
| `resources` | CPU/Memory resource requests/limits | `{}` (with commented out options) |
8484
| `nodeSelector` | Node labels for pod assignment | `{}` |
8585
| `tolerations` | Tolerations for pod assignment | `[]` |
86+
| `env` | Environmental variables set for pod | `{}` |
8687
| `secretConfig.useClusterRoleForSecretAccess` | Specifies if the ServiceAccount should be granted access to the Secret resource using a ClusterRole | `false` |

deploy/charts/command-cert-manager-issuer/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ spec:
3838
{{- end}}
3939
command:
4040
- /manager
41+
{{- with .Values.env }}
42+
env:
43+
{{- toYaml . | nindent 12 }}
44+
{{- end }}
4145
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.Version }}"
4246
imagePullPolicy: {{ .Values.image.pullPolicy }}
4347
livenessProbe:

deploy/charts/command-cert-manager-issuer/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,10 @@ resources: {}
7070
nodeSelector: {}
7171

7272
tolerations: []
73+
74+
env: {}
75+
# This can be used to set an http proxy to access the Keyfactor instance
76+
# - name: https_proxy
77+
# value: http://someproxy:someport
78+
# - name: no_proxy
79+
# value: .somedomain.com,.local,10.0.0.1

0 commit comments

Comments
 (0)