From a4858c25fc7af02c0c34ac1ae14079f110f18123 Mon Sep 17 00:00:00 2001 From: Jethro Cotton Date: Tue, 17 Mar 2026 19:20:33 +1300 Subject: [PATCH] added bitwarden stuff --- .../bitwarden/bitwardenaccesstoken.yaml | 8 ++++++++ infrastructure/bitwarden/helmrelease.yaml | 20 +++++++++++++++++++ infrastructure/bitwarden/kustomization.yaml | 4 ++++ infrastructure/sources/bitwarden.yaml | 8 ++++++++ infrastructure/sources/kustomization.yaml | 1 + 5 files changed, 41 insertions(+) create mode 100644 infrastructure/bitwarden/bitwardenaccesstoken.yaml create mode 100644 infrastructure/bitwarden/helmrelease.yaml create mode 100644 infrastructure/bitwarden/kustomization.yaml create mode 100644 infrastructure/sources/bitwarden.yaml diff --git a/infrastructure/bitwarden/bitwardenaccesstoken.yaml b/infrastructure/bitwarden/bitwardenaccesstoken.yaml new file mode 100644 index 0000000..0afbf81 --- /dev/null +++ b/infrastructure/bitwarden/bitwardenaccesstoken.yaml @@ -0,0 +1,8 @@ +***REMOVED*** +***REMOVED*** +***REMOVED*** +***REMOVED*** +***REMOVED*** +***REMOVED*** +***REMOVED*** +***REMOVED*** \ No newline at end of file diff --git a/infrastructure/bitwarden/helmrelease.yaml b/infrastructure/bitwarden/helmrelease.yaml new file mode 100644 index 0000000..c0bff94 --- /dev/null +++ b/infrastructure/bitwarden/helmrelease.yaml @@ -0,0 +1,20 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +***REMOVED*** + name: bitwarden-secrets-manager +***REMOVED*** +spec: + interval: 15m + chart: + spec: + chart: secrets-manager + version: "*" + sourceRef: + kind: HelmRepository + name: bitwarden + namespace: flux-system + install: + createNamespace: true + values: + # keep minimal to start + replicaCount: 1 \ No newline at end of file diff --git a/infrastructure/bitwarden/kustomization.yaml b/infrastructure/bitwarden/kustomization.yaml new file mode 100644 index 0000000..4377f60 --- /dev/null +++ b/infrastructure/bitwarden/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - helmrelease.yaml \ No newline at end of file diff --git a/infrastructure/sources/bitwarden.yaml b/infrastructure/sources/bitwarden.yaml new file mode 100644 index 0000000..6183c3d --- /dev/null +++ b/infrastructure/sources/bitwarden.yaml @@ -0,0 +1,8 @@ +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +***REMOVED*** + name: bitwarden + namespace: flux-system +spec: + interval: 1h + url: https://charts.bitwarden.com \ No newline at end of file diff --git a/infrastructure/sources/kustomization.yaml b/infrastructure/sources/kustomization.yaml index ebf52aa..e95cf5c 100644 --- a/infrastructure/sources/kustomization.yaml +++ b/infrastructure/sources/kustomization.yaml @@ -3,3 +3,4 @@ kind: Kustomization resources: - robjuz.yaml - wikijs.yaml +- bitwarden.yaml \ No newline at end of file