mirror of
https://github.com/outbackdingo/vaultwarden.git
synced 2026-01-27 02:20:43 +00:00
feat: imagePullSecrets support (#119)
* feat: imagePullSecrets support Signed-off-by: Lester Guerzon <guerzon@proton.me> * chore: venv gitignore Signed-off-by: Lester Guerzon <guerzon@proton.me> --------- Signed-off-by: Lester Guerzon <guerzon@proton.me>
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -3,4 +3,5 @@
|
||||
.vscode
|
||||
.DS_Store
|
||||
testing-values.yaml
|
||||
readme-generator-for-helm
|
||||
readme-generator-for-helm
|
||||
venv
|
||||
@@ -13,5 +13,5 @@ maintainers:
|
||||
- name: guerzon
|
||||
email: guerzon@proton.me
|
||||
url: https://github.com/guerzon
|
||||
version: 0.28.0
|
||||
version: 0.29.0
|
||||
kubeVersion: ">=1.12.0-0"
|
||||
|
||||
@@ -35,9 +35,11 @@ Example that uses the Alpine-based image `1.24.0-alpine` and an existing secret
|
||||
|
||||
```yaml
|
||||
image:
|
||||
registry: ghcr.io
|
||||
repository: guerzon/vaultwarden
|
||||
tag: "1.24.0-alpine"
|
||||
pullSecrets:
|
||||
- myRegKey
|
||||
- name: myRegKey
|
||||
```
|
||||
|
||||
**Important**: specify the URL used by users with the `domain` variable, otherwise, some functionalities might not work:
|
||||
@@ -318,7 +320,7 @@ helm -n $NAMESPACE uninstall $RELEASE_NAME
|
||||
| `image.repository` | Vaultwarden image repository | `vaultwarden/server` |
|
||||
| `image.tag` | Vaultwarden image tag | `1.32.0-alpine` |
|
||||
| `image.pullPolicy` | Vaultwarden image pull policy | `IfNotPresent` |
|
||||
| `image.pullSecrets` | Specify docker-registry secret names | `[]` |
|
||||
| `image.pullSecrets` | Specify docker-registry secrets | `[]` |
|
||||
| `image.extraSecrets` | Vaultwarden image extra secrets | `[]` |
|
||||
| `image.extraVars` | Vaultwarden image extra vars | `[]` |
|
||||
| `fullnameOverride` | String to override the application name. | `""` |
|
||||
|
||||
@@ -12,7 +12,7 @@ adminToken:
|
||||
|
||||
image:
|
||||
pullSecrets:
|
||||
- myRegKey
|
||||
- name: myRegKey
|
||||
|
||||
yubico:
|
||||
clientId: "ABCDE"
|
||||
|
||||
@@ -174,4 +174,8 @@ containers:
|
||||
{{- if .Values.serviceAccount.create }}
|
||||
serviceAccountName: {{ .Values.serviceAccount.name }}
|
||||
{{- end }}
|
||||
{{- with .Values.image.pullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -18,11 +18,11 @@ image:
|
||||
## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||
##
|
||||
pullPolicy: IfNotPresent
|
||||
## @param image.pullSecrets Specify docker-registry secret names
|
||||
## @param image.pullSecrets Specify docker-registry secrets
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
## Example:
|
||||
## pullSecrets:
|
||||
## - myRegistryKeySecretName
|
||||
## - name: myRegistryKeySecretName
|
||||
##
|
||||
pullSecrets: []
|
||||
## @param image.extraSecrets Vaultwarden image extra secrets
|
||||
|
||||
Reference in New Issue
Block a user