Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating quay.io/redhatworkshops images #15

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/bgd/base/bgd-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
app: bgd
spec:
containers:
- image: quay.io/rhdevelopers/bgd:1.0.0
- image: quay.io/redhatworkshops/bgd:latest
name: bgd
env:
- name: COLOR
Expand Down
14 changes: 0 additions & 14 deletions apps/bgd/base/bgd-route.yaml

This file was deleted.

1 change: 1 addition & 0 deletions apps/bgd/base/bgd-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ metadata:
name: bgd
namespace: bgd
spec:
type: NodePort
ports:
- port: 8080
protocol: TCP
Expand Down
3 changes: 1 addition & 2 deletions apps/bgd/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
namespace: bgd
resources:
- bgd-svc.yaml
- bgd-deployment.yaml
- bgd-route.yaml
- bgd-deployment.yaml
2 changes: 1 addition & 1 deletion apps/bgd/overlays/bgd/bgd-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
app: bgd
spec:
containers:
- image: quay.io/rhdevelopers/bgd:1.0.0
- image: quay.io/redhatworkshops/bgd:latest
name: bgd
env:
- name: COLOR
Expand Down
23 changes: 23 additions & 0 deletions bgd-dharan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: bgd-app-dharan
namespace: openshift-gitops
spec:
destination:
namespace: bgd
server: https://kubernetes.default.svc
project: default
source:
#path: apps/bgd/overlays/bgd
path: apps/bgd/base
#repoURL: https://github.com/redhat-developer-demos/openshift-gitops-examples
repoURL: https://github.com/ktdharan/openshift-gitops-examples
#targetRevision: main
targetRevision: updating-quay.io/redhatworkshops-images
syncPolicy:
automated:
prune: true
selfHeal: false
syncOptions:
- CreateNamespace=true