mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-09 13:40:06 +00:00
Implement OCIRepository commands
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
12a491f538
commit
2d8db4f20d
14 changed files with 681 additions and 2 deletions
21
.github/workflows/e2e.yaml
vendored
21
.github/workflows/e2e.yaml
vendored
|
|
@ -168,6 +168,27 @@ jobs:
|
|||
- name: flux delete source git
|
||||
run: |
|
||||
/tmp/flux delete source git podinfo --silent
|
||||
- name: flux oci
|
||||
run: |
|
||||
/tmp/flux create source oci podinfo-oci \
|
||||
--url ghcr.io/stefanprodan/manifests/podinfo \
|
||||
--tag 6.1.6 \
|
||||
--interval 10m
|
||||
/tmp/flux create kustomization podinfo-oci \
|
||||
--source=OCIRepository/podinfo-oci \
|
||||
--path="./kustomize" \
|
||||
--prune=true \
|
||||
--interval=5m \
|
||||
--target-namespace=default \
|
||||
--wait=true \
|
||||
--health-check-timeout=3m
|
||||
/tmp/flux reconcile source oci podinfo-oci
|
||||
/tmp/flux suspend source oci podinfo-oci
|
||||
/tmp/flux get sources oci
|
||||
/tmp/flux resume source oci podinfo-oci
|
||||
/tmp/flux export source oci podinfo-oci
|
||||
/tmp/flux delete ks podinfo-oci --silent
|
||||
/tmp/flux delete source oci podinfo-oci --silent
|
||||
- name: flux create tenant
|
||||
run: |
|
||||
/tmp/flux create tenant dev-team --with-namespace=apps
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue