Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 576e282

Browse files
authoredAug 23, 2024
Merge pull request #106 from SoftwareAG/dev-thr
Developer Portal: Support of wM 11.0
2 parents acd49fd + 1177a99 commit 576e282

File tree

6 files changed

+21
-5
lines changed

6 files changed

+21
-5
lines changed
 

‎developerportal/helm/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ type: application
3333
# This is the chart version. This version number should be incremented each time you make changes
3434
# to the chart and its templates, including the app version.
3535
# Versions are expected to follow Semantic Versioning (https://semver.org/)
36-
version: 1.0.0
36+
version: 1.0.1
3737

3838
# This is the version number of the application being deployed. This version number should be
3939
# incremented each time you make changes to the application. Versions are not expected to

‎developerportal/helm/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ kubectl create secret docker-registry regcred --docker-server=sagcr.azurecr.io -
4141
helm install webmethods/developerportal devportal
4242
```
4343

44+
## Version History
45+
46+
| Version | Changes and Description |
47+
|-----|------|
48+
| `1.0.0` | Initial release |
49+
| `1.0.1` | Supports wM version 11.0. Validate `devportal.port` value in `values.yaml` if you want to use wM image version 11.0. |
50+
4451
## Values
4552

4653
| Key | Type | Default | Description |
@@ -54,7 +61,7 @@ helm install webmethods/developerportal devportal
5461
| devportal.clusterPorts.start | int | `47500` | |
5562
| devportal.cspDomains | string | `""` | csp domains for SSO usage with external Identity providers. This should point to your identity provider domains. Controls the PORTAL_SERVER_CONFIG_HEADERS_CONTENT_SECURITY_POLICY environment variable for developer portal |
5663
| devportal.elasticSearchDeployment | bool | `true` | Deploy Elasticsearch. Depends on Elasic Search Helm Charts. See https://github.com/elastic/helm-charts/blob/main/elasticsearch |
57-
| devportal.port | int | `8083` | |
64+
| devportal.port | int | `8083` | HTTP listening port. Use on wM version 10.15 (default): `8083`, 11.0: `8080` |
5865
| devportal.useDefaultAffinityRule | bool | `true` | Use the default anti pod affinity. Specifies a Pod Anti-Affinity rule for Kubernetes pods. The default Pod Anti-Affinity is a scheduling preference that indicates how Kubernetes should distribute pods across nodes to avoid having multiple pods of the same application or with specific labels running on the same node. If you want to use your on rules, refer to affinity value and provide your own configuration. |
5966
| elasticsearch.certificateSecretName | string | `"{{ include \"common.names.fullname\" .}}-es-tls-secret"` | The name of the secret holding the tls secret By default the name will be fullname of release + "es-tls-secret" |
6067
| elasticsearch.defaultNodeSet | object | `{"count":1,"extraConfig":{},"extraInitContainers":{},"installPlugins":["mapper-size"],"memoryMapping":false,"setMaxMapCount":true}` | Default Node Set |

‎developerportal/helm/README.md.gotmpl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,11 @@ kubectl create secret docker-registry regcred --docker-server=sagcr.azurecr.io -
4141
helm install webmethods/developerportal devportal
4242
```
4343

44+
## Version History
45+
46+
| Version | Changes and Description |
47+
|-----|------|
48+
| `1.0.0` | Initial release |
49+
| `1.0.1` | Supports wM version 11.0. Validate `devportal.port` value in `values.yaml` if you want to use wM image version 11.0. |
4450

4551
{{ template "chart.valuesSection" . }}

‎developerportal/helm/templates/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ spec:
3737
- name: http
3838
port: 80
3939
protocol: TCP
40-
targetPort: 8083
40+
targetPort: {{ .Values.devportal.port }}
4141
- name: https
4242
port: 443
4343
protocol: TCP

‎developerportal/helm/templates/statefulset.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ spec:
6969
ports:
7070
- containerPort: {{ .Values.devportal.port }}
7171
env:
72-
- name: SPRING_ELASTICSEARCH_REST_URIS
72+
- name: SPRING_ELASTICSEARCH_REST_URIS # supports version 10.15
73+
value: {{ include "developerportal.elasticservice" . }}:9200
74+
- name: SPRING_ELASTICSEARCH_URIS # supports version 11.0
7375
value: {{ include "developerportal.elasticservice" . }}:9200
7476
- name: PORTAL_SERVER_CACHE_DISTRIBUTED_CLUSTER_PEERS_0
7577
value: {{ include "common.names.fullname" . }}-svc:{{ .Values.devportal.clusterPorts.start }}..{{ .Values.devportal.clusterPorts.end }}

‎developerportal/helm/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ lifecycle: {}
151151
# exec:
152152
# command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]
153153

154-
devportal:
154+
devportal:
155+
# -- HTTP listening port. Use on wM version 10.15 (default): `8083`, 11.0: `8080`
155156
port: 8083
156157
# -- Deploy Elasticsearch. Depends on Elasic Search Helm Charts. See https://github.com/elastic/helm-charts/blob/main/elasticsearch
157158
elasticSearchDeployment: true

0 commit comments

Comments
 (0)