From fc2633c9cb4e743a415282076e0ed76eb8b046bd Mon Sep 17 00:00:00 2001 From: 0pens0 <36497537+0pens0@users.noreply.github.com> Date: Thu, 24 Oct 2024 14:46:47 +0100 Subject: [PATCH] build config --- .../output/containerapp.yml | 16 ++++++------ .../output/package.yml | 8 +++--- .../output/packageinstall.yml | 2 +- .tanzu/config/genai-service-binding.yml | 8 +++--- .tanzu/config/httproute.yml | 25 +++++++++++++++++++ .tanzu/config/postgres-service-binding.yml | 4 +-- 6 files changed, 44 insertions(+), 19 deletions(-) create mode 100644 .tanzu/config/httproute.yml diff --git a/.build-output/apps.tanzu.vmware.com.ContainerApp/spring-metal/kubernetes-carvel-package/output/containerapp.yml b/.build-output/apps.tanzu.vmware.com.ContainerApp/spring-metal/kubernetes-carvel-package/output/containerapp.yml index ddff397..17cb0fa 100644 --- a/.build-output/apps.tanzu.vmware.com.ContainerApp/spring-metal/kubernetes-carvel-package/output/containerapp.yml +++ b/.build-output/apps.tanzu.vmware.com.ContainerApp/spring-metal/kubernetes-carvel-package/output/containerapp.yml @@ -8,17 +8,17 @@ metadata: name: spring-metal spec: content: - buildTimestamp: "2024-10-23T14:05:35Z" - gitCommit: 50f3700838d1ffb1b24de48433040fa0a97d260f-dirty + buildTimestamp: "2024-10-24T13:10:10Z" + gitCommit: df6877e8de53890209dfe3ba3d44bd20f8fd27f5-dirty gitURL: github.com/0pens0/spring-metal.git - packageImage: harbor.vmtanzu.com/openso/spring-metal@sha256:c50d71edc01e48e8a1406a91d9fb4864b235922dbb10ac4bcd60785c391bc843 + packageImage: harbor.vmtanzu.com/openso/spring-metal@sha256:5b60c37e0890271c46ad62a6a369762c26a750439cd9158d2cbbdb3ec8d63a4f packageRefName: spring-metal.apps.local - packageVersion: 20241023.1405.35308 - summary: git:50f3700 @ 2024-10-23T14:05:35Z - version: 20241023.1405.35308 + packageVersion: 20241024.1310.10414 + summary: git:df6877e @ 2024-10-24T13:10:10Z + version: 20241024.1310.10414 health: maxUnavailableReplicas: 10% - image: harbor.vmtanzu.com/openso/spring-metal:20241023.1405.35308@sha256:8b8bf2cc97bf4c0d155f35080d421aa4cb766dd3caecc94d577949da21377684 + image: harbor.vmtanzu.com/openso/spring-metal:20241024.1310.10414@sha256:ff165f4ad2546d8a884ac0ec009dd55fc2998b8715bb5ae050e9ac8072ac8681 nonSecretEnv: - name: JAVA_TOOL_OPTIONS value: -Dmanagement.endpoint.health.probes.add-additional-paths=true -Dmanagement.health.probes.enabled=true @@ -75,7 +75,7 @@ spec: - apiGroup: data.packaging.carvel.dev for: kubernetes.delete kind: Package - name: spring-metal.apps.local.20241023.1405.35308 + name: spring-metal.apps.local.20241024.1310.10414 - for: kubernetes.delete kind: Secret name: spring-metal-values diff --git a/.build-output/apps.tanzu.vmware.com.ContainerApp/spring-metal/kubernetes-carvel-package/output/package.yml b/.build-output/apps.tanzu.vmware.com.ContainerApp/spring-metal/kubernetes-carvel-package/output/package.yml index 4ba1159..619d380 100644 --- a/.build-output/apps.tanzu.vmware.com.ContainerApp/spring-metal/kubernetes-carvel-package/output/package.yml +++ b/.build-output/apps.tanzu.vmware.com.ContainerApp/spring-metal/kubernetes-carvel-package/output/package.yml @@ -5,10 +5,10 @@ metadata: apps.tanzu.vmware.com/promotable: "" apps.tanzu.vmware.com/promote-group: ContainerApp/spring-metal creationTimestamp: null - name: spring-metal.apps.local.20241023.1405.35308 + name: spring-metal.apps.local.20241024.1310.10414 spec: refName: spring-metal.apps.local - releasedAt: "2024-10-23T14:07:01Z" + releasedAt: "2024-10-24T13:12:04Z" template: spec: deploy: @@ -17,7 +17,7 @@ spec: - --wait=false fetch: - imgpkgBundle: - image: harbor.vmtanzu.com/openso/spring-metal@sha256:c50d71edc01e48e8a1406a91d9fb4864b235922dbb10ac4bcd60785c391bc843 + image: harbor.vmtanzu.com/openso/spring-metal@sha256:5b60c37e0890271c46ad62a6a369762c26a750439cd9158d2cbbdb3ec8d63a4f template: - ytt: paths: @@ -28,4 +28,4 @@ spec: - '-' valuesSchema: openAPIv3: null - version: 20241023.1405.35308 + version: 20241024.1310.10414 diff --git a/.build-output/apps.tanzu.vmware.com.ContainerApp/spring-metal/kubernetes-carvel-package/output/packageinstall.yml b/.build-output/apps.tanzu.vmware.com.ContainerApp/spring-metal/kubernetes-carvel-package/output/packageinstall.yml index dd1e682..75a6585 100644 --- a/.build-output/apps.tanzu.vmware.com.ContainerApp/spring-metal/kubernetes-carvel-package/output/packageinstall.yml +++ b/.build-output/apps.tanzu.vmware.com.ContainerApp/spring-metal/kubernetes-carvel-package/output/packageinstall.yml @@ -10,7 +10,7 @@ spec: packageRef: refName: spring-metal.apps.local versionSelection: - constraints: 20241023.1405.35308 + constraints: 20241024.1310.10414 serviceAccountName: carvel-package-installer values: - secretRef: diff --git a/.tanzu/config/genai-service-binding.yml b/.tanzu/config/genai-service-binding.yml index 6570e1a..209d846 100644 --- a/.tanzu/config/genai-service-binding.yml +++ b/.tanzu/config/genai-service-binding.yml @@ -1,7 +1,7 @@ apiVersion: services.tanzu.vmware.com/v1 kind: ServiceBinding metadata: - name: genai-chat-spring-metal + name: gitops-chat-spring-metal namespace: default spec: alias: ai-chat @@ -9,7 +9,7 @@ spec: apiGroup: services.tanzu.vmware.com connectorName: main kind: PreProvisionedService - name: genai-chat + name: gitops-chat targetRef: apiGroup: apps.tanzu.vmware.com kind: ContainerApp @@ -19,7 +19,7 @@ spec: apiVersion: services.tanzu.vmware.com/v1 kind: ServiceBinding metadata: - name: genai-embed-spring-metal + name: gitops-embeddings-spring-metal namespace: default spec: alias: ai-embed @@ -27,7 +27,7 @@ spec: apiGroup: services.tanzu.vmware.com connectorName: main kind: PreProvisionedService - name: genai-embed + name: gitops-embeddings targetRef: apiGroup: apps.tanzu.vmware.com kind: ContainerApp diff --git a/.tanzu/config/httproute.yml b/.tanzu/config/httproute.yml new file mode 100644 index 0000000..e92f778 --- /dev/null +++ b/.tanzu/config/httproute.yml @@ -0,0 +1,25 @@ +apiVersion: gateway.networking.k8s.io/v1beta1 +kind: HTTPRoute +metadata: + name: gitops-assist + annotations: + healthcheck.gslb.tanzu.vmware.com/service: boneyard-assist + healthcheck.gslb.tanzu.vmware.com/path: / + healthcheck.gslb.tanzu.vmware.com/port: "8080" +spec: + parentRefs: + - group: gateway.networking.k8s.io + kind: Gateway + name: default-gateway + sectionName: http-gitops-assist + rules: + - backendRefs: + - group: "" + kind: Service + name: boneyard-assist + port: 8080 + weight: 1 + matches: + - path: + type: PathPrefix + value: / \ No newline at end of file diff --git a/.tanzu/config/postgres-service-binding.yml b/.tanzu/config/postgres-service-binding.yml index ee5ed76..e5db44a 100644 --- a/.tanzu/config/postgres-service-binding.yml +++ b/.tanzu/config/postgres-service-binding.yml @@ -1,7 +1,7 @@ apiVersion: services.tanzu.vmware.com/v1 kind: ServiceBinding metadata: - name: pgvector-spring-metal + name: gitops-pgvector-spring-metal namespace: default spec: alias: db @@ -9,7 +9,7 @@ spec: apiGroup: services.tanzu.vmware.com connectorName: main kind: PreProvisionedService - name: pgvector + name: gitops-db-vector targetRef: apiGroup: apps.tanzu.vmware.com kind: ContainerApp