Compare commits
2
Commits
02b375d7e6
...
1cc6cfcc42
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1cc6cfcc42 | ||
|
|
e42a9ba6c6 |
@@ -0,0 +1,16 @@
|
|||||||
|
# Rolls out each push of :latest by pinning its digest on the Application, so
|
||||||
|
# CI never commits a tag
|
||||||
|
apiVersion: argocd-image-updater.argoproj.io/v1alpha1
|
||||||
|
kind: ImageUpdater
|
||||||
|
metadata:
|
||||||
|
name: applications
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
applicationRefs:
|
||||||
|
- namePattern: applications
|
||||||
|
images:
|
||||||
|
- alias: app
|
||||||
|
imageName: ghcr.io/pixelos-ci/applications:latest
|
||||||
|
commonUpdateSettings:
|
||||||
|
updateStrategy: digest
|
||||||
|
pullSecret: pullsecret:argocd/ghcr-pull
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- applications.yaml
|
||||||
|
- networkpolicy.yaml
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
# DNS, the API, and container registries over HTTPS; kubelet probes the
|
||||||
|
# health port
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: NetworkPolicy
|
||||||
|
metadata:
|
||||||
|
name: argocd-image-updater
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
egress:
|
||||||
|
- ports:
|
||||||
|
- port: 53
|
||||||
|
protocol: UDP
|
||||||
|
- port: 53
|
||||||
|
protocol: TCP
|
||||||
|
to:
|
||||||
|
- namespaceSelector:
|
||||||
|
matchLabels:
|
||||||
|
kubernetes.io/metadata.name: kube-system
|
||||||
|
podSelector:
|
||||||
|
matchLabels:
|
||||||
|
k8s-app: kube-dns
|
||||||
|
- ports:
|
||||||
|
- port: 6443
|
||||||
|
protocol: TCP
|
||||||
|
- ports:
|
||||||
|
- port: 443
|
||||||
|
protocol: TCP
|
||||||
|
ingress:
|
||||||
|
- ports:
|
||||||
|
- port: 8081
|
||||||
|
protocol: TCP
|
||||||
|
podSelector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: argocd-image-updater
|
||||||
|
policyTypes:
|
||||||
|
- Ingress
|
||||||
|
- Egress
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/client-side-apply-migration-manager: argocd-controller
|
||||||
|
argocd.argoproj.io/sync-wave: "1"
|
||||||
|
name: argocd-image-updater
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
destination:
|
||||||
|
namespace: argocd
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- chart: argocd-image-updater
|
||||||
|
repoURL: https://argoproj.github.io/argo-helm
|
||||||
|
targetRevision: 1.4.0
|
||||||
|
helm:
|
||||||
|
values: |
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 200m
|
||||||
|
memory: 256Mi
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 64Mi
|
||||||
|
- path: add-ons/argocd-image-updater
|
||||||
|
repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
|
||||||
|
targetRevision: main
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- ServerSideApply=true
|
||||||
@@ -3,6 +3,7 @@ kind: Kustomization
|
|||||||
resources:
|
resources:
|
||||||
- alloy.yaml
|
- alloy.yaml
|
||||||
- argocd-dashboard.yaml
|
- argocd-dashboard.yaml
|
||||||
|
- argocd-image-updater.yaml
|
||||||
- authentik.yaml
|
- authentik.yaml
|
||||||
- cert-manager.yaml
|
- cert-manager.yaml
|
||||||
- cnpg.yaml
|
- cnpg.yaml
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/client-side-apply-migration-manager: argocd-controller
|
||||||
|
argocd.argoproj.io/sync-wave: "3"
|
||||||
|
name: applications
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
destination:
|
||||||
|
namespace: pixelos
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
project: default
|
||||||
|
# Private; read with the applications-repo deploy key
|
||||||
|
source:
|
||||||
|
path: k8s
|
||||||
|
repoURL: [email protected]:PixelOS-CI/applications.git
|
||||||
|
targetRevision: main
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
- ServerSideApply=true
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
|
- applications.yaml
|
||||||
- bentopdf.yaml
|
- bentopdf.yaml
|
||||||
- betterslcm.yaml
|
- betterslcm.yaml
|
||||||
- garage.yaml
|
- garage.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user