diff --git a/deployment/helm/Chart.yaml b/deployment/helm/Chart.yaml index 259e84649f2be035e95b7ac6c48f9ce50e8dd5be..a966cad92ac22297df382de903de1a476c284fc9 100644 --- a/deployment/helm/Chart.yaml +++ b/deployment/helm/Chart.yaml @@ -3,4 +3,3 @@ appVersion: v1.0.1-rc description: task deployment name: task version: 1.0.1 -icon: "https://www.vereign.com/wp-content/themes/vereign2020/images/vereign-logo.svg" diff --git a/deployment/helm/README.md b/deployment/helm/README.md deleted file mode 100644 index 13c7ca57b952bd697927ba388c5aaac3d2f41620..0000000000000000000000000000000000000000 --- a/deployment/helm/README.md +++ /dev/null @@ -1,59 +0,0 @@ -# task - -  - -task deployment - -## Values - -| Key | Type | Default | Description | -|-----|------|---------|-------------| -| addresses.cache | string | `"http://cache:8080"` | | -| addresses.policy | string | `"http://policy:8080"` | | -| autoscaling.enabled | bool | `false` | Enable autoscaling | -| autoscaling.maxReplicas | int | `3` | Maximum replicas | -| autoscaling.minReplicas | int | `1` | Minimum replicas | -| autoscaling.targetCPUUtilizationPercentage | int | `70` | CPU target for autoscaling trigger | -| autoscaling.targetMemoryUtilizationPercentage | int | `70` | Memory target for autoscaling trigger | -| image.name | string | `"gaiax/task"` | Image name | -| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy | -| image.pullSecrets | string | `"deployment-key-light"` | Image pull secret when internal image is used | -| image.repository | string | `"eu.gcr.io/vrgn-infra-prj"` | | -| image.sha | string | `""` | Image sha, usually generated by the CI Uses image.tag if empty | -| image.tag | string | `""` | Image tag Uses .Chart.AppVersion if empty | -| ingress.annotations."cert-manager.io/cluster-issuer" | string | `"letsencrypt-production-http"` | | -| ingress.annotations."kubernetes.io/ingress.class" | string | `"nginx"` | | -| ingress.annotations."kubernetes.io/ingress.global-static-ip-name" | string | `"dev-light-public"` | | -| ingress.annotations."nginx.ingress.kubernetes.io/rewrite-target" | string | `"/$2"` | | -| ingress.enabled | bool | `true` | | -| ingress.frontendDomain | string | `"gaiax.vereign.com"` | | -| ingress.frontendTlsSecretName | string | `"cert-manager-tls"` | | -| ingress.tlsEnabled | bool | `true` | | -| log.encoding | string | `"json"` | | -| log.level | string | `"debug"` | | -| metrics.enabled | bool | `true` | Enable prometheus metrics | -| metrics.port | int | `2112` | Port for prometheus metrics | -| mongo.addr | string | `"mongodb://mongodb-mongodb-replicaset.infra:27017/task?replicaSet=rs0&authSource=admin"` | | -| mongo.dbname | string | `"task"` | | -| mongo.pass | string | `""` | | -| mongo.user | string | `""` | | -| name | string | `"task"` | Application name | -| nameOverride | string | `""` | Ovverwrites application name | -| podAnnotations | object | `{}` | | -| replicaCount | int | `1` | Default number of instances to start | -| resources.limits.cpu | string | `"150m"` | | -| resources.limits.memory | string | `"128Mi"` | | -| resources.requests.cpu | string | `"25m"` | | -| resources.requests.memory | string | `"64Mi"` | | -| security.runAsGid | int | `0` | Group used by the apps | -| security.runAsNonRoot | bool | `false` | by default, apps run as non-root | -| security.runAsUid | int | `0` | User used by the apps | -| service.port | int | `8080` | | -| task.http.host | string | `""` | | -| task.http.port | int | `8080` | | -| task.http.timeout.idle | string | `"120s"` | | -| task.http.timeout.read | string | `"10s"` | | -| task.http.timeout.write | string | `"10s"` | | - ----------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.10.0](https://github.com/norwoodj/helm-docs/releases/v1.10.0) diff --git a/deployment/helm/templates/ingress.yaml b/deployment/helm/templates/ingress.yaml index d757af54f3d03c8abb8a5f3016f544e8604cffd4..23487ccf94950a184832d2e2eeb819bea29f529a 100644 --- a/deployment/helm/templates/ingress.yaml +++ b/deployment/helm/templates/ingress.yaml @@ -19,7 +19,7 @@ spec: - host: {{ .Values.ingress.frontendDomain }} http: paths: - - path: /{{ .Release.Namespace }}/{{ template "app.name" . }}(/|$)(.*) + - path: /{{ template "app.name" . }}(/|$)(.*) pathType: Prefix backend: service: diff --git a/deployment/helm/values.yaml b/deployment/helm/values.yaml index af00562e50f3846249f555a209be1bab6c7844f6..3e26d4d462372afa5060281d71734bc7d25075c0 100644 --- a/deployment/helm/values.yaml +++ b/deployment/helm/values.yaml @@ -8,7 +8,7 @@ nameOverride: "" image: repository: eu.gcr.io/vrgn-infra-prj # -- Image name - name: gaiax/task + name: tsa/task # -- Image tag # Uses .Chart.AppVersion if empty tag: "" @@ -96,7 +96,7 @@ task: write: 10s mongo: - addr: "mongodb://mongodb-mongodb-replicaset.infra:27017/task?replicaSet=rs0&authSource=admin" + addr: "mongodb://mongodb-0.mongodb:27017/task?replicaSet=rs0&authSource=admin" user: "" pass: "" dbname: task @@ -110,7 +110,6 @@ ingress: annotations: kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/rewrite-target: /$2 - tlsEnabled: true - frontendDomain: gaiax.vereign.com + frontendDomain: tsa.xfsc.dev frontendTlsSecretName: cert-manager-tls