summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@orange.com>2022-04-10 18:58:36 +0000
committerGerrit Code Review <gerrit@onap.org>2022-04-10 18:58:36 +0000
commitc80c2387c1980ac820c1df956aec38479276b3c7 (patch)
tree9cac12d4beb4a27a80a11de803dbe67e89a08e79 /kubernetes
parented50db35fe6d6b63e89d06c40f869bb803309af3 (diff)
parentaf68a7e90fd066833f70bd9ad013c2f92f9e9c4d (diff)
Merge "[STRIMZI] Fix random node port allocation"
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/strimzi/templates/strimzi-kafka.yaml8
-rw-r--r--kubernetes/strimzi/values.yaml2
2 files changed, 9 insertions, 1 deletions
diff --git a/kubernetes/strimzi/templates/strimzi-kafka.yaml b/kubernetes/strimzi/templates/strimzi-kafka.yaml
index cfd2ef13cc..a94879b8a0 100644
--- a/kubernetes/strimzi/templates/strimzi-kafka.yaml
+++ b/kubernetes/strimzi/templates/strimzi-kafka.yaml
@@ -46,6 +46,14 @@ spec:
tls: true
authentication:
type: tls
+ configuration:
+ bootstrap:
+ nodePort: {{ .Values.global.nodePortPrefixExt }}91
+ brokers:
+ - broker: 0
+ nodePort: {{ .Values.global.nodePortPrefixExt }}92
+ - broker: 1
+ nodePort: {{ .Values.global.nodePortPrefixExt }}93
authorization:
type: simple
superUsers:
diff --git a/kubernetes/strimzi/values.yaml b/kubernetes/strimzi/values.yaml
index e8db803f94..9e63c2c131 100644
--- a/kubernetes/strimzi/values.yaml
+++ b/kubernetes/strimzi/values.yaml
@@ -16,7 +16,7 @@
# Global configuration defaults.
#################################################################
global:
- nodePortPrefix: 302
+ nodePortPrefixExt: 304
persistence:
mountPath: /dockerdata-nfs