update app-template chart

This commit is contained in:
2025-05-16 19:37:03 -05:00
parent dd10006f4d
commit be4b22caaa
6 changed files with 13 additions and 26 deletions

View File

@@ -17,7 +17,7 @@ dependencies:
- name: app-template - name: app-template
alias: photoview alias: photoview
repository: https://bjw-s-labs.github.io/helm-charts/ repository: https://bjw-s-labs.github.io/helm-charts/
version: 3.7.3 version: 4.0.1
- name: postgres-cluster - name: postgres-cluster
alias: postgres-17-cluster alias: postgres-17-cluster
version: 5.1.0 version: 5.1.0

View File

@@ -4,11 +4,8 @@ metadata:
name: photoview-postgresql-17-cluster-backup-secret name: photoview-postgresql-17-cluster-backup-secret
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
labels: labels:
app.kubernetes.io/name: photoview-postgresql-17-cluster-backup-secret app.kubernetes.io/name: {{ .Release.Name }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: database
app.kubernetes.io/part-of: {{ .Release.Name }}
spec: spec:
secretStoreRef: secretStoreRef:
kind: ClusterSecretStore kind: ClusterSecretStore

View File

@@ -4,11 +4,8 @@ metadata:
name: http-route-photoview name: http-route-photoview
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
labels: labels:
app.kubernetes.io/name: http-route-photoview app.kubernetes.io/name: {{ .Release.Name }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: web
app.kubernetes.io/part-of: {{ .Release.Name }}
spec: spec:
parentRefs: parentRefs:
- group: gateway.networking.k8s.io - group: gateway.networking.k8s.io

View File

@@ -4,11 +4,8 @@ metadata:
name: photoview-nfs-storage name: photoview-nfs-storage
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
labels: labels:
app.kubernetes.io/name: photoview-nfs-storage app.kubernetes.io/name: {{ .Release.Name }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: storage
app.kubernetes.io/part-of: {{ .Release.Name }}
spec: spec:
volumeName: photoview-nfs-storage volumeName: photoview-nfs-storage
storageClassName: nfs-client storageClassName: nfs-client

View File

@@ -4,11 +4,8 @@ metadata:
name: photoview-nfs-storage name: photoview-nfs-storage
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
labels: labels:
app.kubernetes.io/name: photoview-nfs-storage app.kubernetes.io/name: {{ .Release.Name }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: storage
app.kubernetes.io/part-of: {{ .Release.Name }}
spec: spec:
persistentVolumeReclaimPolicy: Retain persistentVolumeReclaimPolicy: Retain
storageClassName: nfs-client storageClassName: nfs-client

View File

@@ -42,8 +42,6 @@ photoview:
requests: requests:
cpu: 10m cpu: 10m
memory: 512Mi memory: 512Mi
serviceAccount:
create: true
service: service:
main: main:
controller: main controller: main
@@ -53,14 +51,8 @@ photoview:
targetPort: 80 targetPort: 80
protocol: HTTP protocol: HTTP
persistence: persistence:
media:
existingClaim: photoview-nfs-storage
advancedMounts:
main:
main:
- path: /photos
readOnly: true
cache: cache:
forceRename: photoview-cache
storageClass: ceph-block storageClass: ceph-block
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
size: 10Gi size: 10Gi
@@ -73,6 +65,13 @@ photoview:
main: main:
- path: /app/cache - path: /app/cache
readOnly: false readOnly: false
media:
existingClaim: photoview-nfs-storage
advancedMounts:
main:
main:
- path: /photos
readOnly: true
postgres-17-cluster: postgres-17-cluster:
mode: standalone mode: standalone
cluster: cluster: