diff --git a/deploy/acm-app/omc-buildconfig.yaml b/deploy/acm-app/omc-buildconfig.yaml index 93974ab..b5af2a4 100644 --- a/deploy/acm-app/omc-buildconfig.yaml +++ b/deploy/acm-app/omc-buildconfig.yaml @@ -30,4 +30,4 @@ spec: output: to: kind: ImageStreamTag - name: openshift-mini-console:latest + name: openshift-mini-console:v1.0 diff --git a/deploy/acm-app/omc-deployment.yaml b/deploy/acm-app/omc-deployment.yaml index 283e165..89b3aaa 100644 --- a/deploy/acm-app/omc-deployment.yaml +++ b/deploy/acm-app/omc-deployment.yaml @@ -2,7 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: annotations: - image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"openshift-mini-console:latest","namespace":"omc-app"},"fieldPath":"spec.template.spec.containers[?(@.name==\"openshift-mini-console\")].image"}]' + image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"openshift-mini-console:v1.0","namespace":"omc-app"},"fieldPath":"spec.template.spec.containers[?(@.name==\"openshift-mini-console\")].image"}]' labels: app: openshift-mini-console app.kubernetes.io/component: openshift-mini-console diff --git a/deploy/acm/omc-app-policy.yaml b/deploy/acm/omc-app-policy.yaml index df47c4c..6af0afd 100644 --- a/deploy/acm/omc-app-policy.yaml +++ b/deploy/acm/omc-app-policy.yaml @@ -92,7 +92,7 @@ spec: labels: app.kubernetes.io/name: omc annotations: - apps.open-cluster-management.io/git-branch: main + apps.open-cluster-management.io/git-branch: v1.0 apps.open-cluster-management.io/github-path: deploy/acm-app apps.open-cluster-management.io/reconcile-option: merge spec: diff --git a/deploy/acm/omc-pipeline-policy.yaml b/deploy/acm/omc-pipeline-policy.yaml index 5edba84..d7e41f2 100644 --- a/deploy/acm/omc-pipeline-policy.yaml +++ b/deploy/acm/omc-pipeline-policy.yaml @@ -92,7 +92,7 @@ spec: labels: app.kubernetes.io/name: omc-pipeline annotations: - apps.open-cluster-management.io/git-branch: main + apps.open-cluster-management.io/git-branch: v1.0 apps.open-cluster-management.io/github-path: deploy/tekton apps.open-cluster-management.io/reconcile-option: merge spec: diff --git a/deploy/buildconfig/omc-buildconfig.yaml b/deploy/buildconfig/omc-buildconfig.yaml index 65a4fa7..8c8eb03 100644 --- a/deploy/buildconfig/omc-buildconfig.yaml +++ b/deploy/buildconfig/omc-buildconfig.yaml @@ -14,7 +14,7 @@ spec: pip install flask && \ pip install kubernetes && \ mkdir -p /usr/src/app && \ - git clone https://github.com/sa-ne/openshift-mini-console.git /usr/src/app + git clone -b v1.0 https://github.com/sa-ne/openshift-mini-console.git /usr/src/app USER 1001 WORKDIR /usr/src/app EXPOSE 5000 @@ -30,4 +30,4 @@ spec: output: to: kind: ImageStreamTag - name: openshift-mini-console:latest \ No newline at end of file + name: openshift-mini-console:v1.0 diff --git a/deploy/buildconfig/omc-deployment.yaml b/deploy/buildconfig/omc-deployment.yaml index 283e165..89b3aaa 100644 --- a/deploy/buildconfig/omc-deployment.yaml +++ b/deploy/buildconfig/omc-deployment.yaml @@ -2,7 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: annotations: - image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"openshift-mini-console:latest","namespace":"omc-app"},"fieldPath":"spec.template.spec.containers[?(@.name==\"openshift-mini-console\")].image"}]' + image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"openshift-mini-console:v1.0","namespace":"omc-app"},"fieldPath":"spec.template.spec.containers[?(@.name==\"openshift-mini-console\")].image"}]' labels: app: openshift-mini-console app.kubernetes.io/component: openshift-mini-console diff --git a/deploy/tekton/omc-pipeline.yaml b/deploy/tekton/omc-pipeline.yaml index 8e193e4..cffc13d 100644 --- a/deploy/tekton/omc-pipeline.yaml +++ b/deploy/tekton/omc-pipeline.yaml @@ -23,7 +23,7 @@ spec: - name: url value: https://github.com/sa-ne/openshift-mini-console.git - name: revision - value: main + value: v1.0 - name: build-image taskRef: name: buildah