mirror of
https://github.com/lordmathis/dev-cluster.git
synced 2025-12-22 16:44:24 +00:00
Remove image policies
This commit is contained in:
@@ -98,6 +98,10 @@ Provisioning, configuration and manifests for my Kubernetes dev cluster on Hetzn
|
||||
--from-file=age.agekey=/dev/stdin
|
||||
```
|
||||
|
||||
3. **Create GitHub access token**
|
||||
|
||||
[https://fluxcd.io/flux/installation/bootstrap/github/](https://fluxcd.io/flux/installation/bootstrap/github/)
|
||||
|
||||
3. **Bootstrap flux**
|
||||
|
||||
```bash
|
||||
|
||||
@@ -8,7 +8,6 @@ resources:
|
||||
- secret.enc.yaml
|
||||
- release.yaml
|
||||
- ingress.yaml
|
||||
- postgres-image-policy.yaml
|
||||
|
||||
configMapGenerator:
|
||||
- name: gitea-prod-values
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
# /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'
|
||||
@@ -1,12 +0,0 @@
|
||||
# /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'
|
||||
@@ -6,4 +6,3 @@ namespace: k9s
|
||||
resources:
|
||||
- ../../base/k9s-web
|
||||
- ingress.yaml
|
||||
- image-policy.yaml
|
||||
@@ -1,12 +0,0 @@
|
||||
# /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,7 +7,6 @@ resources:
|
||||
- ../../base/lemma
|
||||
- secret.enc.yaml
|
||||
- ingress.yaml
|
||||
- image-policy.yaml
|
||||
|
||||
images:
|
||||
- name: ghcr.io/lordmathis/lemma
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
---
|
||||
apiVersion: image.toolkit.fluxcd.io/v1beta2
|
||||
kind: ImageRepository
|
||||
metadata:
|
||||
name: postgresql
|
||||
namespace: gitea
|
||||
spec:
|
||||
image: docker.io/bitnami/postgresql
|
||||
interval: 1h
|
||||
---
|
||||
apiVersion: image.toolkit.fluxcd.io/v1beta2
|
||||
kind: ImageRepository
|
||||
metadata:
|
||||
name: lemma
|
||||
namespace: lemma
|
||||
spec:
|
||||
image: ghcr.io/lordmathis/lemma
|
||||
interval: 5m
|
||||
---
|
||||
apiVersion: image.toolkit.fluxcd.io/v1beta2
|
||||
kind: ImageRepository
|
||||
metadata:
|
||||
name: k9s-web
|
||||
namespace: k9s
|
||||
spec:
|
||||
image: ghcr.io/lordmathis/k9s-web
|
||||
interval: 5m
|
||||
---
|
||||
Reference in New Issue
Block a user