Compare commits
7 Commits
vaultwarde
...
661abbce61
| Author | SHA1 | Date | |
|---|---|---|---|
| 661abbce61 | |||
| d6c0a3c548 | |||
| 05f4d90f56 | |||
| 9ac2647482 | |||
| a3fa03c9f3 | |||
| d3cb5b4365 | |||
| 277ea22a82 |
@@ -2,4 +2,5 @@ apiVersion: v2
|
|||||||
name: immich-argocd-apps
|
name: immich-argocd-apps
|
||||||
description: A Helm chart for deploying Immich as an ArgoCD app
|
description: A Helm chart for deploying Immich as an ArgoCD app
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.0
|
version: 0.1.4
|
||||||
|
appVersion: v1.120.2
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ spec:
|
|||||||
helm:
|
helm:
|
||||||
releaseName: immich
|
releaseName: immich
|
||||||
valuesObject:
|
valuesObject:
|
||||||
|
image:
|
||||||
|
tag: {{ .Chart.AppVersion }}
|
||||||
immich:
|
immich:
|
||||||
persistence:
|
persistence:
|
||||||
library:
|
library:
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
# Patterns to ignore when building packages.
|
|
||||||
# This supports shell glob matching, relative path matching, and
|
|
||||||
# negation (prefixed with !). Only one pattern per line.
|
|
||||||
.DS_Store
|
|
||||||
# Common VCS dirs
|
|
||||||
.git/
|
|
||||||
.gitignore
|
|
||||||
.bzr/
|
|
||||||
.bzrignore
|
|
||||||
.hg/
|
|
||||||
.hgignore
|
|
||||||
.svn/
|
|
||||||
# Common backup files
|
|
||||||
*.swp
|
|
||||||
*.bak
|
|
||||||
*.tmp
|
|
||||||
*.orig
|
|
||||||
*~
|
|
||||||
# Various IDEs
|
|
||||||
.project
|
|
||||||
.idea/
|
|
||||||
*.tmproj
|
|
||||||
.vscode/
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
apiVersion: v2
|
|
||||||
name: vaultwarden-argocd-apps
|
|
||||||
description: A Helm chart for Kubernetes
|
|
||||||
type: application
|
|
||||||
version: 0.1.0
|
|
||||||
@@ -1,62 +0,0 @@
|
|||||||
{{/*
|
|
||||||
Expand the name of the chart.
|
|
||||||
*/}}
|
|
||||||
{{- define "vaultwarden-argocd-apps.name" -}}
|
|
||||||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Create a default fully qualified app name.
|
|
||||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
|
||||||
If release name contains chart name it will be used as a full name.
|
|
||||||
*/}}
|
|
||||||
{{- define "vaultwarden-argocd-apps.fullname" -}}
|
|
||||||
{{- if .Values.fullnameOverride }}
|
|
||||||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
|
|
||||||
{{- else }}
|
|
||||||
{{- $name := default .Chart.Name .Values.nameOverride }}
|
|
||||||
{{- if contains $name .Release.Name }}
|
|
||||||
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
|
|
||||||
{{- else }}
|
|
||||||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Create chart name and version as used by the chart label.
|
|
||||||
*/}}
|
|
||||||
{{- define "vaultwarden-argocd-apps.chart" -}}
|
|
||||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Common labels
|
|
||||||
*/}}
|
|
||||||
{{- define "vaultwarden-argocd-apps.labels" -}}
|
|
||||||
helm.sh/chart: {{ include "vaultwarden-argocd-apps.chart" . }}
|
|
||||||
{{ include "vaultwarden-argocd-apps.selectorLabels" . }}
|
|
||||||
{{- if .Chart.AppVersion }}
|
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
|
||||||
{{- end }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Selector labels
|
|
||||||
*/}}
|
|
||||||
{{- define "vaultwarden-argocd-apps.selectorLabels" -}}
|
|
||||||
app.kubernetes.io/name: {{ include "vaultwarden-argocd-apps.name" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Create the name of the service account to use
|
|
||||||
*/}}
|
|
||||||
{{- define "vaultwarden-argocd-apps.serviceAccountName" -}}
|
|
||||||
{{- if .Values.serviceAccount.create }}
|
|
||||||
{{- default (include "vaultwarden-argocd-apps.fullname" .) .Values.serviceAccount.name }}
|
|
||||||
{{- else }}
|
|
||||||
{{- default "default" .Values.serviceAccount.name }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: vaultwarden
|
|
||||||
namespace: {{ .Values.argocd.namespace }}
|
|
||||||
annotations:
|
|
||||||
argocd.argoproj.io/sync-wave: "0"
|
|
||||||
notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: "-1002270587578"
|
|
||||||
spec:
|
|
||||||
project: {{ .Values.argocd.project }}
|
|
||||||
source:
|
|
||||||
repoURL: "https://guerzon.github.io/vaultwarden"
|
|
||||||
chart: vaultwarden
|
|
||||||
targetRevision: v0.29.x
|
|
||||||
helm:
|
|
||||||
releaseName: vaultwarden
|
|
||||||
valuesObject:
|
|
||||||
database:
|
|
||||||
type: postgresql
|
|
||||||
existingSecret: {{ .Values.vaultwarden.dbCluster.secretName }}
|
|
||||||
existingSecretKey: uri
|
|
||||||
ingress:
|
|
||||||
enabled: true
|
|
||||||
destination:
|
|
||||||
server: {{ .Values.mainDestination }}
|
|
||||||
namespace: {{ .Values.mainNamespace }}
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true # Automatically remove resources no longer in the repo
|
|
||||||
selfHeal: true # Automatically self-heal when drift is detected
|
|
||||||
syncOptions:
|
|
||||||
- ApplyOutOfSyncOnly=true
|
|
||||||
- ServerSideApply=true
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: vaultwarden-requirements
|
|
||||||
namespace: {{ .Values.argocd.namespace }}
|
|
||||||
annotations:
|
|
||||||
argocd.argoproj.io/sync-wave: "-1"
|
|
||||||
notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: "-1002270587578"
|
|
||||||
spec:
|
|
||||||
project: {{ .Values.argocd.project }}
|
|
||||||
source:
|
|
||||||
repoURL: {{ .Values.argocd.requirements.repoURL }}
|
|
||||||
targetRevision: {{ .Values.argocd.requirements.targetRevision }}
|
|
||||||
path: {{ .Values.argocd.requirements.path }}
|
|
||||||
helm:
|
|
||||||
releaseName: vaultwarden-requirements
|
|
||||||
valuesObject:
|
|
||||||
vaultwarden:
|
|
||||||
dbCluster:
|
|
||||||
numInstances: {{ .Values.vaultwarden.dbCluster.numInstances }}
|
|
||||||
size: {{ .Values.vaultwarden.dbCluster.size }}
|
|
||||||
dataPvc:
|
|
||||||
name: {{ .Values.vaultwarden.dataPvc.name }}
|
|
||||||
storageClassName: {{ .Values.vaultwarden.dataPvc.storageClassName }}
|
|
||||||
size: {{ .Values.vaultwarden.dataPvc.size }}
|
|
||||||
destination:
|
|
||||||
server: {{ .Values.destination.server }}
|
|
||||||
namespace: {{ .Values.destination.namespace }}
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true # Automatically remove resources no longer in the repo
|
|
||||||
selfHeal: true # Automatically self-heal when drift is detected
|
|
||||||
syncOptions:
|
|
||||||
- ApplyOutOfSyncOnly=true
|
|
||||||
- ServerSideApply=true
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
argocd:
|
|
||||||
namespace: argocd
|
|
||||||
project: default
|
|
||||||
requirements:
|
|
||||||
repoURL: "https://git.blarre.net/thomas/helm-charts.git"
|
|
||||||
targetRevision: HEAD
|
|
||||||
path: vaultwarden-requirements
|
|
||||||
postinstall:
|
|
||||||
repoURL: "https://git.blarre.net/thomas/helm-charts.git"
|
|
||||||
targetRevision: HEAD
|
|
||||||
path: vaultwarden-postinstall
|
|
||||||
|
|
||||||
destination:
|
|
||||||
server: "https://kubernetes.default.svc"
|
|
||||||
namespace: vaultwarden
|
|
||||||
|
|
||||||
vaultwarden:
|
|
||||||
dbCluster:
|
|
||||||
numInstances: 3
|
|
||||||
size: 10Gi
|
|
||||||
secretName: vaultwarden-db-app
|
|
||||||
dataPvc:
|
|
||||||
name: vaultwarden-data
|
|
||||||
storageClassName: ''
|
|
||||||
size: 10Gi
|
|
||||||
FQDN: vaultwarden.domain.net
|
|
||||||
replicaCount: 1
|
|
||||||
|
|
||||||
tailscaleIngresses:
|
|
||||||
odooHostname: odoo
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
# Patterns to ignore when building packages.
|
|
||||||
# This supports shell glob matching, relative path matching, and
|
|
||||||
# negation (prefixed with !). Only one pattern per line.
|
|
||||||
.DS_Store
|
|
||||||
# Common VCS dirs
|
|
||||||
.git/
|
|
||||||
.gitignore
|
|
||||||
.bzr/
|
|
||||||
.bzrignore
|
|
||||||
.hg/
|
|
||||||
.hgignore
|
|
||||||
.svn/
|
|
||||||
# Common backup files
|
|
||||||
*.swp
|
|
||||||
*.bak
|
|
||||||
*.tmp
|
|
||||||
*.orig
|
|
||||||
*~
|
|
||||||
# Various IDEs
|
|
||||||
.project
|
|
||||||
.idea/
|
|
||||||
*.tmproj
|
|
||||||
.vscode/
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
apiVersion: v2
|
|
||||||
name: vaultwarden-postinstall
|
|
||||||
description: A Helm chart for Kubernetes
|
|
||||||
type: application
|
|
||||||
version: 0.1.0
|
|
||||||
@@ -1,62 +0,0 @@
|
|||||||
{{/*
|
|
||||||
Expand the name of the chart.
|
|
||||||
*/}}
|
|
||||||
{{- define "vaultwarden-postinstall.name" -}}
|
|
||||||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Create a default fully qualified app name.
|
|
||||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
|
||||||
If release name contains chart name it will be used as a full name.
|
|
||||||
*/}}
|
|
||||||
{{- define "vaultwarden-postinstall.fullname" -}}
|
|
||||||
{{- if .Values.fullnameOverride }}
|
|
||||||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
|
|
||||||
{{- else }}
|
|
||||||
{{- $name := default .Chart.Name .Values.nameOverride }}
|
|
||||||
{{- if contains $name .Release.Name }}
|
|
||||||
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
|
|
||||||
{{- else }}
|
|
||||||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Create chart name and version as used by the chart label.
|
|
||||||
*/}}
|
|
||||||
{{- define "vaultwarden-postinstall.chart" -}}
|
|
||||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Common labels
|
|
||||||
*/}}
|
|
||||||
{{- define "vaultwarden-postinstall.labels" -}}
|
|
||||||
helm.sh/chart: {{ include "vaultwarden-postinstall.chart" . }}
|
|
||||||
{{ include "vaultwarden-postinstall.selectorLabels" . }}
|
|
||||||
{{- if .Chart.AppVersion }}
|
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
|
||||||
{{- end }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Selector labels
|
|
||||||
*/}}
|
|
||||||
{{- define "vaultwarden-postinstall.selectorLabels" -}}
|
|
||||||
app.kubernetes.io/name: {{ include "vaultwarden-postinstall.name" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Create the name of the service account to use
|
|
||||||
*/}}
|
|
||||||
{{- define "vaultwarden-postinstall.serviceAccountName" -}}
|
|
||||||
{{- if .Values.serviceAccount.create }}
|
|
||||||
{{- default (include "vaultwarden-postinstall.fullname" .) .Values.serviceAccount.name }}
|
|
||||||
{{- else }}
|
|
||||||
{{- default "default" .Values.serviceAccount.name }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
# Patterns to ignore when building packages.
|
|
||||||
# This supports shell glob matching, relative path matching, and
|
|
||||||
# negation (prefixed with !). Only one pattern per line.
|
|
||||||
.DS_Store
|
|
||||||
# Common VCS dirs
|
|
||||||
.git/
|
|
||||||
.gitignore
|
|
||||||
.bzr/
|
|
||||||
.bzrignore
|
|
||||||
.hg/
|
|
||||||
.hgignore
|
|
||||||
.svn/
|
|
||||||
# Common backup files
|
|
||||||
*.swp
|
|
||||||
*.bak
|
|
||||||
*.tmp
|
|
||||||
*.orig
|
|
||||||
*~
|
|
||||||
# Various IDEs
|
|
||||||
.project
|
|
||||||
.idea/
|
|
||||||
*.tmproj
|
|
||||||
.vscode/
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
apiVersion: v2
|
|
||||||
name: vaultwarden-requirements
|
|
||||||
description: A Helm chart for deploying the dbcluster and pvc for vaultwarden
|
|
||||||
type: application
|
|
||||||
version: 0.1.0
|
|
||||||
@@ -1,62 +0,0 @@
|
|||||||
{{/*
|
|
||||||
Expand the name of the chart.
|
|
||||||
*/}}
|
|
||||||
{{- define "vaultwarden-requirements.name" -}}
|
|
||||||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Create a default fully qualified app name.
|
|
||||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
|
||||||
If release name contains chart name it will be used as a full name.
|
|
||||||
*/}}
|
|
||||||
{{- define "vaultwarden-requirements.fullname" -}}
|
|
||||||
{{- if .Values.fullnameOverride }}
|
|
||||||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
|
|
||||||
{{- else }}
|
|
||||||
{{- $name := default .Chart.Name .Values.nameOverride }}
|
|
||||||
{{- if contains $name .Release.Name }}
|
|
||||||
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
|
|
||||||
{{- else }}
|
|
||||||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Create chart name and version as used by the chart label.
|
|
||||||
*/}}
|
|
||||||
{{- define "vaultwarden-requirements.chart" -}}
|
|
||||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Common labels
|
|
||||||
*/}}
|
|
||||||
{{- define "vaultwarden-requirements.labels" -}}
|
|
||||||
helm.sh/chart: {{ include "vaultwarden-requirements.chart" . }}
|
|
||||||
{{ include "vaultwarden-requirements.selectorLabels" . }}
|
|
||||||
{{- if .Chart.AppVersion }}
|
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
|
||||||
{{- end }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Selector labels
|
|
||||||
*/}}
|
|
||||||
{{- define "vaultwarden-requirements.selectorLabels" -}}
|
|
||||||
app.kubernetes.io/name: {{ include "vaultwarden-requirements.name" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Create the name of the service account to use
|
|
||||||
*/}}
|
|
||||||
{{- define "vaultwarden-requirements.serviceAccountName" -}}
|
|
||||||
{{- if .Values.serviceAccount.create }}
|
|
||||||
{{- default (include "vaultwarden-requirements.fullname" .) .Values.serviceAccount.name }}
|
|
||||||
{{- else }}
|
|
||||||
{{- default "default" .Values.serviceAccount.name }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
apiVersion: postgresql.cnpg.io/v1
|
|
||||||
kind: Cluster
|
|
||||||
metadata:
|
|
||||||
name: vaultwarden-db
|
|
||||||
spec:
|
|
||||||
instances: {{ .Values.vaultwarden.dbCluster.numInstances }}
|
|
||||||
storage:
|
|
||||||
size: {{ .Values.vaultwarden.dbCluster.size }}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: {{ .Values.vaultwarden.dataPvc.name }}
|
|
||||||
spec:
|
|
||||||
storageClassName: {{ .Values.vaultwarden.dataPvc.storageClassName }}
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: {{ .Values.vaultwarden.dataPvc.size }}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
vaultwarden:
|
|
||||||
dbCluster:
|
|
||||||
numInstances: 3
|
|
||||||
size: 10Gi
|
|
||||||
dataPvc:
|
|
||||||
name: vaultwarden-data
|
|
||||||
storageClassName: ''
|
|
||||||
size: 10Gi
|
|
||||||
Reference in New Issue
Block a user