-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fa36a46
commit c45b37c
Showing
3 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
helmGlobals: | ||
chartHome: ../../charts | ||
|
||
resources: | ||
- manifests/ingress.yaml | ||
|
||
helmCharts: | ||
- name: vaultwarden | ||
repo: https://guerzon.github.io/vaultwarden | ||
namespace: vaultwarden | ||
releaseName: vaultwarden | ||
version: 0.23.1 | ||
valuesFile: values.yaml | ||
|
||
replacements: | ||
- source: | ||
kind: Ingress | ||
name: vaultwarden | ||
fieldPath: metadata.annotations.dns | ||
targets: | ||
- select: | ||
kind: Ingress | ||
name: vaultwarden | ||
fieldPaths: | ||
- spec.rules.0.host | ||
options: | ||
# This keeps the "vault." prefix | ||
delimiter: "." | ||
index: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: vaultwarden | ||
annotations: | ||
gethomepage.dev/enabled: "true" | ||
gethomepage.dev/description: Password manager | ||
gethomepage.dev/group: Security | ||
gethomepage.dev/icon: bitwarden | ||
gethomepage.dev/name: Vaultwarden | ||
spec: | ||
rules: | ||
# DNS will be replace by kustomize | ||
- host: vault.$(DNS) | ||
http: | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: vaultwarden | ||
port: | ||
name: http |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Default values: https://github.com/guerzon/vaultwarden/blob/v0.23.1/charts/vaultwarden/values.yaml | ||
|
||
domain: http://vault.lab.local:844 | ||
# Number of days to retain events stored in the database. | ||
eventsDayRetain: 30 |