Skip to content

Commit

Permalink
feat: add support for Yubikey OTP authentication
Browse files Browse the repository at this point in the history
Signed-off-by: Lester Guerzon <[email protected]>
  • Loading branch information
guerzon authored and 0xsanti committed Dec 22, 2023
1 parent 358c4b1 commit 2cac470
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/vaultwarden/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ maintainers:
- name: guerzon
email: [email protected]
url: https://github.com/guerzon
version: 0.18.3
version: 0.19.0
kubeVersion: ">=1.12.0-0"
3 changes: 3 additions & 0 deletions charts/vaultwarden/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,9 @@ helm -n $NAMESPACE uninstall $RELEASE_NAME
| `serviceAccount.name` | Name of the service account to create | `vaultwarden-svc` |
| `podSecurityContext` | Pod security options | `{}` |
| `securityContext` | Default security options to run vault as read only container without privilege escalation | `{}` |
| `yubico.clientId` | Yubico client ID | `""` |
| `yubico.secretKey` | Yubico secret key | `""` |
| `yubico.server` | Specify a Yubico server, otherwise the default servers will be used | `""` |

### Exposure Parameters

Expand Down
7 changes: 7 additions & 0 deletions charts/vaultwarden/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,10 @@ data:
PUSH_INSTALLATION_ID: {{ .Values.pushNotifications.installationId | quote }}
PUSH_INSTALLATION_KEY: {{ .Values.pushNotifications.installationKey | quote }}
{{- end }}
{{- if and .Values.yubico.clientId .Values.yubico.secretKey }}
YUBICO_CLIENT_ID: {{ .Values.yubico.clientId | quote }}
YUBICO_SECRET_KEY: {{ .Values.yubico.secretKey | quote }}
{{- if .Values.yubico.server }}
YUBICO_SERVER: {{ .Values.yubico.server | quote }}
{{- end }}
{{- end }}
9 changes: 9 additions & 0 deletions charts/vaultwarden/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,15 @@ securityContext: {}
# drop:
# - ALL

## @param yubico.clientId Yubico client ID
## @param yubico.secretKey Yubico secret key
## @param yubico.server Specify a Yubico server, otherwise the default servers will be used
##
yubico:
clientId: ""
secretKey: ""
server: ""


## @section Exposure Parameters
##
Expand Down

0 comments on commit 2cac470

Please sign in to comment.