From ab22203f4f8bd6209eed10c24fe4b5be16df7c04 Mon Sep 17 00:00:00 2001 From: THG Date: Wed, 2 Apr 2025 06:16:03 -0300 Subject: [PATCH] Created from Backstage template --- .../base/kustomization.yaml | 3 + .../overlays/dev/config.json | 11 ++++ .../overlays/dev/kustomization.yaml | 55 +++++++++++++++++++ .../overlays/prd/kustomization.yaml | 53 ++++++++++++++++++ 4 files changed, 122 insertions(+) create mode 100644 apps/hashgraph-ssi-service/base/kustomization.yaml create mode 100644 apps/hashgraph-ssi-service/overlays/dev/config.json create mode 100644 apps/hashgraph-ssi-service/overlays/dev/kustomization.yaml create mode 100644 apps/hashgraph-ssi-service/overlays/prd/kustomization.yaml diff --git a/apps/hashgraph-ssi-service/base/kustomization.yaml b/apps/hashgraph-ssi-service/base/kustomization.yaml new file mode 100644 index 000000000..bfdc14352 --- /dev/null +++ b/apps/hashgraph-ssi-service/base/kustomization.yaml @@ -0,0 +1,3 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: hashgraph-ssi-service diff --git a/apps/hashgraph-ssi-service/overlays/dev/config.json b/apps/hashgraph-ssi-service/overlays/dev/config.json new file mode 100644 index 000000000..256522174 --- /dev/null +++ b/apps/hashgraph-ssi-service/overlays/dev/config.json @@ -0,0 +1,11 @@ +{ + "appName": "hashgraph-ssi-service", + "userGivenName": "hashgraph-ssi-service", + "destNamespace": "hashgraph-ssi-service", + "destServer": "https://kubernetes.default.svc", + "srcPath": "apps/hashgraph-ssi-service/overlays/dev", + "srcRepoURL": "https://github.com/devxp-tech/gitops.git", + "srcTargetRevision": "", + "CreateNamespace": true, + "labels": null +} diff --git a/apps/hashgraph-ssi-service/overlays/dev/kustomization.yaml b/apps/hashgraph-ssi-service/overlays/dev/kustomization.yaml new file mode 100644 index 000000000..477a83070 --- /dev/null +++ b/apps/hashgraph-ssi-service/overlays/dev/kustomization.yaml @@ -0,0 +1,55 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: hashgraph-ssi-service +resources: +- ../../base +helmCharts: +- name: devxp-app + releaseName: devxp-app + version: 0.2.20 + repo: https://devxp-tech.github.io/helm-charts + valuesInline: + name: hashgraph-ssi-service + image: + repository: ghcr.io/devxp-tech/hashgraph-ssi-service + tag: latest + autoscaling: + enabled: true + minReplicas: 1 + maxReplicas: 2 + targetCPUUtilizationPercentage: 80 + resources: + requests: + memory: 64Mi + cpu: 50m + limits: + memory: 128Mi + cpu: 100m + network: + enabled: true + domain: devxp-tech.io + service: + type: ClusterIP + port: 80 + probe: + enabled: true + livenessProbe: + path: /health-check/liveness + port: 8080 + readinessProbe: + path: /health-check/readiness + port: 8080 + deploy: + enabled: true + sa: + enabled: true + quota: + enabled: true + requests: + memory: 1Gi + cpu: 1 + limits: + memory: 2Gi + cpu: 2 + + diff --git a/apps/hashgraph-ssi-service/overlays/prd/kustomization.yaml b/apps/hashgraph-ssi-service/overlays/prd/kustomization.yaml new file mode 100644 index 000000000..44252105e --- /dev/null +++ b/apps/hashgraph-ssi-service/overlays/prd/kustomization.yaml @@ -0,0 +1,53 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: hashgraph-ssi-service +resources: +- ../../base +helmCharts: +- name: devxp-app + releaseName: devxp-app + version: 0.1.81 + repo: https://devxp-tech.github.io/helm-charts + valuesInline: + name: hashgraph-ssi-service + image: + repository: ghcr.io/devxp-tech/hashgraph-ssi-service + tag: latest + autoscaling: + enabled: true + minReplicas: 1 + maxReplicas: 2 + targetCPUUtilizationPercentage: 80 + resources: + requests: + memory: 64Mi + cpu: 50m + limits: + memory: 128Mi + cpu: 100m + network: + enabled: true + domain: devxp-tech.io + service: + type: ClusterIP + port: 80 + probe: + enabled: true + livenessProbe: + path: /health-check/liveness + port: 8080 + readinessProbe: + path: /health-check/readiness + port: 8080 + deploy: + enabled: true + sa: + enabled: true + quota: + enabled: true + requests: + memory: 1Gi + cpu: 1 + limits: + memory: 2Gi + cpu: 2 \ No newline at end of file