Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy/acme-openshift/acme-setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
containers:
- name: openshift-acme
image: quay.io/tnozicka/openshift-acme:controller
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
args:
- --exposer-image=quay.io/tnozicka/openshift-acme:exposer
- --loglevel=4
10 changes: 5 additions & 5 deletions deploy/kafka/kafka-001-sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ spec:
claimName: "kafka-pvc-data"
initContainers:
- name: "wait-for-zookeeper"
image: "busybox:latest"
image: "busybox:1.36.1"
imagePullPolicy: "IfNotPresent"
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"']

containers:
- name: kafka
image: "ghcr.io/nuvolaris/kafka:2.3.1.2311011621"
Expand All @@ -67,9 +67,9 @@ spec:
- name: "KAFKA_ADVERTISED_LISTENERS"
value: "EXTERNAL://_{HOSTNAME_COMMAND}:9092"
- name: "KAFKA_INTER_BROKER_LISTENER_NAME"
value: "EXTERNAL"
value: "EXTERNAL"
- name: "KAFKA_ZOOKEEPER_CONNECT"
value: "zookeeper-0.zookeeper:2181"
value: "zookeeper-0.zookeeper:2181"
volumeMounts:
- mountPath: /kafka
name: "kafka-pvc"
Expand Down Expand Up @@ -104,4 +104,4 @@ spec:
volumeMounts:
- mountPath: /kafka
name: kafka-pvc
readOnly: true
readOnly: true
2 changes: 1 addition & 1 deletion deploy/mongodb-operator/mongodb-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
- name: MONGODB_REPO_URL
value: docker.io
image: quay.io/mongodb/mongodb-kubernetes-operator:0.7.8
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
name: mongodb-kubernetes-operator
resources:
limits:
Expand Down
2 changes: 1 addition & 1 deletion deploy/openwhisk-standalone/standalone-conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ data:
apiVersion: v1
kind: Pod
spec:
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
imagePullSecrets:
- name: registry-pull-secret

6 changes: 3 additions & 3 deletions deploy/quota/quota_checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
containers:
- name: quota-checker
image: registry.hub.docker.com/nuvolaris/nuvolaris-operator:1.3.0-mastrogpt.2405142002
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
command:
- /bin/sh
- -c
Expand All @@ -48,6 +48,6 @@ spec:
- name: DATABASE_DB_HOST_NAME
value: nuvolaris-postgres
- name: REDIS_PASSWORD
value: RedisS0meP@ass3
restartPolicy: OnFailure
value: RedisS0meP@ass3
restartPolicy: OnFailure

6 changes: 3 additions & 3 deletions deploy/redis/redis-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ spec:
name: redis
app: redis
annotations:
whisks.nuvolaris.org/annotate-version: "true"
whisks.nuvolaris.org/annotate-version: "true"
spec:
restartPolicy: Always
restartPolicy: Always
containers:
- name: redis
image: bitnamisecure/valkey:latest
image: docker.io/bitnamilegacy/redis:8.2.1
command: ["/bin/sh","-c","redis-server /redis-master/redis.conf"]
env:
- name: MASTER
Expand Down
2 changes: 1 addition & 1 deletion nuvolaris/templates/couchdb-init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
containers:
- name: init-couchdb
image: "{{image}}"
#imagePullPolicy: "Always"
imagePullPolicy: "IfNotPresent"
command: ["./dbinit.sh"]
env:
- name: "NUVOLARIS_CONFIG"
Expand Down
8 changes: 4 additions & 4 deletions nuvolaris/templates/couchdb-set-tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ metadata:
namespace: nuvolaris
name: {{name}}
labels:
name: {{name}}
name: {{name}}
app: {{appName}}
index: "{{index}}"
replicationRole: "{{replicationRole}}"
Expand All @@ -39,10 +39,10 @@ spec:
labels:
name: {{name}}
app: {{appName}}
index: "{{index}}"
index: "{{index}}"
replicationRole: primary
annotations:
whisks.nuvolaris.org/annotate-version: "true"
whisks.nuvolaris.org/annotate-version: "true"
spec:
restartPolicy: Always
containers:
Expand All @@ -53,7 +53,7 @@ spec:
capabilities:
drop:
- ALL
imagePullPolicy: "Always"
imagePullPolicy: "IfNotPresent"
{% else %}
imagePullPolicy: "IfNotPresent"
{% endif %}
Expand Down
12 changes: 6 additions & 6 deletions nuvolaris/templates/kafka-001-sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
name: kafka
app: kafka
annotations:
whisks.nuvolaris.org/annotate-version: "true"
whisks.nuvolaris.org/annotate-version: "true"
spec:
restartPolicy: Always
volumes:
Expand All @@ -46,10 +46,10 @@ spec:

initContainers:
- name: "wait-for-zookeeper"
image: "busybox:latest"
image: "busybox:1.36.1"
imagePullPolicy: "IfNotPresent"
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"']

containers:
- name: kafka
image: "ghcr.io/nuvolaris/kafka:2.3.1.2311011621"
Expand All @@ -69,9 +69,9 @@ spec:
- name: "KAFKA_ADVERTISED_LISTENERS"
value: "EXTERNAL://_{HOSTNAME_COMMAND}:9092"
- name: "KAFKA_INTER_BROKER_LISTENER_NAME"
value: "EXTERNAL"
value: "EXTERNAL"
- name: "KAFKA_ZOOKEEPER_CONNECT"
value: "{{zookeeper_url}}"
value: "{{zookeeper_url}}"
volumeMounts:
- mountPath: /kafka
name: "kafka-pvc"
Expand Down Expand Up @@ -106,4 +106,4 @@ spec:
volumeMounts:
- mountPath: /kafka
name: "kafka-pvc"
readOnly: true
readOnly: true
8 changes: 4 additions & 4 deletions nuvolaris/templates/redis-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ spec:
name: redis
app: redis
annotations:
whisks.nuvolaris.org/annotate-version: "true"
whisks.nuvolaris.org/annotate-version: "true"
spec:
restartPolicy: Always
{% if applypodsecurity %}
securityContext:
fsGroup: 1001
runAsUser: 1001 #default BITNAMI user
fsGroup: 1001
runAsUser: 1001 #default BITNAMI user
{% endif %}
containers:
- name: redis
image: bitnamisecure/valkey:latest
image: docker.io/bitnamilegacy/redis:8.2.1
command: ["/bin/sh","-c","redis-server /redis-master/redis.conf"]
env:
- name: MASTER
Expand Down
Loading