From 190c2cafd13a4cd0c74b030b02b7efdf5e447a34 Mon Sep 17 00:00:00 2001 From: Francesco Murdaca Date: Mon, 10 Jan 2022 15:04:50 +0100 Subject: [PATCH] Add prescription-refresh in stage Signed-off-by: Francesco Murdaca --- .../ocp4-stage/kustomization.yaml | 1 + .../stage-thoth-prescription-refresh-job.yaml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 manifests/overlays/prod/applications/thoth-station/ocp4-stage/stage-thoth-prescription-refresh-job.yaml diff --git a/manifests/overlays/prod/applications/thoth-station/ocp4-stage/kustomization.yaml b/manifests/overlays/prod/applications/thoth-station/ocp4-stage/kustomization.yaml index 407361b5..96d3d0da 100644 --- a/manifests/overlays/prod/applications/thoth-station/ocp4-stage/kustomization.yaml +++ b/manifests/overlays/prod/applications/thoth-station/ocp4-stage/kustomization.yaml @@ -26,6 +26,7 @@ resources: - stage-thoth-package-extract.yaml - stage-thoth-package-releases.yaml - stage-thoth-package-update.yaml +- stage-thoth-prescription-refresh-job.yaml - stage-thoth-purge-job.yaml - stage-thoth-revsolver.yaml - stage-thoth-security-indicators.yaml diff --git a/manifests/overlays/prod/applications/thoth-station/ocp4-stage/stage-thoth-prescription-refresh-job.yaml b/manifests/overlays/prod/applications/thoth-station/ocp4-stage/stage-thoth-prescription-refresh-job.yaml new file mode 100644 index 00000000..1860464e --- /dev/null +++ b/manifests/overlays/prod/applications/thoth-station/ocp4-stage/stage-thoth-prescription-refresh-job.yaml @@ -0,0 +1,18 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: stage-thoth-prescriptions-refresh-job +spec: + project: thoth-stage + source: + repoURL: 'https://github.com/thoth-station/thoth-application.git' + path: prescriptions-refresh-job/overlays/ocp4-stage + targetRevision: master + destination: + server: 'https://api.ocp4.prod.psi.redhat.com:6443' + namespace: thoth-middletier-stage + syncPolicy: + automated: + selfHeal: true + prune: true