[memcached] Allow to configure additional service parameters

Use the following structure in values to define addtional service
parameters:

Values: network:
    memcached:
      service:
        type: loadBalancer
        loadBalancerIP: 1.1.1.1
Change-Id: I94c87e530d90f603949ccacbf0602273feec741a
This commit is contained in:
Vasyl Saienko 2024-09-14 15:12:40 +00:00
parent 954e338d17
commit 10fca14997
4 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,6 @@ apiVersion: v1
appVersion: v1.5.5 appVersion: v1.5.5
description: OpenStack-Helm Memcached description: OpenStack-Helm Memcached
name: memcached name: memcached
version: 0.1.14 version: 0.1.15
home: https://github.com/memcached/memcached home: https://github.com/memcached/memcached
... ...

View File

@ -30,4 +30,5 @@ spec:
{{- end }} {{- end }}
selector: selector:
{{ tuple $envAll "memcached" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} {{ tuple $envAll "memcached" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
{{ .Values.network.memcached | include "helm-toolkit.snippets.service_params" | indent 2 }}
{{- end }} {{- end }}

View File

@ -103,6 +103,9 @@ endpoints:
default: 53 default: 53
protocol: UDP protocol: UDP
network:
memcached: {}
network_policy: network_policy:
memcached: memcached:
ingress: ingress:

View File

@ -15,4 +15,5 @@ memcached:
- 0.1.12 Added OCI registry authentication - 0.1.12 Added OCI registry authentication
- 0.1.13 Replace node-role.kubernetes.io/master with control-plane - 0.1.13 Replace node-role.kubernetes.io/master with control-plane
- 0.1.14 Use quay.io/airshipit/kubernetes-entrypoint:latest-ubuntu_focal by default - 0.1.14 Use quay.io/airshipit/kubernetes-entrypoint:latest-ubuntu_focal by default
- 0.1.15 Allow to pass additional service parameters
... ...