From e00866e4ec455c9d4db3be66805afd93f041bb59 Mon Sep 17 00:00:00 2001 From: Stefan Wiedemann Date: Thu, 22 Jun 2023 16:24:52 +0200 Subject: [PATCH 01/51] health port --- aws/dome/tm-forum-api/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/dome/tm-forum-api/templates/deployment.yaml b/aws/dome/tm-forum-api/templates/deployment.yaml index 56575878..69c199c7 100644 --- a/aws/dome/tm-forum-api/templates/deployment.yaml +++ b/aws/dome/tm-forum-api/templates/deployment.yaml @@ -158,7 +158,7 @@ spec: - name: MICRONAUT_METRICS_ENABLED value: {{ $.Values.defaultConfig.prometheus.enabled | quote }} {{- end }} - - name: ENDPOINTS_HEALTH_ENABLED_TRUE + - name: ENDPOINTS_HEALTH_ENABLED value: "true" {{- if .logLevel -}} - name: LOGGER_LEVELS_ROOT From 2322921a772d2673938866ef33228bee043806d8 Mon Sep 17 00:00:00 2001 From: Stefan Wiedemann Date: Thu, 22 Jun 2023 16:26:38 +0200 Subject: [PATCH 02/51] less chatty --- aws/dome/tm-forum-api/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/dome/tm-forum-api/values.yaml b/aws/dome/tm-forum-api/values.yaml index dc0e74d2..2bfec45c 100644 --- a/aws/dome/tm-forum-api/values.yaml +++ b/aws/dome/tm-forum-api/values.yaml @@ -147,7 +147,7 @@ defaultConfig: # -- pull policy to be used pullPolicy: IfNotPresent # -- log level of the api - logLevel: DEBUG + logLevel: INFO # -- default context to be used when contacting the context broker contextUrl: https://smartdatamodels.org/context.jsonld # -- port to be used for the app From 7024a60da680579889ffe2cb2747827933457791 Mon Sep 17 00:00:00 2001 From: Stefan Wiedemann Date: Thu, 22 Jun 2023 16:28:29 +0200 Subject: [PATCH 03/51] make it ready --- aws/dome/tm-forum-api/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws/dome/tm-forum-api/templates/deployment.yaml b/aws/dome/tm-forum-api/templates/deployment.yaml index 69c199c7..9d227b21 100644 --- a/aws/dome/tm-forum-api/templates/deployment.yaml +++ b/aws/dome/tm-forum-api/templates/deployment.yaml @@ -118,7 +118,7 @@ spec: {{- if .readinessProbe }} readinessProbe: httpGet: - path: {{ .readinessProbe.healthPath }} + path: {{ .readinessProbe.readinessPath }} port: http-health initialDelaySeconds: {{ .readinessProbe.initialDelaySeconds }} periodSeconds: {{ .readinessProbe.periodSeconds }} @@ -127,7 +127,7 @@ spec: {{- else if $.Values.defaultConfig.readinessProbe }} readinessProbe: httpGet: - path: {{ $.Values.defaultConfig.readinessProbe.healthPath }} + path: {{ $.Values.defaultConfig.readinessProbe.readinessPath }} port: http-health initialDelaySeconds: {{ $.Values.defaultConfig.readinessProbe.initialDelaySeconds }} periodSeconds: {{ $.Values.defaultConfig.readinessProbe.periodSeconds }} From 626c24a37ab8e78f9be080c304963e623d8fe4a7 Mon Sep 17 00:00:00 2001 From: Stefan Wiedemann Date: Wed, 28 Jun 2023 12:39:04 +0200 Subject: [PATCH 04/51] update tm-forum-deployment --- aws/dome/tm-forum-api/Chart.yaml | 26 +- aws/dome/tm-forum-api/README.md | 95 ------ aws/dome/tm-forum-api/templates/_helpers.tpl | 54 ---- .../tm-forum-api/templates/deployment.yaml | 292 ------------------ aws/dome/tm-forum-api/templates/ingress.yaml | 41 --- .../templates/route-certificate.yaml | 15 - aws/dome/tm-forum-api/templates/route.yaml | 34 -- aws/dome/tm-forum-api/templates/service.yaml | 23 -- .../templates/serviceaccount.yaml | 12 - aws/dome/tm-forum-api/values.yaml | 161 +--------- 10 files changed, 14 insertions(+), 739 deletions(-) delete mode 100644 aws/dome/tm-forum-api/README.md delete mode 100644 aws/dome/tm-forum-api/templates/_helpers.tpl delete mode 100644 aws/dome/tm-forum-api/templates/deployment.yaml delete mode 100644 aws/dome/tm-forum-api/templates/ingress.yaml delete mode 100644 aws/dome/tm-forum-api/templates/route-certificate.yaml delete mode 100644 aws/dome/tm-forum-api/templates/route.yaml delete mode 100644 aws/dome/tm-forum-api/templates/service.yaml delete mode 100644 aws/dome/tm-forum-api/templates/serviceaccount.yaml diff --git a/aws/dome/tm-forum-api/Chart.yaml b/aws/dome/tm-forum-api/Chart.yaml index bae0e075..c73b980a 100644 --- a/aws/dome/tm-forum-api/Chart.yaml +++ b/aws/dome/tm-forum-api/Chart.yaml @@ -1,18 +1,12 @@ apiVersion: v2 name: tm-forum-api -version: 0.0.1 -appVersion: 0.4.1 -kubeVersion: '>= 1.19-0' -home: https://github.com/FIWARE/tmforum-api -description: A Helm chart for running the FIWARE TMForum-APIs -icon: https://fiware.github.io/catalogue/img/fiware.png -keywords: -- fiware -- tmforum -sources: -- https://github.com/FIWARE/tmforum-api -maintainers: -- name: wistefan - email: stefan.wiedemann@fiware.org -annotations: - charts.openshift.io/name: tm-forum-api +description: Chart holder for argo-cd + +type: application +version: 0.1.0 +appVersion: "0.4.1" + +dependencies: +- name: tm-forum-api + version: 0.0.1 + repository: https://fiware.github.io/helm-charts \ No newline at end of file diff --git a/aws/dome/tm-forum-api/README.md b/aws/dome/tm-forum-api/README.md deleted file mode 100644 index ca3c9411..00000000 --- a/aws/dome/tm-forum-api/README.md +++ /dev/null @@ -1,95 +0,0 @@ -# orion - -![Version: 1.1.1](https://img.shields.io/badge/Version-1.1.1-informational?style=flat-square) ![AppVersion: 1.0.1](https://img.shields.io/badge/AppVersion-1.0.1-informational?style=flat-square) - -A Helm chart for running the fiware orion-ld context broker on kubernetes. - -**Homepage:** - -## Maintainers - -| Name | Email | Url | -| ---- | ------ | --- | -| wistefan | | | - -## Source Code - -* - -## Requirements - -Kubernetes: `>= 1.19-0` - -## Values - -| Key | Type | Default | Description | -|-----|------|---------|-------------| -| autoscaling.enabled | bool | `false` | should autoscaling be enabled for the context broker | -| autoscaling.maxReplicas | int | `10` | maximum number of running pods | -| autoscaling.metrics | list | `[]` | metrics to react on | -| autoscaling.minReplicas | int | `1` | minimum number of running pods | -| broker.cachedContextFolder | string | `"/opt/orion/ldcontexts"` | | -| broker.db.hosts | list | `[]` | configuration of the mongo-db hosts. if multiple hosts are inserted, its assumed that mongo is running as a replica set | -| broker.db.name | string | `"orion"` | the db to use. if running in multiservice mode, its used as a prefix. | -| broker.envPrefix | string | `"ORIONLD_"` | Prefix to be used for env-vars in orion. Must be ORION_ for orion and ORIONLD_ for orion-ld | -| broker.ipv4enabled | bool | `false` | set to true if only ipv4 should be used, do not set both options to true | -| broker.ipv6enabled | bool | `false` | set to true if only ipv6 should be used, do not set both options to true | -| broker.logging.level | string | `"WARN"` | log level of the broker | -| broker.metrics.enabled | string | `"false"` | enable or disable metrics gathering | -| broker.noDevTrace | bool | `true` | should the extended development tracing be disabled? | -| broker.port | int | `1026` | port that the broker is listening to | -| broker.prometheus.enabled | bool | `true` | | -| broker.prometheus.scrape | bool | `true` | | -| broker.troe | object | `{"dbHost":"postgres","dbPassword":"password","dbPort":5432,"dbUser":"user","enabled":false}` | configuration of temporal entity representation | -| broker.troe.dbHost | string | `"postgres"` | host of the postgres to be used | -| broker.troe.dbPassword | string | `"password"` | password to authenticate with at postgres | -| broker.troe.dbPort | int | `5432` | port of the postgres to be used | -| broker.troe.dbUser | string | `"user"` | username to authenticate with at postgres | -| broker.troe.enabled | bool | `false` | should temporal representation of entities be enabled | -| deployment.additionalAnnotations | object | `{}` | additional annotations for the deployment, if required | -| deployment.additionalLabels | object | `{}` | additional labels for the deployment, if required | -| deployment.affinity | object | `{}` | affinity template ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity | -| deployment.image.pullPolicy | string | `"IfNotPresent"` | specification of the image pull policy | -| deployment.image.repository | string | `"quay.io/fiware/orion-ld"` | orion image name ref: https://hub.docker.com/r/fiware/orion/ ref: https://quay.io/repository/fiware/orion-ld | -| deployment.image.tag | string | `"1.1.0"` | tag of the image to be used | -| deployment.livenessProbe.initialDelaySeconds | int | `30` | | -| deployment.livenessProbe.periodSeconds | int | `10` | | -| deployment.livenessProbe.successThreshold | int | `1` | | -| deployment.livenessProbe.timeoutSeconds | int | `30` | | -| deployment.nodeSelector | object | `{}` | selector template ref: https://kubernetes.io/docs/user-guide/node-selection/ | -| deployment.readinessProbe.initialDelaySeconds | int | `30` | | -| deployment.readinessProbe.periodSeconds | int | `10` | | -| deployment.readinessProbe.successThreshold | int | `1` | | -| deployment.readinessProbe.timeoutSeconds | int | `30` | | -| deployment.replicaCount | int | `1` | initial number of target replications, can be different if autoscaling is enabled | -| deployment.revisionHistoryLimit | int | `3` | number of old replicas to be retained | -| deployment.sidecars | list | `[]` | additional sidepods for the deployment, if required | -| deployment.tolerations | list | `[]` | tolerations template ref: ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ | -| deployment.updateStrategy.rollingUpdate | object | `{"maxSurge":1,"maxUnavailable":0}` | new pods will be added gradually | -| deployment.updateStrategy.rollingUpdate.maxSurge | int | `1` | number of pods that can be created above the desired amount while updating | -| deployment.updateStrategy.rollingUpdate.maxUnavailable | int | `0` | number of pods that can be unavailable while updating | -| deployment.updateStrategy.type | string | `"RollingUpdate"` | type of the update | -| deployment.volumes | list | `[]` | additional volumes for the deployment, if required | -| fullnameOverride | string | `""` | option to override the fullname config in the _helpers.tpl | -| ingress.annotations | object | `{}` | annotations to be added to the ingress | -| ingress.enabled | bool | `false` | should there be an ingress to connect orion with the public internet | -| ingress.hosts | list | `[]` | all hosts to be provided | -| ingress.tls | list | `[]` | configure the ingress' tls | -| mongo.enabled | bool | `true` | should mongodb be enabled | -| mongo.image.pullPolicy | string | `"IfNotPresent"` | pull policy to be used for mongo | -| mongo.image.repository | string | `"quay.io/opencloudio/ibm-mongodb"` | mongo image name | -| mongo.image.tag | string | `"4.0.24"` | version of mongo | -| mongo.port | int | `27017` | port to make mongo accessible at | -| nameOverride | string | `""` | option to override the name config in the _helpers.tpl | -| route.annotations | object | `{}` | annotations to be added to the route | -| route.enabled | bool | `false` | | -| route.tls | object | `{}` | tls configuration for the route | -| service.annotations | object | `{}` | addtional annotations, if required | -| service.port | int | `1026` | port to be used by the service | -| service.type | string | `"ClusterIP"` | service type | -| serviceAccount | object | `{"create":false}` | if a orion specific service account should be used, it can be configured here ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ | -| serviceAccount.create | bool | `false` | specifies if the account should be created | -| test.enabled | bool | `true` | should the test be enabled? | - ----------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0) diff --git a/aws/dome/tm-forum-api/templates/_helpers.tpl b/aws/dome/tm-forum-api/templates/_helpers.tpl deleted file mode 100644 index 87025aab..00000000 --- a/aws/dome/tm-forum-api/templates/_helpers.tpl +++ /dev/null @@ -1,54 +0,0 @@ - -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "tmforum.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "tmforum.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "tmforum.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "tmforum.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "tmforum.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "tmforum.labels" -}} -helm.sh/chart: {{ include "tmforum.chart" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} \ No newline at end of file diff --git a/aws/dome/tm-forum-api/templates/deployment.yaml b/aws/dome/tm-forum-api/templates/deployment.yaml deleted file mode 100644 index 9d227b21..00000000 --- a/aws/dome/tm-forum-api/templates/deployment.yaml +++ /dev/null @@ -1,292 +0,0 @@ -{{- range .Values.apis -}} -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ include "tmforum.fullname" $ }}-{{ .name }} - labels: - {{ include "tmforum.labels" $ | nindent 4 }} -spec: - {{- if .replicaCount }} - replicas: {{ .replicaCount }} - {{- else if $.Values.defaultConfig.replicaCount }} - replicas: {{ $.Values.defaultConfig.replicaCount }} - {{- end }} - {{- if .revisionHistoryLimit }} - revisionHistoryLimit: {{ .revisionHistoryLimit }} - {{- else if $.Values.defaultConfig.revisionHistoryLimit }} - revisionHistoryLimit: {{ $.Values.defaultConfig.revisionHistoryLimit }} - {{- end }} - strategy: - {{- if .updateStrategy }} - {{- with .updateStrategy }} - {{- toYaml . | nindent 4 }} - {{- end }} - {{- else if $.Values.defaultConfig.updateStrategy }} - {{- with $.Values.defaultConfig.updateStrategy }} - {{- toYaml . | nindent 4 }} - {{- end }} - {{- end }} - selector: - matchLabels: - app.kubernetes.io/name: {{ include "tmforum.name" $ }}-{{ .name }} - app.kubernetes.io/instance: {{ $.Release.Name }} - template: - metadata: - labels: - app.kubernetes.io/name: {{ include "tmforum.name" $ }}-{{ .name }} - app.kubernetes.io/instance: {{ $.Release.Name }} - {{ include "tmforum.labels" $ | nindent 8 }} - {{- if .additionalLabels }} - {{- with .additionalLabels }} - {{- toYaml . | nindent 8 }} - {{- end }} - {{- else if $.Values.defaultConfig.additionalLabels }} - {{- with $.Values.defaultConfig.additionalLabels }} - {{- toYaml . | nindent 8 }} - {{- end }} - {{- end }} - annotations: - {{- if .prometheus -}} - prometheus.io/scrape: {{ .prometheus.enabled | quote }} - prometheus.io/path: {{ .prometheus.path }} - {{- else if $.Values.defaultConfig.prometheus }} - prometheus.io/scrape: {{ $.Values.defaultConfig.prometheus.enabled | quote }} - prometheus.io/path: {{ $.Values.defaultConfig.prometheus.path }} - {{- end }} - {{- if .endpointsPort }} - prometheus.io/port: {{ .endpointsPort }} - {{- else if $.Values.defaultConfig.endpointsPort }} - prometheus.io/port: {{ $.Values.defaultConfig.endpointsPort | quote }} - {{- end }} - {{- if .additionalAnnotations -}} - {{- with .additionalAnnotations }} - {{- toYaml . | nindent 8 }} - {{- end }} - {{- else if $.Values.defaultConfig.additionalAnnotations }} - {{- with $.Values.defaultConfig.additionalAnnotations }} - {{- toYaml . | nindent 8 }} - {{- end }} - {{- end }} - spec: - serviceAccountName: {{ include "tmforum.serviceAccountName" $ }} - containers: - - name: {{ .name }} - {{- if .pullPolicy }} - imagePullPolicy: {{ .pullPolicy }} - {{- else }} - imagePullPolicy: {{ $.Values.defaultConfig.image.pullPolicy }} - {{- end }} - {{- if .repository }} - image: "{{ .repository }}/{{ .image }}:{{ .tag }}" - {{- else }} - image: "{{ $.Values.defaultConfig.image.repository }}/{{ .image }}:{{ $.Values.defaultConfig.image.tag }}" - {{- end }} - ports: - - name: http - {{- if .port }} - containerPort: {{ .port}} - {{- else }} - containerPort: {{ $.Values.defaultConfig.port}} - {{- end}} - protocol: TCP - - name: http-health - {{- if .endpointsPort }} - containerPort: {{ .endpointsPort}} - {{- else }} - containerPort: {{ $.Values.defaultConfig.endpointsPort}} - {{- end}} - protocol: TCP - {{- if .livenessProbe }} - livenessProbe: - httpGet: - path: {{ .livenessProbe.healthPath }} - port: http-health - initialDelaySeconds: {{ .livenessProbe.initialDelaySeconds }} - periodSeconds: {{ .livenessProbe.periodSeconds }} - successThreshold: {{ .livenessProbe.successThreshold }} - timeoutSeconds: {{ .livenessProbe.timeoutSeconds }} - {{- else if $.Values.defaultConfig.livenessProbe }} - livenessProbe: - httpGet: - path: {{ $.Values.defaultConfig.livenessProbe.healthPath }} - port: http-health - initialDelaySeconds: {{ $.Values.defaultConfig.livenessProbe.initialDelaySeconds }} - periodSeconds: {{ $.Values.defaultConfig.livenessProbe.periodSeconds }} - successThreshold: {{ $.Values.defaultConfig.livenessProbe.successThreshold }} - timeoutSeconds: {{ $.Values.defaultConfig.livenessProbe.timeoutSeconds }} - {{- end }} - {{- if .readinessProbe }} - readinessProbe: - httpGet: - path: {{ .readinessProbe.readinessPath }} - port: http-health - initialDelaySeconds: {{ .readinessProbe.initialDelaySeconds }} - periodSeconds: {{ .readinessProbe.periodSeconds }} - successThreshold: {{ .readinessProbe.successThreshold }} - timeoutSeconds: {{ .readinessProbe.timeoutSeconds }} - {{- else if $.Values.defaultConfig.readinessProbe }} - readinessProbe: - httpGet: - path: {{ $.Values.defaultConfig.readinessProbe.readinessPath }} - port: http-health - initialDelaySeconds: {{ $.Values.defaultConfig.readinessProbe.initialDelaySeconds }} - periodSeconds: {{ $.Values.defaultConfig.readinessProbe.periodSeconds }} - successThreshold: {{ $.Values.defaultConfig.readinessProbe.successThreshold }} - timeoutSeconds: {{ $.Values.defaultConfig.readinessProbe.timeoutSeconds }} - {{- end }} - env: - {{- if .endpointsPort }} - - name: ENDPOINTS_ALL_PORT - value: {{ .endpointsPort | quote }} - {{- else if $.Values.defaultConfig.endpointsPort }} - - name: ENDPOINTS_ALL_PORT - value: {{ $.Values.defaultConfig.endpointsPort | quote }} - {{- end }} - {{- if .port }} - - name: MICRONAUT_SERVER_PORT - value: {{ .port | quote }} - {{- else }} - - name: MICRONAUT_SERVER_PORT - value: {{ $.Values.defaultConfig.port | quote }} - {{- end }} - {{- if .prometheus }} - {{- if .prometheus.enabled }} - - name: MICRONAUT_METRICS_ENABLED - value: {{ .prometheus.enabled | quote }} - {{- end }} - {{- else if $.Values.defaultConfig.prometheus.enabled }} - - name: MICRONAUT_METRICS_ENABLED - value: {{ $.Values.defaultConfig.prometheus.enabled | quote }} - {{- end }} - - name: ENDPOINTS_HEALTH_ENABLED - value: "true" - {{- if .logLevel -}} - - name: LOGGER_LEVELS_ROOT - value: {{ .logLevel | quote}} - {{- else if $.Values.defaultConfig.logLevel }} - - name: LOGGER_LEVELS_ROOT - value: {{ $.Values.defaultConfig.logLevel | quote}} - {{- end }} - - {{- if .cache }} - {{- if .cache.maximumSize }} - - name: MICRONAUT_CACHES_ENTITIES_MAXIMUM_SIZE - value: {{ .cache.maximumSize | quote}} - {{- end }} - {{- if .cache.expireAfterWrite }} - - name: MICRONAUT_CACHES_ENTITIES_EXPIRE_AFTER_WRITE - value: {{ .cache.expireAfterWrite | quote}} - {{- end }} - {{- if .cache.expireAfterAccess }} - - name: MICRONAUT_CACHES_ENTITIES_EXPIRE_AFTER_ACCESS - value: {{ .cache.expireAfterAccess | quote}} - {{- end }} - {{- else if $.Values.defaultConfig.cache }} - {{- if $.Values.defaultConfig.cache.maximumSize }} - - name: MICRONAUT_CACHES_ENTITIES_MAXIMUM_SIZE - value: {{ $.Values.defaultConfig.cache.maximumSize | quote}} - {{- end }} - {{- if $.Values.defaultConfig.cache.expireAfterWrite }} - - name: MICRONAUT_CACHES_ENTITIES_EXPIRE_AFTER_WRITE - value: {{ $.Values.defaultConfig.cache.expireAfterWrite | quote}} - {{- end }} - {{- if $.Values.defaultConfig.cache.expireAfterAccess }} - - name: MICRONAUT_CACHES_ENTITIES_EXPIRE_AFTER_ACCESS - value: {{ $.Values.defaultConfig.cache.expireAfterAccess | quote}} - {{- end }} - {{- end }} - - {{- if .ngsiLd }} - {{- if .ngsiLd.readTimeout }} - - name: MICRONAUT_HTTP_SERVICES_READ_TIMEOUT - value: {{ .ngsiLd.readTimeout | quote }} - {{- end }} - {{- if .ngsiLd.path }} - - name: MICRONAUT_HTTP_SERVICES_NGSI_PATH - value: {{ .ngsiLd.path | quote }} - {{- end }} - {{- if .ngsiLd.url }} - - name: MICRONAUT_HTTP_SERVICES_NGSI_URL - value: {{ .ngsiLd.url | quote }} - {{- end }} - {{- else if $.Values.defaultConfig.ngsiLd }} - {{- if $.Values.defaultConfig.ngsiLd.readTimeout }} - - name: MICRONAUT_HTTP_SERVICES_READ_TIMEOUT - value: {{ $.Values.defaultConfig.ngsiLd.readTimeout | quote }} - {{- end }} - {{- if $.Values.defaultConfig.ngsiLd.path }} - - name: MICRONAUT_HTTP_SERVICES_NGSI_PATH - value: {{ $.Values.defaultConfig.ngsiLd.path | quote }} - {{- end }} - {{- if $.Values.defaultConfig.ngsiLd.url }} - - name: MICRONAUT_HTTP_SERVICES_NGSI_URL - value: {{ $.Values.defaultConfig.ngsiLd.url | quote }} - {{- end }} - {{- end }} - - {{- if .basePath }} - - name: GENERAL_BASEPATH - value: {{ .basePath | quote }} - {{- end }} - - {{- if .contextUrl }} - - name: GENERAL_CONTEXT_URL - value: {{ .contextUrl | quote }} - {{- else if $.Values.defaultConfig.contextUrl }} - - name: GENERAL_CONTEXT_URL - value: {{ $.Values.defaultConfig.contextUrl | quote }} - {{- end }} - - {{- if .additionalEnvVars }} - {{- with .additionalEnvVars }} - {{- toYaml . | nindent 12 }} - {{- end }} - {{- else if $.Values.defaultConfig.additionalEnvVars }} - {{- with $.Values.defaultConfig.additionalEnvVars }} - {{- toYaml . | nindent 12 }} - {{- end }} - {{- end }} - {{- if .resources }} - resources: - {{- toYaml .resources | nindent 12 }} - {{- else if $.Values.defaultConfig.resources }} - resources: - {{- toYaml $.Values.defaultConfig.resources | nindent 12 }} - {{- end }} - {{- if .nodeSelector }} - {{- with .nodeSelector }} - nodeSelector: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- else if $.Values.defaultConfig.nodeSelector }} - {{- with $.Values.defaultConfig.nodeSelector }} - nodeSelector: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- end }} - - {{- if .affinity }} - {{- with .affinity }} - affinity: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- else if $.Values.defaultConfig.affinity }} - {{- with $.Values.defaultConfig.affinity }} - affinity: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- end }} - - {{- if .tolerations }} - {{- with .tolerations }} - tolerations: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- else if $.Values.defaultConfig.tolerations }} - {{- with $.Values.defaultConfig.tolerations }} - tolerations: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- end }} ---- -{{- end }} \ No newline at end of file diff --git a/aws/dome/tm-forum-api/templates/ingress.yaml b/aws/dome/tm-forum-api/templates/ingress.yaml deleted file mode 100644 index 81884246..00000000 --- a/aws/dome/tm-forum-api/templates/ingress.yaml +++ /dev/null @@ -1,41 +0,0 @@ -{{- if .Values.ingress.enabled -}} -{{- $servicePort := .Values.service.port -}} -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: {{ include "tmforum.fullname" . }} - labels: - {{ include "tmforum.labels" . | nindent 4 }} - {{- if .Values.ingress.annotations }} - annotations: - {{- with .Values.ingress.annotations }} - {{- toYaml . | nindent 4 }} - {{- end }} - {{- end }} -spec: - {{- if .Values.ingress.tls }} - tls: - {{- range .Values.ingress.tls }} - - hosts: - {{- range .hosts }} - - {{ . | quote }} - {{- end }} - secretName: {{ .secretName }} - {{- end }} - {{- end }} - rules: - {{- range .Values.ingress.hosts }} - - host: {{ .host | quote }} - http: - paths: - {{- range $.Values.apis }} - - path: {{ .basePath }} - pathType: Prefix - backend: - service: - name: {{ include "tmforum.fullname" $ }}-{{ .name }} - port: - number: {{ $servicePort }} - {{- end }} - {{- end }} -{{- end }} \ No newline at end of file diff --git a/aws/dome/tm-forum-api/templates/route-certificate.yaml b/aws/dome/tm-forum-api/templates/route-certificate.yaml deleted file mode 100644 index 1146533d..00000000 --- a/aws/dome/tm-forum-api/templates/route-certificate.yaml +++ /dev/null @@ -1,15 +0,0 @@ -{{- if .Values.route.certificate -}} -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: {{ include "tmforum.fullname" . }} - labels: - {{ include "tmforum.labels" . | nindent 4 }} -spec: - secretName: {{ include "tmforum.fullname" . }}-tls-sec - issuerRef: - {{- toYaml .Values.route.certificate.issuer | nindent 4 }} - commonName: {{ .Values.route.host }} - dnsNames: - - {{ .Values.route.host }} -{{- end -}} \ No newline at end of file diff --git a/aws/dome/tm-forum-api/templates/route.yaml b/aws/dome/tm-forum-api/templates/route.yaml deleted file mode 100644 index ea8c7c0e..00000000 --- a/aws/dome/tm-forum-api/templates/route.yaml +++ /dev/null @@ -1,34 +0,0 @@ -{{- if .Values.route.enabled -}} -{{- range .Values.apis -}} -apiVersion: route.openshift.io/v1 -kind: Route -metadata: - name: {{ include "tmforum.fullname" $ }}-{{ .name }} - labels: - {{ include "tmforum.labels" $ | nindent 4 }} - {{- if or $.Values.route.annotations $.Values.route.certificate }} - annotations: - {{- if $.Values.route.certificate }} - cert-utils-operator.redhat-cop.io/certs-from-secret: {{ include "tmforum.fullname" $ }}-tls-sec - {{- end }} - {{- with $.Values.route.annotations }} - {{- toYaml . | nindent 4 }} - {{- end }} - {{- end }} -spec: - {{- if $.Values.route.host }} - host: {{ $.Values.route.host}} - {{- end }} - path: {{ .basePath }} - to: - kind: Service - name: {{ include "tmforum.fullname" $ }}-{{ .name }} - {{- if $.Values.route.tls }} - tls: - {{- with $.Values.route.tls }} - {{- toYaml . | nindent 4 }} - {{- end }} - {{- end }} ---- -{{- end }} -{{- end }} \ No newline at end of file diff --git a/aws/dome/tm-forum-api/templates/service.yaml b/aws/dome/tm-forum-api/templates/service.yaml deleted file mode 100644 index 9fa1dfe4..00000000 --- a/aws/dome/tm-forum-api/templates/service.yaml +++ /dev/null @@ -1,23 +0,0 @@ -{{- range .Values.apis -}} -apiVersion: v1 -kind: Service -metadata: - name: {{ include "tmforum.fullname" $ }}-{{ .name }} - {{- if $.Values.service.annotations }} - annotations: - {{ toYaml $.Values.service.annotations | nindent 4 }} - {{- end }} - labels: - {{ include "tmforum.labels" $ | nindent 4 }} -spec: - type: {{ $.Values.service.type }} - ports: - - port: {{ $.Values.service.port }} - targetPort: http - protocol: TCP - name: http - selector: - app.kubernetes.io/name: {{ include "tmforum.name" $ }}-{{ .name }} - app.kubernetes.io/instance: {{ $.Release.Name }} ---- -{{- end }} \ No newline at end of file diff --git a/aws/dome/tm-forum-api/templates/serviceaccount.yaml b/aws/dome/tm-forum-api/templates/serviceaccount.yaml deleted file mode 100644 index 66f17844..00000000 --- a/aws/dome/tm-forum-api/templates/serviceaccount.yaml +++ /dev/null @@ -1,12 +0,0 @@ -{{- if .Values.serviceAccount.create -}} -apiVersion: v1 -kind: ServiceAccount -metadata: - name: {{ include "tmforum.fullname" . }} -{{- if .Values.serviceAccount.annotations }} - annotations: - {{ toYaml .Values.serviceAccount.annotations | nindent 4 }} -{{- end }} - labels: - {{ include "tmforum.labels" . | nindent 4 }} -{{- end }} \ No newline at end of file diff --git a/aws/dome/tm-forum-api/values.yaml b/aws/dome/tm-forum-api/values.yaml index 2bfec45c..04ab3998 100644 --- a/aws/dome/tm-forum-api/values.yaml +++ b/aws/dome/tm-forum-api/values.yaml @@ -1,44 +1,3 @@ -## Default values for tmforum. -## This is a YAML-formatted file. -## Declare variables to be passed into your templates. - -# -- option to override the name config in the _helpers.tpl -nameOverride: "" -# -- option to override the fullname config in the _helpers.tpl -fullnameOverride: "" - -# -- if a tmforum specific service account should be used, it can be configured here -# ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ -serviceAccount: - # -- specifies if the account should be created - create: false - -## pod autoscaling configuration, use for automatic scaling of the broker pods -autoscaling: - # -- should autoscaling be enabled for the context broker - enabled: false - # -- minimum number of running pods - minReplicas: 1 - # -- maximum number of running pods - maxReplicas: 10 - # -- metrics to react on - metrics: [] - # -- List of MetricSpecs to decide whether to scale - # See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#metricspec-v2beta2-autoscaling - # scaler targets to hold average cpu around 80% - #- type: Resource - # resource: - # name: cpu - # target: - # type: Utilization - # averageUtilization: 80 - ## scaler targets to hold average memory around 80% - # - type: Resource - # resource: - # name: memory - # target: - # type: Utilization - # averageUtilization: 80 ## openshift specific route definition. Will not work on plain k8s route: @@ -54,121 +13,17 @@ route: kind: ClusterIssuer name: letsencrypt-aws-prod -## ingress configuration -ingress: - # -- should there be an ingress to connect tmforum with the public internet - enabled: false - # -- annotations to be added to the ingress - annotations: {} - # kubernetes.io/ingress.class: "ambassador" - ## example annotations, allowing cert-manager to automatically create tls-certs and forcing everything to use ssl. - # kubernetes.io/tls-acme: "true" - # ingress.kubernetes.io/ssl-redirect: "true" - # -- all hosts to be provided - hosts: - # -- provide a hosts and the paths that should be available - - host: localhost - # paths: - # - / - # -- configure the ingress' tls - tls: [] - # - secretName: tmforum-tls - # hosts: - # - tmforum.fiware.org - ## configuration to be used by every api-deployment if nothing specific is provided. defaultConfig: - # -- additional labels for the deployment, if required - additionalLabels: {} - # -- additional annotations for the deployment, if required - additionalAnnotations: {} - # -- selector template - # ref: https://kubernetes.io/docs/user-guide/node-selection/ - nodeSelector: {} - # -- tolerations template - # ref: ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ - tolerations: [] - # -- affinity template - # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity - affinity: {} - # -- additional sidecars for the deployment, if required - sidecars: [] - # -- initial number of target replications, can be different if autoscaling is enabled - replicaCount: 1 - # -- number of old replicas to be retained - revisionHistoryLimit: 3 - ## configuration of the tmforum update strategy - updateStrategy: - # -- type of the update - type: RollingUpdate - # -- new pods will be added gradually - rollingUpdate: - # -- number of pods that can be created above the desired amount while updating - maxSurge: 1 - # -- number of pods that can be unavailable while updating - maxUnavailable: 0 - - # -- tmforum resource requests and limits, we leave the default empty to make that a concious choice by the user. - # for the autoscaling to make sense, you should configure this. - # resources: - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - ## liveness and readiness probes of the tmforum api - # ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes - # if one of the values should be overwritten by the individual api, you need to provide all values. - livenessProbe: - # -- path to be used for the health check - healthPath: /health - initialDelaySeconds: 30 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 30 - readinessProbe: - # -- path to be used for the health check - readinessPath: /health - initialDelaySeconds: 30 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 30 - - # -- a list of additional env vars to be set, check the tm-forum api docu for all available options - additonalEnvVars: [] - + # -- configuration to be used for the image of the container image: # -- repository to get the container from repository: quay.io/wi_stefan # -- tag to be used, most of the time the apis will use the same version - tag: 0.4.1 + tag: 0.5.0 # -- pull policy to be used pullPolicy: IfNotPresent - # -- log level of the api - logLevel: INFO - # -- default context to be used when contacting the context broker - contextUrl: https://smartdatamodels.org/context.jsonld - # -- port to be used for the app - port: 8080 - # -- cache config for connecting the broker - cache: - # -- maximum size of the cache - maximumSize: 1000 - # -- how fast should the cache entry expire after it was written? - expireAfterWrite: 2s - # -- how fast should the cache entry expire after it was last accessed? - expireAfterAccess: 2s - - # -- metrics and health port - endpointsPort: 9090 - # -- configuration for proemtheus metrics - prometheus: - # -- path to get the metrics from - path: /prometheus - # -- should it be enabled - enabled: true # -- ngsi-ld broker connection information ngsiLd: @@ -177,16 +32,8 @@ defaultConfig: # -- base path for the ngsi-ld api path: ngsi-ld/v1 # -- address of the broker - url: http://context-broker:1026 - -## configuration for the k8s service to access tmforum -service: - # -- service type - type: ClusterIP - # -- port to be used by the service - port: 8080 - # -- addtional annotations, if required - annotations: {} + url: http://dome-orion-ld:1026 + # -- list of apis to be deployed # -- every api needs to define a name and image. Basepath is required when routes or ingress will be enabled. Beside that, they can overwrite the default-config by using the same keys. From 76365c928f88360b441fda979631476ddcadaffb Mon Sep 17 00:00:00 2001 From: Stefan Wiedemann Date: Wed, 28 Jun 2023 12:54:58 +0200 Subject: [PATCH 05/51] add the config map --- aws/dome/tm-forum-api/templates/_helpers.tpl | 56 ++++++ .../tm-forum-api/templates/configmap.yaml | 99 ++++++++++ aws/dome/tm-forum-api/values.yaml | 173 ++++++++++-------- 3 files changed, 248 insertions(+), 80 deletions(-) create mode 100644 aws/dome/tm-forum-api/templates/_helpers.tpl create mode 100644 aws/dome/tm-forum-api/templates/configmap.yaml diff --git a/aws/dome/tm-forum-api/templates/_helpers.tpl b/aws/dome/tm-forum-api/templates/_helpers.tpl new file mode 100644 index 00000000..2b9f6fde --- /dev/null +++ b/aws/dome/tm-forum-api/templates/_helpers.tpl @@ -0,0 +1,56 @@ + +{{/* vim: set filetype=mustache: */}} +{{/* +Expand the name of the chart. +*/}} +{{- define "tmforum.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} +{{- end -}} + +{{/* +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +If release name contains chart name it will be used as a full name. +*/}} +{{- define "tmforum.fullname" -}} +{{- if .Values.fullnameOverride -}} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} +{{- else -}} +{{- $name := default .Chart.Name .Values.nameOverride -}} +{{- if contains $name .Release.Name -}} +{{- .Release.Name | trunc 63 | trimSuffix "-" -}} +{{- else -}} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} +{{- end -}} +{{- end -}} +{{- end -}} +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "tmforum.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} +{{- end -}} + +{{/* +Create the name of the service account to use +*/}} +{{- define "tmforum.serviceAccountName" -}} +{{- if .Values.serviceAccount.create -}} + {{ default (include "tmforum.fullname" .) .Values.serviceAccount.name }} +{{- else -}} + {{ default "default" .Values.serviceAccount.name }} +{{- end -}} +{{- end -}} + +{{/* +Common labels +*/}} +{{- define "tmforum.labels" -}} +helm.sh/chart: {{ include "tmforum.chart" . }} +{{- if .Chart.AppVersion }} +app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} +{{- end }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end -}} + + diff --git a/aws/dome/tm-forum-api/templates/configmap.yaml b/aws/dome/tm-forum-api/templates/configmap.yaml new file mode 100644 index 00000000..fb7090c3 --- /dev/null +++ b/aws/dome/tm-forum-api/templates/configmap.yaml @@ -0,0 +1,99 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "tmforum.fullname" $ }}-api-doc + labels: + {{ include "tmforum.labels" $ | nindent 4 }} +data: + docker-run.sh: | + #!/bin/sh + + set -e + + cp /custom/index.html /usr/share/nginx/html/index.html + + BASE_URL=${BASE_URL:-/} + NGINX_ROOT=/usr/share/nginx/html + INDEX_FILE=$NGINX_ROOT/index.html + + nginx -g 'daemon off;' + index.html: | + + + + + Deployed APIs + + + + + + + + + +
+ +
+
+ + + \ No newline at end of file diff --git a/aws/dome/tm-forum-api/values.yaml b/aws/dome/tm-forum-api/values.yaml index 04ab3998..f4e72ded 100644 --- a/aws/dome/tm-forum-api/values.yaml +++ b/aws/dome/tm-forum-api/values.yaml @@ -1,82 +1,95 @@ -## openshift specific route definition. Will not work on plain k8s -route: - ## -- should the deployment create openshift routes - enabled: true - # -- host to be used - host: tmforum.dome.fiware.dev - tls: - insecureEdgeTerminationPolicy: Redirect - termination: edge - certificate: - issuer: - kind: ClusterIssuer - name: letsencrypt-aws-prod - -## configuration to be used by every api-deployment if nothing specific is provided. -defaultConfig: - - # -- configuration to be used for the image of the container - image: - # -- repository to get the container from - repository: quay.io/wi_stefan - # -- tag to be used, most of the time the apis will use the same version - tag: 0.5.0 - # -- pull policy to be used - pullPolicy: IfNotPresent - - # -- ngsi-ld broker connection information - ngsiLd: - # -- timeout for requests ot the broker - readTimeout: 30s - # -- base path for the ngsi-ld api - path: ngsi-ld/v1 - # -- address of the broker - url: http://dome-orion-ld:1026 - - -# -- list of apis to be deployed -# -- every api needs to define a name and image. Basepath is required when routes or ingress will be enabled. Beside that, they can overwrite the default-config by using the same keys. -# -- be aware: when you change the image repositrory or the tag for an api, you have to provide both values for the changes to take effect -apis: - - name: party-catalog - image: tmforum-party-catalog - basePath: /tmf-api/party/v4 - - - name: customer-bill-management - image: tmforum-customer-bill-management - basePath: /tmf-api/customerBillManagement/v4 - - - name: customer-management - image: tmforum-customer-management - basePath: /tmf-api/customerManagement/v4 - - - name: product-catalog - image: tmforum-product-catalog - basePath: /tmf-api/productCatalogManagement/v4 - - - name: product-inventory - image: tmforum-product-inventory - basePath: /tmf-api/productInventory/v4 - - - name: product-ordering-management - image: tmforum-product-ordering-management - basePath: /tmf-api/productOrderingManagement/v4 - - - name: resource-catalog - image: tmforum-resource-catalog - basePath: /tmf-api/resourceCatalog/v4 - - - name: resource-function-activation - image: tmforum-resource-function-activation - basePath: /tmf-api/resourceFunctionActivation/v4 - - - name: resource-inventory - image: tmforum-resource-inventory - basePath: /tmf-api/resourceInventoryManagement/v4 - - - name: service-catalog - image: tmforum-service-catalog - basePath: /tmf-api/serviceCatalogManagement/v4 - +doc: + defaultSpec: + +tm-forum-api: + ## openshift specific route definition. Will not work on plain k8s + route: + ## -- should the deployment create openshift routes + enabled: true + # -- host to be used + host: tmforum.dome.fiware.dev + tls: + insecureEdgeTerminationPolicy: Redirect + termination: edge + certificate: + issuer: + kind: ClusterIssuer + name: letsencrypt-aws-prod + + ## configuration to be used by every api-deployment if nothing specific is provided. + defaultConfig: + + # -- configuration to be used for the image of the container + image: + # -- repository to get the container from + repository: quay.io/wi_stefan + # -- tag to be used, most of the time the apis will use the same version + tag: 0.5.0 + # -- pull policy to be used + pullPolicy: IfNotPresent + + # -- ngsi-ld broker connection information + ngsiLd: + # -- timeout for requests ot the broker + readTimeout: 30s + # -- base path for the ngsi-ld api + path: ngsi-ld/v1 + # -- address of the broker + url: http://dome-orion-ld:1026 + + + # -- list of apis to be deployed + # -- every api needs to define a name and image. Basepath is required when routes or ingress will be enabled. Beside that, they can overwrite the default-config by using the same keys. + # -- be aware: when you change the image repositrory or the tag for an api, you have to provide both values for the changes to take effect + apis: + - name: party-catalog + image: tmforum-party-catalog + basePath: /tmf-api/party/v4 + specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/swagger/TMF632-Party-v4.0.0.swagger.json + + - name: customer-bill-management + image: tmforum-customer-bill-management + basePath: /tmf-api/customerBillManagement/v4 + specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/swagger/TMF678-CustomerBill-v4.0.0.swagger.json + + - name: customer-management + image: tmforum-customer-management + basePath: /tmf-api/customerManagement/v4 + specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/swagger/TMF629-Customer-v4.0.0.swagger.json + + - name: product-catalog + image: tmforum-product-catalog + basePath: /tmf-api/productCatalogManagement/v4 + specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.1.0/swagger/TMF620-ProductCatalog-v4.1.0.swagger.json + + - name: product-inventory + image: tmforum-product-inventory + basePath: /tmf-api/productInventory/v4 + specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/swagger/TMF637-ProductInventory-v4.0.0.swagger.json + + - name: product-ordering-management + image: tmforum-product-ordering-management + basePath: /tmf-api/productOrderingManagement/v4 + specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/swagger/TMF622-ProductOrder-v4.0.0.swagger.json + + - name: resource-catalog + image: tmforum-resource-catalog + basePath: /tmf-api/resourceCatalog/v4 + specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.1.0/swagger/TMF634-ResourceCatalog-v4.0.0.swagger.json + + - name: resource-function-activation + image: tmforum-resource-function-activation + basePath: /tmf-api/resourceFunctionActivation/v4 + specUrl: https://raw.githubusercontent.com/wistefan/TMF664_ResourceFunctionActivationConfiguration/master/TMF664-ResourceFunctionActivation-v4.0.0.swagger.json + + - name: resource-inventory + image: tmforum-resource-inventory + basePath: /tmf-api/resourceInventoryManagement/v4 + specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/swagger/TMF639-ResourceInventory-v4.0.0.swagger.json + + - name: service-catalog + image: tmforum-service-catalog + basePath: /tmf-api/serviceCatalogManagement/v4 + specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/swagger/TMF633-ServiceCatalog-v4.0.0.swagger.json From 73918e1417a0275465313334a860a152849361cb Mon Sep 17 00:00:00 2001 From: Stefan Wiedemann Date: Wed, 28 Jun 2023 12:55:59 +0200 Subject: [PATCH 06/51] fix the path --- aws/dome/tm-forum-api/templates/configmap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/dome/tm-forum-api/templates/configmap.yaml b/aws/dome/tm-forum-api/templates/configmap.yaml index fb7090c3..813ed5c1 100644 --- a/aws/dome/tm-forum-api/templates/configmap.yaml +++ b/aws/dome/tm-forum-api/templates/configmap.yaml @@ -85,7 +85,7 @@ data: