Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add override for appprotocol #110

Merged
merged 1 commit into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion charts/platform/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# platform

![Version: 0.8.2](https://img.shields.io/badge/Version-0.8.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.4.32](https://img.shields.io/badge/AppVersion-v0.4.32-informational?style=flat-square)
![Version: 0.8.3](https://img.shields.io/badge/Version-0.8.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.4.32](https://img.shields.io/badge/AppVersion-v0.4.32-informational?style=flat-square)

A Helm Chart for OpenTDF Platform

Expand Down Expand Up @@ -224,6 +224,7 @@ Download the [keycloak_data.yaml](https://raw.githubusercontent.com/opentdf/plat
| server.tls.enabled | bool | `false` | Enables tls for platform server |
| server.tls.secret | string | `nil` | The server tls certificate. If not set, a self-signed certificate is generated |
| service.annotations | object | `{}` | Extra annotations to add to the service |
| service.appProtocol | string | `""` | explicit appProtocol for the service |
| service.port | int | `9000` | The port of the service |
| service.type | string | `"ClusterIP"` | The type of service to create |
| serviceAccount.annotations | object | `{}` | Extra annotations to add to the service account |
Expand Down
2 changes: 1 addition & 1 deletion charts/platform/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
ports:
- port: {{ .Values.service.port }}
targetPort: {{ include "platform.portName" . }}
appProtocol: {{ include "determine.appProtocol" . }}
appProtocol: {{ .Values.service.appProtocol | default (include "determine.appProtocol" .) }}
protocol: TCP
name: {{ include "platform.portName" . }}
selector:
Expand Down
2 changes: 2 additions & 0 deletions charts/platform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ service:
port: 9000
# -- Extra annotations to add to the service
annotations: {}
# -- explicit appProtocol for the service
appProtocol: ""

ingress:
# -- Enable Ingress
Expand Down