Skip to content

Commit

Permalink
Developer Portal: Support of wM version 11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thr authored and thr committed Aug 23, 2024
1 parent 0b53a46 commit 3a5cf26
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion developerportal/helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.0
version: 1.0.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
6 changes: 6 additions & 0 deletions developerportal/helm/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,11 @@ kubectl create secret docker-registry regcred --docker-server=sagcr.azurecr.io -
helm install webmethods/developerportal devportal
```

## Version History

| Version | Changes and Description |
|-----|------|
| `1.0.0` | Initial release |
| `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. |

{{ template "chart.valuesSection" . }}
2 changes: 1 addition & 1 deletion developerportal/helm/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
- name: http
port: 80
protocol: TCP
targetPort: 8083
targetPort: {{ .Values.devportal.port }}
- name: https
port: 443
protocol: TCP
Expand Down
4 changes: 3 additions & 1 deletion developerportal/helm/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ spec:
ports:
- containerPort: {{ .Values.devportal.port }}
env:
- name: SPRING_ELASTICSEARCH_REST_URIS
- name: SPRING_ELASTICSEARCH_REST_URIS # supports version 10.15
value: {{ include "developerportal.elasticservice" . }}:9200
- name: SPRING_ELASTICSEARCH_URIS # supports version 11.0
value: {{ include "developerportal.elasticservice" . }}:9200
- name: PORTAL_SERVER_CACHE_DISTRIBUTED_CLUSTER_PEERS_0
value: {{ include "common.names.fullname" . }}-svc:{{ .Values.devportal.clusterPorts.start }}..{{ .Values.devportal.clusterPorts.end }}
Expand Down
3 changes: 2 additions & 1 deletion developerportal/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ lifecycle: {}
# exec:
# command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]

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

0 comments on commit 3a5cf26

Please sign in to comment.