Skip to content

Commit

Permalink
add override for appprotocol
Browse files Browse the repository at this point in the history
  • Loading branch information
jfuen10 committed Jan 29, 2025
1 parent 009d672 commit fe446a8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
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

0 comments on commit fe446a8

Please sign in to comment.