Skip to content

Commit

Permalink
Updating tag/branch for v1.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
nasx committed Nov 3, 2021
1 parent 8a8052f commit 6692787
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion deploy/acm-app/omc-buildconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ spec:
output:
to:
kind: ImageStreamTag
name: openshift-mini-console:latest
name: openshift-mini-console:v1.0
2 changes: 1 addition & 1 deletion deploy/acm-app/omc-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion deploy/acm/omc-app-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion deploy/acm/omc-pipeline-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions deploy/buildconfig/omc-buildconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -30,4 +30,4 @@ spec:
output:
to:
kind: ImageStreamTag
name: openshift-mini-console:latest
name: openshift-mini-console:v1.0
2 changes: 1 addition & 1 deletion deploy/buildconfig/omc-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion deploy/tekton/omc-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6692787

Please sign in to comment.