Installing the Helm Chart with default configurations will deploy 1Password Kubernetes Secrets Injector in your default Namespace.
helm install --generate-name 1password/secrets-injector
The 1Password Kubernetes Secrets Injector Helm chart offers many configuration options for deployment. Please refer to the list below for information on what configuration options are available as well as what the default configuration options are.
From the Official Helm Install Guide:
To override values in a chart, use either the '--values' flag and pass in a file or use the '--set' flag and pass configuration from the command line, to force a string value use '--set-string'. In case a value is large and therefore you want not to use neither '--values' nor '--set', use '--set-file' to read the single large value from file.
For example:
$ helm install -f myvalues.yaml injector ./secrets-injector
or
$ helm install --set injector.applicationName=injector injector ./secrets-injector
Key | Type | Default | Description |
---|---|---|---|
injector.applicationName | string | "secrets-injector" |
The name of 1Password Kubernetes Secrets Injector Application |
injector.imagePullPolicy | string | "IfNotPresent" |
The 1Password Secrets Injector docker image policy. "IfNotPresent" means the image is pulled only if it is not already present locally. |
injector.imagePullSecrets | array | [] |
Global list of secret names to use as image pull secrets for all pod specs in the chart. Secrets must exist in the same namespace |
injector.imageRepository | string | "1password/kubernetes-secrets-injector" |
The 1Password Secrets Injector docker image repository |
injector.port | string | 443 |
The port the Secrets Injector exposes |
injector.targetPort | integer | 8443 |
The port the Secrets Injector API sends requests to the pod |
injector.version | string | {{.Chart.AppVersion}} |
The 1Password Secrets Injector version to pull. |
injector.customEnvVars | array | [] |
Custom Environment Variables for the 1Password Secrets Injector container that are not specified in this helm chart. |
The injector container supports additional environment variables beyond those explicitly defined in the Helm chart. These can be defined using a key map for each custom variable. An example is shown below:
injector:
customEnvVars:
- name: "CUSTOM_ENV_VAR1"
value: "customvar2"
- name: "CUSTOM_ENV_VAR2"
value: "customvar2"