backups: add pbs-client image auto update (flux)
This commit is contained in:
@@ -30,7 +30,8 @@
|
||||
"bierner.markdown-preview-github-styles",
|
||||
"sycl.markdown-command-runner",
|
||||
"jeepshen.vscode-markdown-code-runner",
|
||||
"batyan-soft.fast-tasks"
|
||||
"batyan-soft.fast-tasks",
|
||||
"weaveworks.vscode-gitops-tools"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- ./backup-pbs-cronjob.yaml
|
||||
- ./backup-secrets.yaml
|
||||
- backup-pbs-cronjob.yaml
|
||||
- backup-secrets.yaml
|
||||
- pbs-client
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
apiVersion: image.toolkit.fluxcd.io/v1
|
||||
kind: ImagePolicy
|
||||
metadata:
|
||||
name: pbs-client
|
||||
spec:
|
||||
imageRepositoryRef:
|
||||
name: pbs-client
|
||||
filterTags:
|
||||
pattern: '^latest$'
|
||||
policy:
|
||||
alphabetical: {}
|
||||
digestReflectionPolicy: Always
|
||||
interval: 24h
|
||||
@@ -0,0 +1,7 @@
|
||||
apiVersion: image.toolkit.fluxcd.io/v1
|
||||
kind: ImageRepository
|
||||
metadata:
|
||||
name: pbs-client
|
||||
spec:
|
||||
image: oci.limbosolutions.com/public/pbs-client
|
||||
interval: 24h
|
||||
@@ -0,0 +1,26 @@
|
||||
apiVersion: image.toolkit.fluxcd.io/v1
|
||||
kind: ImageUpdateAutomation
|
||||
metadata:
|
||||
name: pbs-client
|
||||
spec:
|
||||
interval: 30m
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: cloud-limbosolutions-com
|
||||
namespace: cloud-limbosolutions-com
|
||||
git:
|
||||
checkout:
|
||||
ref:
|
||||
branch: main
|
||||
commit:
|
||||
author:
|
||||
name: FluxCD
|
||||
email: flux@local
|
||||
messageTemplate: |
|
||||
Update pbs-client image on backups.
|
||||
push:
|
||||
branch: main
|
||||
update:
|
||||
path: deploy/backups
|
||||
strategy: Setters
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- image-policy.yaml
|
||||
- image-repo.yaml
|
||||
- image-update-automation.yaml
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
Reference in New Issue
Block a user