Skip to content
Open
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
5 changes: 4 additions & 1 deletion charts/openfga/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@ metadata:
{{- end }}
spec:
type: {{ .Values.service.type }}
{{- if .Values.service.clusterIP }}
clusterIP: {{ .Values.service.clusterIP }}
{{- end }}
Comment on lines +13 to +15
Copy link

Copilot AI Dec 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The service template references .Values.service.clusterIP but this field has not been added to the values.yaml file. Users will not be able to configure this setting without adding it to the values.yaml file. Add a clusterIP field under the service section in values.yaml with appropriate documentation.

Copilot uses AI. Check for mistakes.
Comment on lines +13 to +15
Copy link

Copilot AI Dec 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new clusterIP field should be documented in the values.schema.json file to provide schema validation and documentation for users. Add a schema definition for the clusterIP property under the service object in values.schema.json, including a description that explains it can be set to "None" for headless services or a specific IP address.

Copilot uses AI. Check for mistakes.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Khayet I agree with the bot here, it would be nice to add this to values.schema.json so that it is more visible to users - would you mind doing that?

ports:
- name: grpc
port: {{ (split ":" .Values.grpc.addr)._1 }}
targetPort: grpc
protocol: TCP

{{- if .Values.http.enabled }}
- name: http
- name: http
port: {{ (split ":" .Values.http.addr)._1 }}
targetPort: http
protocol: TCP
Expand Down
Loading