diff --git a/kafka/kafka-18.0.3.tgz b/kafka/kafka-18.0.3.tgz deleted file mode 100644 index c751c755..00000000 Binary files a/kafka/kafka-18.0.3.tgz and /dev/null differ diff --git a/kafka/values.yml b/kafka/values.yml index 7bb63725..db83a864 100644 --- a/kafka/values.yml +++ b/kafka/values.yml @@ -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: 1@127.0.0.1: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 \ No newline at end of file + enabled: false diff --git a/mongodb/mongodb-12.1.30.tgz b/mongodb/mongodb-12.1.30.tgz deleted file mode 100644 index 21ee21f6..00000000 Binary files a/mongodb/mongodb-12.1.30.tgz and /dev/null differ diff --git a/okteto-with-volumes.yaml b/okteto-with-volumes.yaml index e9e257aa..a37d86eb 100644 --- a/okteto-with-volumes.yaml +++ b/okteto-with-volumes.yaml @@ -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 diff --git a/okteto.yml b/okteto.yml index 6f026482..edb3af04 100644 --- a/okteto.yml +++ b/okteto.yml @@ -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 diff --git a/postgresql/postgresql-11.6.21.tgz b/postgresql/postgresql-11.6.21.tgz deleted file mode 100644 index 343d30dd..00000000 Binary files a/postgresql/postgresql-11.6.21.tgz and /dev/null differ