Files
charts/bitnami/kubeapps/templates/kubeappsapis/service.yaml
T
311b9dad30 [bitnami/kubeapps] Release Kubeapps 2.9.0 and bump bitnami/postgresql to its latest version (#19806)
* Update in preparation for the next chart release.

Signed-off-by: Michael Nelson <minelson@vmware.com>

* Revert two changes that we overwrote with our dev changes.

Signed-off-by: Michael Nelson <minelson@vmware.com>

* Avoid empty envFrom

Co-authored-by: Juan Ariza Toledano <jariza@vmware.com>
Signed-off-by: Michael Nelson <absoludity@gmail.com>

* Update param comment for ociCatalog.

Co-authored-by: Juan Ariza Toledano <jariza@vmware.com>
Signed-off-by: Michael Nelson <absoludity@gmail.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Update oci-catalog tag.

Signed-off-by: Michael Nelson <absoludity@gmail.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Bump PostgreSQL subchart major version

Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>

* Update tests for the new version

Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>

* Update container images version

Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: Michael Nelson <minelson@vmware.com>
Signed-off-by: Michael Nelson <absoludity@gmail.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Co-authored-by: Michael Nelson <minelson@vmware.com>
Co-authored-by: Michael Nelson <absoludity@gmail.com>
Co-authored-by: Juan Ariza Toledano <jariza@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
2023-10-12 10:17:59 +02:00

33 lines
1.4 KiB
YAML

{{- /*
Copyright VMware, Inc.
SPDX-License-Identifier: APACHE-2.0
*/}}
apiVersion: v1
kind: Service
metadata:
name: {{ template "kubeapps.kubeappsapis.fullname" . }}
namespace: {{ .Release.Namespace | quote }}
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
app.kubernetes.io/component: kubeappsapis
{{- if or .Values.kubeappsapis.service.annotations .Values.commonAnnotations }}
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.kubeappsapis.service.annotations .Values.commonAnnotations ) "context" . ) }}
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
{{- end }}
spec:
type: ClusterIP
ports:
- port: {{ .Values.kubeappsapis.service.ports.http }}
targetPort: grpc-http
protocol: TCP
name: grpc-http
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.kubeappsapis.podLabels .Values.commonLabels ) "context" . ) }}
{{- if .Values.ociCatalog.enabled }}
- port: {{ .Values.ociCatalog.containerPorts.grpc }}
targetPort: grpc
protocol: TCP
name: grpc
{{- end }}
selector: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 4 }}
app.kubernetes.io/component: kubeappsapis