From 4ac42b356bd3dcd5f3ec3079e49603d8578a928e Mon Sep 17 00:00:00 2001 From: dipakkarde <88081595+dipakkarde@users.noreply.github.com> Date: Sun, 11 Feb 2024 16:03:37 +0530 Subject: [PATCH 01/13] Update app.yaml --- argo/app.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/argo/app.yaml b/argo/app.yaml index 2fc738e..4d78be9 100644 --- a/argo/app.yaml +++ b/argo/app.yaml @@ -2,7 +2,7 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: app-spring-petclinic - namespace: openshift-gitops + namespace: test spec: destination: namespace: spring-petclinic From 6a7b3a8142f83f24e2b4c2f3a65f2a40afbc65a7 Mon Sep 17 00:00:00 2001 From: dipakkarde <88081595+dipakkarde@users.noreply.github.com> Date: Sun, 11 Feb 2024 16:04:18 +0530 Subject: [PATCH 02/13] Update app.yaml --- argo/app.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/argo/app.yaml b/argo/app.yaml index 4d78be9..798da59 100644 --- a/argo/app.yaml +++ b/argo/app.yaml @@ -1,11 +1,11 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: - name: app-spring-petclinic + name: app-test namespace: test spec: destination: - namespace: spring-petclinic + namespace: test server: https://kubernetes.default.svc project: default source: From 4743805e9d2ccefe66e4b724f4ec3c44a5ba2d96 Mon Sep 17 00:00:00 2001 From: dipakkarde <88081595+dipakkarde@users.noreply.github.com> Date: Sun, 11 Feb 2024 16:07:01 +0530 Subject: [PATCH 03/13] Update deployment.yaml --- app/deployment.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/deployment.yaml b/app/deployment.yaml index 5094629..2c72596 100644 --- a/app/deployment.yaml +++ b/app/deployment.yaml @@ -3,25 +3,25 @@ kind: Deployment metadata: annotations: labels: - app: spring-petclinic + app: test app.kubernetes.io/component: web - app.kubernetes.io/instance: spring-petclinic - app.kubernetes.io/name: spring-petclinic - app.kubernetes.io/part-of: spring-petclinic + app.kubernetes.io/instance: test + app.kubernetes.io/name: test + app.kubernetes.io/part-of: test app.openshift.io/runtime: java - name: spring-petclinic + name: test spec: replicas: 1 selector: matchLabels: - app: spring-petclinic + app: test template: metadata: labels: - app: spring-petclinic + app: test spec: containers: - - name: spring-petclinic + - name: test imagePullPolicy: Always image: quay.io/service-binding/spring-petclinic:latest livenessProbe: From 0605f08dcbd6e4bdfa848fd4fd82d544fd4e26c4 Mon Sep 17 00:00:00 2001 From: dipakkarde <88081595+dipakkarde@users.noreply.github.com> Date: Sun, 11 Feb 2024 16:07:38 +0530 Subject: [PATCH 04/13] Update route.yaml --- app/route.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/route.yaml b/app/route.yaml index 44930ea..4ef31e1 100644 --- a/app/route.yaml +++ b/app/route.yaml @@ -2,12 +2,12 @@ apiVersion: route.openshift.io/v1 kind: Route metadata: labels: - app: spring-petclinic - name: spring-petclinic + app: test + name: test spec: port: targetPort: 8080-tcp to: kind: Service - name: spring-petclinic + name: test weight: 100 From 9bccf4b6dc87c008b99679b4c1178b292d566fc8 Mon Sep 17 00:00:00 2001 From: dipakkarde <88081595+dipakkarde@users.noreply.github.com> Date: Sun, 11 Feb 2024 16:08:20 +0530 Subject: [PATCH 05/13] Update service.yaml --- app/service.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/service.yaml b/app/service.yaml index d7caef2..522a7b7 100644 --- a/app/service.yaml +++ b/app/service.yaml @@ -2,8 +2,8 @@ apiVersion: v1 kind: Service metadata: labels: - app: spring-petclinic - name: spring-petclinic + app: test + name: test spec: ports: - name: 8080-tcp @@ -19,6 +19,6 @@ spec: protocol: TCP targetPort: 8778 selector: - app: spring-petclinic + app: test sessionAffinity: None - type: ClusterIP \ No newline at end of file + type: ClusterIP From bbbfad1cb3bcb6c26d38e7de3e6fa46376a67396 Mon Sep 17 00:00:00 2001 From: dipakkarde <88081595+dipakkarde@users.noreply.github.com> Date: Sun, 11 Feb 2024 16:21:11 +0530 Subject: [PATCH 06/13] Update app.yaml --- argo/app.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/argo/app.yaml b/argo/app.yaml index 798da59..9df068d 100644 --- a/argo/app.yaml +++ b/argo/app.yaml @@ -12,7 +12,7 @@ spec: 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: From 8151fefcfa6c825ceb37c0a73c292708189ab85a Mon Sep 17 00:00:00 2001 From: dipakkarde <88081595+dipakkarde@users.noreply.github.com> Date: Tue, 13 Feb 2024 18:08:55 +0530 Subject: [PATCH 07/13] Update argocd.yaml --- argo/argocd.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/argo/argocd.yaml b/argo/argocd.yaml index abd9e9a..c6e0742 100644 --- a/argo/argocd.yaml +++ b/argo/argocd.yaml @@ -1,8 +1,8 @@ apiVersion: argoproj.io/v1alpha1 kind: ArgoCD metadata: - name: myargocd + name: openshift-gitops spec: server: route: - enabled: true \ No newline at end of file + enabled: true From b58e281901e98870fc6c1102309ffe10d5bb80ac Mon Sep 17 00:00:00 2001 From: dipakkarde <88081595+dipakkarde@users.noreply.github.com> Date: Tue, 13 Feb 2024 18:09:21 +0530 Subject: [PATCH 08/13] Update cluster.yaml --- argo/cluster.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/argo/cluster.yaml b/argo/cluster.yaml index 7da7eab..d60f3b9 100644 --- a/argo/cluster.yaml +++ b/argo/cluster.yaml @@ -2,7 +2,7 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: cluster-configs - namespace: openshift-gitops + namespace: test spec: destination: namespace: default @@ -13,4 +13,4 @@ spec: recurse: true path: cluster repoURL: https://github.com/siamaksade/openshift-gitops-getting-started - targetRevision: HEAD \ No newline at end of file + targetRevision: HEAD From 0d0302b1a9ec2ba96a8f449f9a0f2a87d9207f84 Mon Sep 17 00:00:00 2001 From: dipakkarde <88081595+dipakkarde@users.noreply.github.com> Date: Tue, 13 Feb 2024 18:09:45 +0530 Subject: [PATCH 09/13] Update cluster.yaml --- argo/cluster.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/argo/cluster.yaml b/argo/cluster.yaml index d60f3b9..804f6ba 100644 --- a/argo/cluster.yaml +++ b/argo/cluster.yaml @@ -12,5 +12,5 @@ spec: directory: recurse: true path: cluster - repoURL: https://github.com/siamaksade/openshift-gitops-getting-started + repoURL: https://github.com/dipakkarde/openshift-gitops-getting-started targetRevision: HEAD From 7d25720e0ea818f2d42a4cf016b1e116a02494b9 Mon Sep 17 00:00:00 2001 From: dipakkarde <88081595+dipakkarde@users.noreply.github.com> Date: Tue, 13 Feb 2024 18:10:14 +0530 Subject: [PATCH 10/13] Update spring-petclinic-ns.yaml --- cluster/namespace/spring-petclinic-ns.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cluster/namespace/spring-petclinic-ns.yaml b/cluster/namespace/spring-petclinic-ns.yaml index 99b8af5..b686dda 100644 --- a/cluster/namespace/spring-petclinic-ns.yaml +++ b/cluster/namespace/spring-petclinic-ns.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: Namespace metadata: - name: spring-petclinic + name: test spec: finalizers: - - kubernetes \ No newline at end of file + - kubernetes From dc76def4f6a08c1cb10271ddb087894f33f40e2c Mon Sep 17 00:00:00 2001 From: dipakkarde <88081595+dipakkarde@users.noreply.github.com> Date: Tue, 13 Feb 2024 18:10:43 +0530 Subject: [PATCH 11/13] Update spring-petclinic-rolebinding.yaml --- cluster/namespace/spring-petclinic-rolebinding.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cluster/namespace/spring-petclinic-rolebinding.yaml b/cluster/namespace/spring-petclinic-rolebinding.yaml index a1d0453..7d26641 100644 --- a/cluster/namespace/spring-petclinic-rolebinding.yaml +++ b/cluster/namespace/spring-petclinic-rolebinding.yaml @@ -1,8 +1,8 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: - name: spring-petclinic-role-binding - namespace: spring-petclinic + name: testc-role-binding + namespace: test roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -10,4 +10,4 @@ roleRef: subjects: - kind: ServiceAccount name: openshift-gitops-argocd-application-controller - namespace: openshift-gitops \ No newline at end of file + namespace: openshift-gitops From 3d99a29746e3c5c05dfb956dc8db799a1c454111 Mon Sep 17 00:00:00 2001 From: dipakkarde <88081595+dipakkarde@users.noreply.github.com> Date: Tue, 13 Feb 2024 18:10:52 +0530 Subject: [PATCH 12/13] Update spring-petclinic-rolebinding.yaml --- cluster/namespace/spring-petclinic-rolebinding.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/namespace/spring-petclinic-rolebinding.yaml b/cluster/namespace/spring-petclinic-rolebinding.yaml index 7d26641..d8862bf 100644 --- a/cluster/namespace/spring-petclinic-rolebinding.yaml +++ b/cluster/namespace/spring-petclinic-rolebinding.yaml @@ -1,7 +1,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: - name: testc-role-binding + name: test-role-binding namespace: test roleRef: apiGroup: rbac.authorization.k8s.io From 5dc5e9c679d2462dbaf6d711410044b627ff53cc Mon Sep 17 00:00:00 2001 From: dipakkarde <88081595+dipakkarde@users.noreply.github.com> Date: Fri, 27 Jun 2025 15:23:41 +0530 Subject: [PATCH 13/13] Delete app directory --- app/deployment.yaml | 53 ------------------------------------------ app/kustomization.yaml | 4 ---- app/route.yaml | 13 ----------- app/service.yaml | 24 ------------------- 4 files changed, 94 deletions(-) delete mode 100644 app/deployment.yaml delete mode 100644 app/kustomization.yaml delete mode 100644 app/route.yaml delete mode 100644 app/service.yaml diff --git a/app/deployment.yaml b/app/deployment.yaml deleted file mode 100644 index 2c72596..0000000 --- a/app/deployment.yaml +++ /dev/null @@ -1,53 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - labels: - app: test - app.kubernetes.io/component: web - app.kubernetes.io/instance: test - app.kubernetes.io/name: test - app.kubernetes.io/part-of: test - app.openshift.io/runtime: java - name: test -spec: - replicas: 1 - selector: - matchLabels: - app: test - template: - metadata: - labels: - app: test - spec: - containers: - - name: test - imagePullPolicy: Always - image: quay.io/service-binding/spring-petclinic:latest - livenessProbe: - failureThreshold: 3 - httpGet: - path: / - port: 8080 - scheme: HTTP - initialDelaySeconds: 45 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 1 - ports: - - containerPort: 8080 - protocol: TCP - - containerPort: 8443 - protocol: TCP - - containerPort: 8778 - protocol: TCP - readinessProbe: - failureThreshold: 3 - httpGet: - path: / - port: 8080 - scheme: HTTP - initialDelaySeconds: 45 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 5 diff --git a/app/kustomization.yaml b/app/kustomization.yaml deleted file mode 100644 index 7fca0b7..0000000 --- a/app/kustomization.yaml +++ /dev/null @@ -1,4 +0,0 @@ -resources: -- deployment.yaml -- service.yaml -- route.yaml \ No newline at end of file diff --git a/app/route.yaml b/app/route.yaml deleted file mode 100644 index 4ef31e1..0000000 --- a/app/route.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: route.openshift.io/v1 -kind: Route -metadata: - labels: - app: test - name: test -spec: - port: - targetPort: 8080-tcp - to: - kind: Service - name: test - weight: 100 diff --git a/app/service.yaml b/app/service.yaml deleted file mode 100644 index 522a7b7..0000000 --- a/app/service.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app: test - name: test -spec: - ports: - - name: 8080-tcp - port: 8080 - protocol: TCP - targetPort: 8080 - - name: 8443-tcp - port: 8443 - protocol: TCP - targetPort: 8443 - - name: 8778-tcp - port: 8778 - protocol: TCP - targetPort: 8778 - selector: - app: test - sessionAffinity: None - type: ClusterIP