Move image policies to apps

This commit is contained in:
2025-01-02 17:43:29 +01:00
parent 7368bf3ba9
commit 53bb4cb41b
8 changed files with 45 additions and 39 deletions

View File

@@ -8,6 +8,7 @@ resources:
- secret.enc.yaml
- release.yaml
- ingress.yaml
- postgres-image-policy.yaml
configMapGenerator:
- name: gitea-prod-values

View File

@@ -0,0 +1,12 @@
# /apps/prod/gitea/postgres-image-policy.yaml
apiVersion: image.toolkit.fluxcd.io/v1beta2
kind: ImagePolicy
metadata:
name: postgresql
namespace: gitea
spec:
imageRepositoryRef:
name: postgresql
policy:
semver:
range: '>=15.3.0 <16.0.0'