Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update dependencies to newer versions hosted in the registry #113

Closed
wants to merge 1 commit into from
Closed
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
Binary file removed kafka/kafka-18.0.3.tgz
Binary file not shown.
41 changes: 9 additions & 32 deletions kafka/values.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,11 @@
controller:
persistence:
size: 1Gi
replicaCount: 1

listeners:
- PLAINTEXT://:9092
- CONTROLLER://:9093
advertisedListeners:
- "PLAINTEXT://$(MY_POD_NAME).kafka-headless:9092"
listenerSecurityProtocolMap: "CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT"
allowPlaintextListener: true
interBrokerListenerName: PLAINTEXT
command:
- /opt/bitnami/scripts/kafka/entrypoint.sh
- "sh"
- "-c"
- |
set -ex
/opt/bitnami/scripts/kafka/setup.sh
export KAFKA_CFG_BROKER_ID="$(kafka-storage.sh random-uuid)"
kafka-storage.sh format --config "${KAFKA_CONF_FILE}" --cluster-id "${KAFKA_CFG_BROKER_ID}" --ignore-formatted
/opt/bitnami/scripts/kafka/run.sh
extraEnvVars:
# Kraft Setup (Kafka as Controller - no Zookeeper)
- name: KAFKA_CFG_NODE_ID
value: "1"
- name: KAFKA_CFG_BROKER_ID
value: "1"
- name: KAFKA_CFG_CONTROLLER_QUORUM_VOTERS
value: [email protected]:9093
- name: KAFKA_CFG_CONTROLLER_LISTENER_NAMES
value: CONTROLLER
- name: KAFKA_CFG_PROCESS_ROLES
value: broker,controller
persistence:
enabled: false
client:
protocol: PLAINTEXT

zookeeper:
enabled: false
enabled: false
Binary file removed mongodb/mongodb-12.1.30.tgz
Binary file not shown.
14 changes: 7 additions & 7 deletions okteto-with-volumes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@ deploy:
- name: Deploy PostgreSQL
command: |
# If we get a snapshot name passed into the deployment we will add two annotations to the persistent volume for PostgreSQL.
# These annotations tell Okteto to create the volume from an existing snapshot.
# Details in https://www.okteto.com/docs/self-hosted/administration/volume-snapshots/#consuming-a-volume-snapshot-created-in-kubernetes
# These annotations tell Okteto to create the volume from an existing snapshot.
# Details in https://www.okteto.com/docs/self-hosted/administration/volume-snapshots/#consuming-a-volume-snapshot-created-in-kubernetes
if [ -z $DB_SNAPSHOT_NAME ]; then
helm upgrade --install postgresql postgresql/postgresql-11.6.21.tgz -f postgresql/values.yml --version 11.6.21
helm upgrade --install postgresql oci://registry-1.docker.io/bitnamicharts/postgresql -f postgresql/values.yml --version 13.4.4
else
helm upgrade --install postgresql postgresql/postgresql-11.6.21.tgz \
helm upgrade --install postgresql oci://registry-1.docker.io/bitnamicharts/postgresql \
-f postgresql/values.yml \
--version 11.6.21 \
--version 13.4.4 \
--set primary.persistence.annotations."dev\.okteto\.com/from-snapshot-name"="$DB_SNAPSHOT_NAME" \
--set primary.persistence.annotations."dev\.okteto\.com/from-snapshot-namespace"="$DB_SNAPSHOT_NAMESPACE"
fi
- name: Deploy Kafka
command: helm upgrade --install kafka kafka/kafka-18.0.3.tgz -f kafka/values.yml --version 18.0.3
command: helm upgrade --install kafka oci://registry-1.docker.io/bitnamicharts/kafka -f kafka/values.yml --version 26.8.3
- name: Deploy MongoDB
command: helm upgrade --install mongodb mongodb/mongodb-12.1.30.tgz -f mongodb/values.yml --version 12.1.30
command: helm upgrade --install mongodb oci://registry-1.docker.io/bitnamicharts/mongodb -f mongodb/values.yml --version 14.8.2
- name: Deploy Frontend
command: helm upgrade --install frontend frontend/chart --set image=${OKTETO_BUILD_FRONTEND_IMAGE}
- name: Deploy Catalog
Expand Down
6 changes: 3 additions & 3 deletions okteto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ build:

deploy:
- name: Deploy PostgreSQL
command: helm upgrade --install postgresql postgresql/postgresql-11.6.21.tgz -f postgresql/values.yml --version 11.6.21
command: helm upgrade --install postgresql oci://registry-1.docker.io/bitnamicharts/postgresql -f postgresql/values.yml --version 13.4.4
- name: Deploy Kafka
command: helm upgrade --install kafka kafka/kafka-18.0.3.tgz -f kafka/values.yml --version 18.0.3
command: helm upgrade --install kafka oci://registry-1.docker.io/bitnamicharts/kafka -f kafka/values.yml --version 26.8.3
- name: Deploy MongoDB
command: helm upgrade --install mongodb mongodb/mongodb-12.1.30.tgz -f mongodb/values.yml --version 12.1.30
command: helm upgrade --install mongodb oci://registry-1.docker.io/bitnamicharts/mongodb -f mongodb/values.yml --version 14.8.2
- name: Deploy Frontend
command: helm upgrade --install frontend frontend/chart --set image=${OKTETO_BUILD_FRONTEND_IMAGE}
- name: Deploy Catalog
Expand Down
Binary file removed postgresql/postgresql-11.6.21.tgz
Binary file not shown.