Skip to content

Commit 250ed6e

Browse files
committed
using stable images
1 parent a6463ec commit 250ed6e

4 files changed

Lines changed: 18 additions & 18 deletions

File tree

deploy/kafka/kafka-001-sts.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ spec:
4444
claimName: "kafka-pvc-data"
4545
initContainers:
4646
- name: "wait-for-zookeeper"
47-
image: "busybox:latest"
47+
image: "busybox:1.36.1"
4848
imagePullPolicy: "IfNotPresent"
4949
command: ["sh", "-c", 'result=1; until [ $result -eq 0 ]; do OK=$(echo ruok | nc -w 1 zookeeper-0.zookeeper 2181); if [ "$OK" == "imok" ]; then result=0; echo "zookeeper returned imok!"; else echo waiting for zookeeper to be ready; sleep 1; fi; done; echo "Success: zookeeper is up"']
50-
50+
5151
containers:
5252
- name: kafka
5353
image: "ghcr.io/nuvolaris/kafka:2.3.1.2311011621"
@@ -67,9 +67,9 @@ spec:
6767
- name: "KAFKA_ADVERTISED_LISTENERS"
6868
value: "EXTERNAL://_{HOSTNAME_COMMAND}:9092"
6969
- name: "KAFKA_INTER_BROKER_LISTENER_NAME"
70-
value: "EXTERNAL"
70+
value: "EXTERNAL"
7171
- name: "KAFKA_ZOOKEEPER_CONNECT"
72-
value: "zookeeper-0.zookeeper:2181"
72+
value: "zookeeper-0.zookeeper:2181"
7373
volumeMounts:
7474
- mountPath: /kafka
7575
name: "kafka-pvc"
@@ -104,4 +104,4 @@ spec:
104104
volumeMounts:
105105
- mountPath: /kafka
106106
name: kafka-pvc
107-
readOnly: true
107+
readOnly: true

deploy/redis/redis-set.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ spec:
3232
name: redis
3333
app: redis
3434
annotations:
35-
whisks.nuvolaris.org/annotate-version: "true"
35+
whisks.nuvolaris.org/annotate-version: "true"
3636
spec:
37-
restartPolicy: Always
37+
restartPolicy: Always
3838
containers:
3939
- name: redis
40-
image: bitnamisecure/valkey:latest
40+
image: docker.io/bitnamilegacy/redis:8.2.1
4141
command: ["/bin/sh","-c","redis-server /redis-master/redis.conf"]
4242
env:
4343
- name: MASTER

nuvolaris/templates/kafka-001-sts.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ spec:
3636
name: kafka
3737
app: kafka
3838
annotations:
39-
whisks.nuvolaris.org/annotate-version: "true"
39+
whisks.nuvolaris.org/annotate-version: "true"
4040
spec:
4141
restartPolicy: Always
4242
volumes:
@@ -46,10 +46,10 @@ spec:
4646

4747
initContainers:
4848
- name: "wait-for-zookeeper"
49-
image: "busybox:latest"
49+
image: "busybox:1.36.1"
5050
imagePullPolicy: "IfNotPresent"
5151
command: ["sh", "-c", 'result=1; until [ $result -eq 0 ]; do OK=$(echo ruok | nc -w 1 {{zookeeper_host}} {{zookeeper_port}}); if [ "$OK" == "imok" ]; then result=0; echo "zookeeper returned imok!"; else echo waiting for zookeeper to be ready; sleep 1; fi; done; echo "Success: zookeeper is up"']
52-
52+
5353
containers:
5454
- name: kafka
5555
image: "ghcr.io/nuvolaris/kafka:2.3.1.2311011621"
@@ -69,9 +69,9 @@ spec:
6969
- name: "KAFKA_ADVERTISED_LISTENERS"
7070
value: "EXTERNAL://_{HOSTNAME_COMMAND}:9092"
7171
- name: "KAFKA_INTER_BROKER_LISTENER_NAME"
72-
value: "EXTERNAL"
72+
value: "EXTERNAL"
7373
- name: "KAFKA_ZOOKEEPER_CONNECT"
74-
value: "{{zookeeper_url}}"
74+
value: "{{zookeeper_url}}"
7575
volumeMounts:
7676
- mountPath: /kafka
7777
name: "kafka-pvc"
@@ -106,4 +106,4 @@ spec:
106106
volumeMounts:
107107
- mountPath: /kafka
108108
name: "kafka-pvc"
109-
readOnly: true
109+
readOnly: true

nuvolaris/templates/redis-set.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,17 @@ spec:
3232
name: redis
3333
app: redis
3434
annotations:
35-
whisks.nuvolaris.org/annotate-version: "true"
35+
whisks.nuvolaris.org/annotate-version: "true"
3636
spec:
3737
restartPolicy: Always
3838
{% if applypodsecurity %}
3939
securityContext:
40-
fsGroup: 1001
41-
runAsUser: 1001 #default BITNAMI user
40+
fsGroup: 1001
41+
runAsUser: 1001 #default BITNAMI user
4242
{% endif %}
4343
containers:
4444
- name: redis
45-
image: bitnamisecure/valkey:latest
45+
image: docker.io/bitnamilegacy/redis:8.2.1
4646
command: ["/bin/sh","-c","redis-server /redis-master/redis.conf"]
4747
env:
4848
- name: MASTER

0 commit comments

Comments
 (0)