diff --git a/apps/test-misael/base/kustomization.yaml b/apps/test-misael/base/kustomization.yaml new file mode 100644 index 000000000..a0d75a77f --- /dev/null +++ b/apps/test-misael/base/kustomization.yaml @@ -0,0 +1,3 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: test-misael diff --git a/apps/test-misael/overlays/dev/config.json b/apps/test-misael/overlays/dev/config.json new file mode 100644 index 000000000..2ca25696b --- /dev/null +++ b/apps/test-misael/overlays/dev/config.json @@ -0,0 +1,11 @@ +{ + "appName": "test-misael", + "userGivenName": "test-misael", + "destNamespace": "test-misael", + "destServer": "https://kubernetes.default.svc", + "srcPath": "apps/test-misael/overlays/dev", + "srcRepoURL": "https://github.com/devxp-tech/gitops.git", + "srcTargetRevision": "", + "CreateNamespace": true, + "labels": null +} diff --git a/apps/test-misael/overlays/dev/kustomization.yaml b/apps/test-misael/overlays/dev/kustomization.yaml new file mode 100644 index 000000000..43b54257e --- /dev/null +++ b/apps/test-misael/overlays/dev/kustomization.yaml @@ -0,0 +1,55 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: test-misael +resources: +- ../../base +helmCharts: +- name: devxp-app + releaseName: devxp-app + version: 0.2.20 + repo: https://devxp-tech.github.io/helm-charts + valuesInline: + name: test-misael + image: + repository: ghcr.io/devxp-tech/test-misael + 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/test-misael/overlays/prd/kustomization.yaml b/apps/test-misael/overlays/prd/kustomization.yaml new file mode 100644 index 000000000..cb3d82d35 --- /dev/null +++ b/apps/test-misael/overlays/prd/kustomization.yaml @@ -0,0 +1,53 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: test-misael +resources: +- ../../base +helmCharts: +- name: devxp-app + releaseName: devxp-app + version: 0.1.81 + repo: https://devxp-tech.github.io/helm-charts + valuesInline: + name: test-misael + image: + repository: ghcr.io/devxp-tech/test-misael + 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