diff --git a/charts/opencost/Chart.yaml b/charts/opencost/Chart.yaml index fe73b47..f9b32bb 100755 --- a/charts/opencost/Chart.yaml +++ b/charts/opencost/Chart.yaml @@ -9,7 +9,7 @@ keywords: - finops - monitoring - opencost -version: 2.5.17 +version: 2.5.18 maintainers: - name: jessegoodier - name: toscott diff --git a/charts/opencost/templates/httproute.yaml b/charts/opencost/templates/httproute.yaml index 4041534..0e9ec15 100644 --- a/charts/opencost/templates/httproute.yaml +++ b/charts/opencost/templates/httproute.yaml @@ -15,6 +15,12 @@ spec: parentRefs: {{- range .Values.opencost.ui.httpRoute.parentRefs }} - name: {{ .name }} + {{ if .kind }} + kind: {{ .kind | quote }} + {{ end }} + {{ if .group }} + group: {{ .group | quote }} + {{ end }} {{- if .namespace }} namespace: {{ .namespace }} {{- end }} @@ -59,6 +65,12 @@ spec: parentRefs: {{- range .Values.opencost.exporter.apiHttpRoute.parentRefs }} - name: {{ .name }} + {{ if .kind }} + kind: {{ .kind | quote }} + {{ end }} + {{ if .group }} + group: {{ .group | quote }} + {{ end }} {{- if .namespace }} namespace: {{ .namespace }} {{- end }} @@ -103,6 +115,12 @@ spec: parentRefs: {{- range .Values.opencost.mcp.httpRoute.parentRefs }} - name: {{ .name }} + {{ if .kind }} + kind: {{ .kind | quote }} + {{ end }} + {{ if .group }} + group: {{ .group | quote }} + {{ end }} {{- if .namespace }} namespace: {{ .namespace }} {{- end }} diff --git a/charts/opencost/values.yaml b/charts/opencost/values.yaml index edd088c..4c3f728 100644 --- a/charts/opencost/values.yaml +++ b/charts/opencost/values.yaml @@ -256,6 +256,8 @@ opencost: # @default -- See [values.yaml](values.yaml) parentRefs: - name: "" + # kind: "" + # group: "" namespace: "" sectionName: "" # -- Hostnames for the HTTPRoute @@ -450,6 +452,8 @@ opencost: # @default -- See [values.yaml](values.yaml) parentRefs: - name: "" + # kind: "" + # group: "" namespace: "" sectionName: "" # -- Hostnames for the HTTPRoute @@ -751,6 +755,8 @@ opencost: # @default -- See [values.yaml](values.yaml) parentRefs: - name: "" + # kind: "" + # group: "" namespace: "" sectionName: "" # -- Hostnames for the HTTPRoute