Skip to content
53 changes: 0 additions & 53 deletions app/deployment.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions app/kustomization.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions app/route.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions app/service.yaml

This file was deleted.

8 changes: 4 additions & 4 deletions argo/app.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: app-spring-petclinic
namespace: openshift-gitops
name: app-test
namespace: test
spec:
destination:
namespace: spring-petclinic
namespace: test
server: https://kubernetes.default.svc
project: default
source:
directory:
recurse: true
path: app
repoURL: https://github.com/redhat-developer/openshift-gitops-getting-started.git
repoURL: https://github.com/dipakkarde/openshift-gitops-getting-started.git
targetRevision: main
syncPolicy:
syncOptions:
Expand Down
4 changes: 2 additions & 2 deletions argo/argocd.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: argoproj.io/v1alpha1
kind: ArgoCD
metadata:
name: myargocd
name: openshift-gitops
spec:
server:
route:
enabled: true
enabled: true
6 changes: 3 additions & 3 deletions argo/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cluster-configs
namespace: openshift-gitops
namespace: test
spec:
destination:
namespace: default
Expand All @@ -12,5 +12,5 @@ spec:
directory:
recurse: true
path: cluster
repoURL: https://github.com/siamaksade/openshift-gitops-getting-started
targetRevision: HEAD
repoURL: https://github.com/dipakkarde/openshift-gitops-getting-started
targetRevision: HEAD
4 changes: 2 additions & 2 deletions cluster/namespace/spring-petclinic-ns.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Namespace
metadata:
name: spring-petclinic
name: test
spec:
finalizers:
- kubernetes
- kubernetes
6 changes: 3 additions & 3 deletions cluster/namespace/spring-petclinic-rolebinding.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: spring-petclinic-role-binding
namespace: spring-petclinic
name: test-role-binding
namespace: test
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: admin
subjects:
- kind: ServiceAccount
name: openshift-gitops-argocd-application-controller
namespace: openshift-gitops
namespace: openshift-gitops