mirror of
https://github.com/lordmathis/dev-cluster.git
synced 2025-12-22 08:34:22 +00:00
Move image policies to apps
This commit is contained in:
@@ -8,6 +8,7 @@ resources:
|
||||
- secret.enc.yaml
|
||||
- release.yaml
|
||||
- ingress.yaml
|
||||
- postgres-image-policy.yaml
|
||||
|
||||
configMapGenerator:
|
||||
- name: gitea-prod-values
|
||||
|
||||
12
apps/prod/gitea/postgres-image-policy.yaml
Normal file
12
apps/prod/gitea/postgres-image-policy.yaml
Normal 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'
|
||||
12
apps/prod/k9s-web/image-policy.yaml
Normal file
12
apps/prod/k9s-web/image-policy.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
# /apps/prod/k9s-web/image-policy.yaml
|
||||
apiVersion: image.toolkit.fluxcd.io/v1beta2
|
||||
kind: ImagePolicy
|
||||
metadata:
|
||||
name: k9s-web
|
||||
namespace: k9s
|
||||
spec:
|
||||
imageRepositoryRef:
|
||||
name: k9s-web
|
||||
policy:
|
||||
semver:
|
||||
range: '>=0.4.0 <1.0.0'
|
||||
@@ -5,4 +5,5 @@ namespace: k9s
|
||||
|
||||
resources:
|
||||
- ../../base/k9s-web
|
||||
- ingress.yaml
|
||||
- ingress.yaml
|
||||
- image-policy.yaml
|
||||
12
apps/prod/lemma/image-policy.yaml
Normal file
12
apps/prod/lemma/image-policy.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
# /apps/prod/lemma/image-policy.yaml
|
||||
apiVersion: image.toolkit.fluxcd.io/v1beta2
|
||||
kind: ImagePolicy
|
||||
metadata:
|
||||
name: lemma
|
||||
namespace: lemma
|
||||
spec:
|
||||
imageRepositoryRef:
|
||||
name: lemma
|
||||
policy:
|
||||
semver:
|
||||
range: '>=0.4.1 <1.0.0'
|
||||
@@ -7,6 +7,7 @@ resources:
|
||||
- ../../base/lemma
|
||||
- secret.enc.yaml
|
||||
- ingress.yaml
|
||||
- image-policy.yaml
|
||||
|
||||
images:
|
||||
- name: ghcr.io/lordmathis/lemma
|
||||
|
||||
Reference in New Issue
Block a user