From 5fa3b20af07c711252b29d04be7b105dd77242ef Mon Sep 17 00:00:00 2001 From: Valera Bronshtein <105710429+valeraBr@users.noreply.github.com> Date: Wed, 7 Jun 2023 22:56:19 +0300 Subject: [PATCH 01/11] Update deploy.sh --- stacks/memphis/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks/memphis/deploy.sh b/stacks/memphis/deploy.sh index 8f4f13ad..3d42955b 100755 --- a/stacks/memphis/deploy.sh +++ b/stacks/memphis/deploy.sh @@ -13,7 +13,7 @@ helm repo update > /dev/null ################################################################################ STACK="memphis" CHART="memphis/memphis" -CHART_VERSION="0.4.0" +CHART_VERSION="1.0.3" NAMESPACE="memphis" values="https://raw.githubusercontent.com/memphisdev/memphis-k8s/gh-pages/memphis/values.yaml" From 295c534b540b5dba20e25c01cfa987cd83630f4c Mon Sep 17 00:00:00 2001 From: Valera Bronshtein <105710429+valeraBr@users.noreply.github.com> Date: Wed, 7 Jun 2023 23:02:14 +0300 Subject: [PATCH 02/11] Update upgrade.sh --- stacks/memphis/upgrade.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stacks/memphis/upgrade.sh b/stacks/memphis/upgrade.sh index c391549d..01f60fd0 100644 --- a/stacks/memphis/upgrade.sh +++ b/stacks/memphis/upgrade.sh @@ -14,6 +14,11 @@ helm repo update > /dev/null STACK="memphis" CHART="memphis/memphis" NAMESPACE="memphis" +CT=$(kubectl get secret --namespace "memphis" memphis-creds -o jsonpath="{.data.CONNECTION_TOKEN}" | base64 -d) +ROOT_PASSWORD=$(kubectl get secret --namespace "memphis" memphis-creds -o jsonpath="{.data.ROOT_PASSWORD}" | base64 -d) +PASSWORD=$(kubectl get secret --namespace "memphis" memphis-metadata -o jsonpath="{.data.password}" | base64 -d) +REPMGR_PASSWORD=$(kubectl get secret --namespace "memphis" memphis-metadata -o jsonpath="{.data.repmgr-password}" | base64 -d) +ADMIN_PASSWORD=$(kubectl get secret --namespace "memphis" memphis-metadata-coordinator -o jsonpath="{.data.admin-password}" | base64 -d) if [ -z "${MP_KUBERNETES}" ]; then # use local version of values.yml From b7f362df96b809aeb15549a21475c36a165c91e1 Mon Sep 17 00:00:00 2001 From: Valera Bronshtein <105710429+valeraBr@users.noreply.github.com> Date: Wed, 7 Jun 2023 23:03:43 +0300 Subject: [PATCH 03/11] Update upgrade.sh --- stacks/memphis/upgrade.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/stacks/memphis/upgrade.sh b/stacks/memphis/upgrade.sh index 01f60fd0..1ea6d7d1 100644 --- a/stacks/memphis/upgrade.sh +++ b/stacks/memphis/upgrade.sh @@ -26,9 +26,14 @@ if [ -z "${MP_KUBERNETES}" ]; then values="$ROOT_DIR/stacks/memphis/values.yml" else # use github hosted master version of values.yml - values="https://raw.githubusercontent.com/digitalocean/marketplace-kubernetes/master/stacks/memphis/values.yml" + values="https://raw.githubusercontent.com/memphisdev/memphis-k8s/gh-pages/memphis/values.yaml" fi helm upgrade "$STACK" "$CHART" \ --namespace "$NAMESPACE" \ --values "$values" \ +--set metadata.postgresql.password=$PASSWORD,\ +metadata.postgresql.repmgrPassword=$REPMGR_PASSWORD,\ +metadata.pgpool.adminPassword=$ADMIN_PASSWORD,\ +connectionToken=$CT,\ +rootPwd=$ROOT_PASSWORD From 069cc51b9640155cf8515739a0ded00b6bce4bdd Mon Sep 17 00:00:00 2001 From: Valera Bronshtein <105710429+valeraBr@users.noreply.github.com> Date: Wed, 7 Jun 2023 23:06:18 +0300 Subject: [PATCH 04/11] Update values.yml --- stacks/memphis/values.yml | 697 +------------------------------------- 1 file changed, 1 insertion(+), 696 deletions(-) diff --git a/stacks/memphis/values.yml b/stacks/memphis/values.yml index 75c7fd52..e52cf86a 100644 --- a/stacks/memphis/values.yml +++ b/stacks/memphis/values.yml @@ -1,696 +1 @@ -rootPwd: "" -connectionToken: "" -dashboard: - port: 80 -image: "" -analytics: true -logsRetentionInDays: 3 -teston: "" -##################################### -# # -# NATS Server Configuration BEGIN # -# # -##################################### -nats: - #image: nats:2.7.2-alpine - image: memphisos/memphis-nats:2.8.4-alpine3.15 - pullPolicy: Always - - # The servers name prefix, must be used for example when we want a NATS cluster - # spanning multiple Kubernetes clusters. - serverNamePrefix: "" - - # Toggle profiling. - # This enables nats-server pprof (profiling) port, so you can see goroutines - # stacks, memory heap sizes, etc. - profiling: - enabled: false - port: 6000 - - # Toggle using health check probes to better detect failures. - healthcheck: - # NOTE: Only works on NATS Server +2.7.1. - # This is recommended to be enabled for NATS JetStream deployments upgrades. - enableHealthz: true - - # Enable liveness checks. If this fails, then the NATS Server will restarted. - liveness: - enabled: true - - initialDelaySeconds: 10 - timeoutSeconds: 5 - # NOTE: liveness check + terminationGracePeriodSeconds can introduce unecessarily long outages - # due to the coupling between liveness probe and terminationGracePeriodSeconds. - # To avoid this, we make the periodSeconds of the liveness check to be about half the default - # time that it takes for lame duck graceful stop. - # - # In case of using Kubernetes +1.22 with probe-level terminationGracePeriodSeconds - # we could revise this but for now keep a minimal liveness check. - # - # More info: - # - # https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#probe-level-terminationgraceperiodseconds - # https://github.com/kubernetes/kubernetes/issues/64715 - # - periodSeconds: 60 - successThreshold: 1 - failureThreshold: 3 - # Only for Kubernetes +1.22 that have pod level probes enabled. - terminationGracePeriodSeconds: - - # Periodically check for the server to be ready for connections while - # the NATS container is running. - # Disabled by default since covered by startup probe and it is the same - # as the liveness check. - readiness: - enabled: false - - initialDelaySeconds: 10 - timeoutSeconds: 5 - periodSeconds: 10 - successThreshold: 1 - failureThreshold: 3 - - # Enable startup checks to confirm server is ready for traffic. - # This is recommended for JetStream deployments since in cluster mode - # it will try to ensure that the server is ready to serve streams. - startup: - enabled: true - - initialDelaySeconds: 10 - timeoutSeconds: 5 - periodSeconds: 10 - successThreshold: 1 - failureThreshold: 30 - - # securityContext for the nats container - securityContext: {} - - # Toggle whether to enable external access. - # This binds a host port for clients, gateways and leafnodes. - externalAccess: false - - # Toggle to disable client advertisements (connect_urls), - # in case of running behind a load balancer (which is not recommended) - # it might be required to disable advertisements. - advertise: true - - # In case both external access and advertise are enabled - # then a service account would be required to be able to - # gather the public ip from a node. - serviceAccount: "nats-server" - - # The number of connect attempts against discovered routes. - connectRetries: 120 - - # selector matchLabels for the server and service. - # If left empty defaults are used. - # This is helpful if you are updating from Chart version <=7.4 - selectorLabels: {} - - resources: {} - - client: - port: 6666 - portName: "client" - - # Server settings. - limits: - maxConnections: - maxSubscriptions: - maxControlLine: - maxPayload: 8M - - writeDeadline: - maxPending: - maxPings: - - # How many seconds should pass before sending a PING - # to a client that has no activity. - pingInterval: - - # grace period after pod begins shutdown before starting to close client connections - lameDuckGracePeriod: "10s" - - # duration over which to slowly close close client connections after lameDuckGracePeriod has passed - lameDuckDuration: "30s" - - # terminationGracePeriodSeconds determines how long to wait for graceful shutdown - # this should be at least `lameDuckGracePeriod` + `lameDuckDuration` + 20s shutdown overhead - terminationGracePeriodSeconds: 60 - logging: - debug: - trace: - logtime: - connectErrorReports: - reconnectErrorReports: - - # customConfigSecret can be used to use an custom secret for the config - # of the NATS Server. - # NOTE: For this to work the name of the configuration has to be - # called `nats.conf`. - # - # e.g. kubectl create secret generic custom-nats-conf --from-file nats.conf - # - # customConfigSecret: - # name: - # - # Alternately, the generated config can be extended with extra imports using the below syntax. - # The benefit of this is that cluster settings can be built up via helm values, but external - # secrets can be referenced and imported alongside it. - # - # config: - # : - # - # name: "" - # - # e.g: - # - # config: - # - name: ssh-key - # secret: - # secretName: ssh-key - # - name: config-vol - # configMap: - # name: log-config - - jetstream: - enabled: true - - # Jetstream Domain - domain: - - ########################## - # # - # Jetstream Encryption # - # # - ########################## - encryption: - # Use key if you want to provide the key via Helm Values - # key: random_key - - # Use a secret reference if you want to get a key from a secret - # secret: - # name: "nats-jetstream-encryption" - # key: "key" - - ############################# - # # - # Jetstream Memory Storage # - # # - ############################# - memStorage: - enabled: true - size: 8Gi - - ############################ - # # - # Jetstream File Storage # - # # - ############################ - fileStorage: - enabled: true - storageDirectory: /data - - # Set for use with existing PVC - # existingClaim: jetstream-pvc - # claimStorageSize: 1Gi - - # Use below block to create new persistent volume - # only used if existingClaim is not specified - size: 10Gi - # storageClassName: "" - accessModes: - - ReadWriteOnce - annotations: - # key: "value" - - accounts: - admin3: - jetstream: - max_mem: 512M - max_file: 1G - max_streams: 10 - max_consumers: 100 - ####################### - # # - # TLS Configuration # - # # - ####################### - # - # # You can find more on how to setup and trouble shoot TLS connnections at: - # - # # https://docs.nats.io/nats-server/configuration/securing_nats/tls - # - - # tls: - # secret: - # name: nats-client-tls - # ca: "ca.crt" - # cert: "tls.crt" - # key: "tls.key" - -mqtt: - enabled: false - ackWait: 1m - maxAckPending: 100 - - ####################### - # # - # TLS Configuration # - # # - ####################### - # - # # You can find more on how to setup and trouble shoot TLS connnections at: - # - # # https://docs.nats.io/nats-server/configuration/securing_nats/tls - # - - # - # tls: - # secret: - # name: nats-mqtt-tls - # ca: "ca.crt" - # cert: "tls.crt" - # key: "tls.key" - -nameOverride: "" -namespaceOverride: "" - -# An array of imagePullSecrets, and they have to be created manually in the same namespace -# ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ -imagePullSecrets: [] - -# Toggle whether to use setup a Pod Security Context -# ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -securityContext: {} -# securityContext: -# fsGroup: 1000 -# runAsUser: 1000 -# runAsNonRoot: true - -# Affinity for pod assignment -# ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity -affinity: {} - -## Pod priority class name -## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass -priorityClassName: null - -# Service topology -# ref: https://kubernetes.io/docs/concepts/services-networking/service-topology/ -topologyKeys: [] - -# Pod Topology Spread Constraints -# ref https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/ -topologySpreadConstraints: [] -# - maxSkew: 1 -# topologyKey: zone -# whenUnsatisfiable: DoNotSchedule - -# Annotations to add to the NATS pods -# ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ -podAnnotations: {} -# key: "value" - -# Define a Pod Disruption Budget for the stateful set -# ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/ -podDisruptionBudget: - # minAvailable: 1 - # maxUnavailable: 1 - -# Node labels for pod assignment -# Ref: https://kubernetes.io/docs/user-guide/node-selection/ -nodeSelector: {} - -# Node tolerations for server scheduling to nodes with taints -# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ -# -tolerations: [] -# - key: "key" -# operator: "Equal|Exists" -# value: "value" -# effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)" - -# Annotations to add to the NATS StatefulSet -statefulSetAnnotations: {} - -# Labels to add to the pods of the NATS StatefulSet -statefulSetPodLabels: {} - -# Annotations to add to the NATS Service -serviceAnnotations: {} - -# additionalContainers are the sidecar containers to add to the NATS StatefulSet -additionalContainers: [] - -# additionalVolumes are the additional volumes to add to the NATS StatefulSet -additionalVolumes: [] - -# additionalVolumeMounts are the additional volume mounts to add to the nats-server and nats-server-config-reloader containers -additionalVolumeMounts: [] - -cluster: - enabled: false - replicas: 3 - noAdvertise: false - - # Explicitly set routes for clustering. - # When JetStream is enabled, the serverName must be unique in the cluster. - extraRoutes: [] - - # authorization: - # user: foo - # password: pwd - # timeout: 0.5 - -# Leafnode connections to extend a cluster: -# -# https://docs.nats.io/nats-server/configuration/leafnodes -# -leafnodes: - enabled: false - noAdvertise: false - # remotes: - # - url: "tls://connect.ngs.global:7422" - - ####################### - # # - # TLS Configuration # - # # - ####################### - # - # # You can find more on how to setup and trouble shoot TLS connnections at: - # - # # https://docs.nats.io/nats-server/configuration/securing_nats/tls - # - - # - # tls: - # secret: - # name: nats-client-tls - # ca: "ca.crt" - # cert: "tls.crt" - # key: "tls.key" - -# Gateway connections to create a super cluster -# -# https://docs.nats.io/nats-server/configuration/gateways -# -gateway: - enabled: false - name: "default" - # authorization: - # user: foo - # password: pwd - # timeout: 0.5 - # rejectUnknownCluster: false - - # You can add an implicit advertise address instead of using from Node's IP - # could also be a fqdn address - # advertise: "nats.example.com" - - ############################# - # # - # List of remote gateways # - # # - ############################# - # gateways: - # - name: other - # url: nats://my-gateway-url:7522 - - ####################### - # # - # TLS Configuration # - # # - ####################### - # - # # You can find more on how to setup and trouble shoot TLS connnections at: - # - # # https://docs.nats.io/nats-server/configuration/securing_nats/tls - # - # tls: - # secret: - # name: nats-client-tls - # ca: "ca.crt" - # cert: "tls.crt" - # key: "tls.key" - -# In case of both external access and advertisements being -# enabled, an initializer container will be used to gather -# the public ips. -bootconfig: - image: memphisos/memphis-broker-boot-config-staging:0.5.4 - pullPolicy: IfNotPresent - securityContext: {} - -# NATS Box -# -# https://github.com/nats-io/nats-box -# -natsbox: - enabled: false - image: natsio/nats-box:0.8.1 - pullPolicy: IfNotPresent - securityContext: {} - - # Labels to add to the natsbox deployment - # ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ - additionalLabels: {} - - # An array of imagePullSecrets, and they have to be created manually in the same namespace - # ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ - imagePullSecrets: [] - # - name: dockerhub - - # credentials: - # secret: - # name: nats-sys-creds - # key: sys.creds - - # Annotations to add to the box pods - # ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ - podAnnotations: {} - # key: "value" - - # Labels to add to the box pods - # ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ - podLabels: {} - # key: "value" - - # Affinity for nats box pod assignment - # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity - affinity: {} - - # Node labels for pod assignment - # Ref: https://kubernetes.io/docs/user-guide/node-selection/ - nodeSelector: {} - - # Node tolerations for server scheduling to nodes with taints - # Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ - # - tolerations: [] - # - key: "key" - # operator: "Equal|Exists" - # value: "value" - # effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)" - - # Additional nats-box server Volume mounts - extraVolumeMounts: [] - - # Additional nats-box server Volumes - extraVolumes: [] - -# The NATS config reloader image to use. -reloader: - enabled: true - image: memphisos/memphis-config-reloader:latest - pullPolicy: IfNotPresent - securityContext: {} - extraConfigs: [] - -# Prometheus NATS Exporter configuration. -exporter: - enabled: false - image: natsio/prometheus-nats-exporter:0.9.1 - pullPolicy: IfNotPresent - securityContext: {} - resources: {} - # Prometheus operator ServiceMonitor support. Exporter has to be enabled - serviceMonitor: - enabled: false - ## Specify the namespace where Prometheus Operator is running - ## - # namespace: monitoring - labels: {} - annotations: {} - path: /metrics - # interval: - # scrapeTimeout: - -# Authentication setup -auth: - enabled: true - - # basic: - # noAuthUser: - # # List of users that can connect with basic auth, - # # that belong to the global account. - # users: - - # # List of accounts with users that can connect - # # using basic auth. - # accounts: - - # Reference to the Operator JWT. - #operatorjwt: - # configMap: - # name: operator-jwt - # key: KO.jwt - - # Token authentication - token: "" - - # NKey authentication - # nkeys: - # users: - - # Public key of the System Account - #systemAccount: ACDAOKW5IIW7GTSHN55LKTUTTLXOHPFC7UQZMCQGCPJSN2RHSI7O2JOF - - resolver: - # Disables the resolver by default - type: none - - ########################################## - # # - # Embedded NATS Account Server Resolver # - # # - ########################################## - ##type: full - - # If the resolver type is 'full', delete when enabled will rename the jwt. - allowDelete: false - - # Interval at which a nats-server with a nats based account resolver will compare - # it's state with one random nats based account resolver in the cluster and if needed, - # exchange jwt and converge on the same set of jwt. - ##interval: 2m - - # Operator JWT - ##operator: - - # System Account Public NKEY - ##systemAccount: - - # resolverPreload: - # : - - # Directory in which the account JWTs will be stored. - store: - dir: "/accounts/jwt" - - # Size of the account JWT storage. - size: 1Gi - - ############################## - # # - # Memory resolver settings # - # # - ############################## - # type: memory - # - # Use a configmap reference which will be mounted - # into the container. - # - # configMap: - # name: nats-accounts - # key: resolver.conf - - ########################## - # # - # URL resolver settings # - # # - ########################## - #type: URL - #url: "http://control-plane/api-gw/usermgmt/nats/authenticate/" - #url: "https://gi1piv1ac8.execute-api.eu-central-1.amazonaws.com/Production/jwt/v1/accounts/" - -websocket: - enabled: false - port: 443 - noTLS: true - - sameOrigin: false - allowedOrigins: [] - -appProtocol: - enabled: false - -# Network Policy configuration -networkPolicy: - enabled: false - # Don't require client label for connections - # When set to false, only pods with the correct client label will have network access to the ports - # NATS is listening on. When true, NATS will accept connections from any source - # (with the correct destination port). - allowExternal: true - # Add extra ingress rules to the NetworkPolicy - # e.g: - # extraIngress: - # - ports: - # - port: 1234 - # from: - # - podSelector: - # - matchLabels: - # - role: frontend - # - podSelector: - # - matchExpressions: - # - key: role - # operator: In - # values: - # - frontend - extraIngress: [] - # Add extra ingress rules to the NetworkPolicy - # e.g: - # extraEgress: - # - ports: - # - port: 1234 - # to: - # - podSelector: - # - matchLabels: - # - role: frontend - # - podSelector: - # - matchExpressions: - # - key: role - # operator: In - # values: - # - frontend - extraEgress: [] - # Labels to match to allow traffic from other namespaces - ingressNSMatchLabels: {} - # Pod labels to match to allow traffic from other namespaces - ingressNSPodMatchLabels: {} - -# Cluster Domain configured on the kubelets -# https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/ -k8sClusterDomain: cluster.local - -# Define if NATS is using FQDN name for clustering (i.e. nats-0.nats.default.svc.cluster.local) or short name (i.e. nats-0.nats.default). -useFQDN: true - -# Add labels to all the deployed resources -commonLabels: {} - -# podManagementPolicy controls how pods are created during initial scale up, -# when replacing pods on nodes, or when scaling down. -podManagementPolicy: Parallel - -# Toggle that this is an upgrade to enable healthz, in case not -# using `helm upgrade` command to apply upgrades. -upgrade: false -##################################### -# # -# NATS Server Configuration END # -# # -##################################### +# memphis From 0495ceebd7070435bfa449ff629696bed8ae0410 Mon Sep 17 00:00:00 2001 From: valeraBr Date: Sun, 16 Jul 2023 09:37:42 +0300 Subject: [PATCH 05/11] Update to version 1.1.0 --- stacks/memphis/deploy.sh | 2 +- stacks/memphis/upgrade.sh | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/stacks/memphis/deploy.sh b/stacks/memphis/deploy.sh index 3d42955b..dae24832 100755 --- a/stacks/memphis/deploy.sh +++ b/stacks/memphis/deploy.sh @@ -13,7 +13,7 @@ helm repo update > /dev/null ################################################################################ STACK="memphis" CHART="memphis/memphis" -CHART_VERSION="1.0.3" +CHART_VERSION="1.1.0" NAMESPACE="memphis" values="https://raw.githubusercontent.com/memphisdev/memphis-k8s/gh-pages/memphis/values.yaml" diff --git a/stacks/memphis/upgrade.sh b/stacks/memphis/upgrade.sh index 1ea6d7d1..1fd80c62 100644 --- a/stacks/memphis/upgrade.sh +++ b/stacks/memphis/upgrade.sh @@ -19,6 +19,8 @@ ROOT_PASSWORD=$(kubectl get secret --namespace "memphis" memphis-creds -o jsonpa PASSWORD=$(kubectl get secret --namespace "memphis" memphis-metadata -o jsonpath="{.data.password}" | base64 -d) REPMGR_PASSWORD=$(kubectl get secret --namespace "memphis" memphis-metadata -o jsonpath="{.data.repmgr-password}" | base64 -d) ADMIN_PASSWORD=$(kubectl get secret --namespace "memphis" memphis-metadata-coordinator -o jsonpath="{.data.admin-password}" | base64 -d) +ENCRYPTION_SECRET_KEY=$(kubectl get secret --namespace "memphis" memphis-creds -o jsonpath="{.data.ENCRYPTION_SECRET_KEY}" | base64 -d) + if [ -z "${MP_KUBERNETES}" ]; then # use local version of values.yml @@ -35,5 +37,6 @@ helm upgrade "$STACK" "$CHART" \ --set metadata.postgresql.password=$PASSWORD,\ metadata.postgresql.repmgrPassword=$REPMGR_PASSWORD,\ metadata.pgpool.adminPassword=$ADMIN_PASSWORD,\ -connectionToken=$CT,\ -rootPwd=$ROOT_PASSWORD +memphis.creds.connectionToken=$CT,\ +memphis.creds.rootPwd=$ROOT_PASSWORD,\ +memphis.creds.encryptionSecretKey=$ENCRYPTION_SECRET_KEY From 6c4e6fa7031bd6936b03d9a54494301f80556528 Mon Sep 17 00:00:00 2001 From: Valera Bronshtein <105710429+valeraBr@users.noreply.github.com> Date: Sun, 16 Jul 2023 13:32:27 +0300 Subject: [PATCH 06/11] Update deploy.sh --- stacks/memphis/deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stacks/memphis/deploy.sh b/stacks/memphis/deploy.sh index dae24832..69abf741 100755 --- a/stacks/memphis/deploy.sh +++ b/stacks/memphis/deploy.sh @@ -25,4 +25,5 @@ helm upgrade "$STACK" "$CHART" \ --timeout 8m0s \ --namespace "$NAMESPACE" \ --values "$values" \ - --version "$CHART_VERSION" + --version "$CHART_VERSION" \ + --set memphis.source=digitalocean From 6ab303bd87adc1d8d1564b3f2f72ba0c953cfb22 Mon Sep 17 00:00:00 2001 From: Valera Bronshtein <105710429+valeraBr@users.noreply.github.com> Date: Sun, 16 Jul 2023 13:32:58 +0300 Subject: [PATCH 07/11] Update upgrade.sh --- stacks/memphis/upgrade.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stacks/memphis/upgrade.sh b/stacks/memphis/upgrade.sh index 1fd80c62..f0281fa7 100644 --- a/stacks/memphis/upgrade.sh +++ b/stacks/memphis/upgrade.sh @@ -39,4 +39,5 @@ metadata.postgresql.repmgrPassword=$REPMGR_PASSWORD,\ metadata.pgpool.adminPassword=$ADMIN_PASSWORD,\ memphis.creds.connectionToken=$CT,\ memphis.creds.rootPwd=$ROOT_PASSWORD,\ -memphis.creds.encryptionSecretKey=$ENCRYPTION_SECRET_KEY +memphis.creds.encryptionSecretKey=$ENCRYPTION_SECRET_KEY,\ +memphis.source=digitalocean From 1cd6a7c51900460e562e956a9939bad7b592b7da Mon Sep 17 00:00:00 2001 From: Valera Bronshtein <105710429+valeraBr@users.noreply.github.com> Date: Tue, 18 Jul 2023 23:00:02 +0300 Subject: [PATCH 08/11] Update deploy.sh --- stacks/memphis/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks/memphis/deploy.sh b/stacks/memphis/deploy.sh index 69abf741..ab572099 100755 --- a/stacks/memphis/deploy.sh +++ b/stacks/memphis/deploy.sh @@ -13,7 +13,7 @@ helm repo update > /dev/null ################################################################################ STACK="memphis" CHART="memphis/memphis" -CHART_VERSION="1.1.0" +CHART_VERSION="1.1.1" NAMESPACE="memphis" values="https://raw.githubusercontent.com/memphisdev/memphis-k8s/gh-pages/memphis/values.yaml" From 0163de6a4c5c93c35da7201bac43b03042f469f6 Mon Sep 17 00:00:00 2001 From: Valera Bronshtein <105710429+valeraBr@users.noreply.github.com> Date: Thu, 10 Aug 2023 16:49:17 +0300 Subject: [PATCH 09/11] Update deploy.sh --- stacks/memphis/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks/memphis/deploy.sh b/stacks/memphis/deploy.sh index ab572099..8776f8f8 100755 --- a/stacks/memphis/deploy.sh +++ b/stacks/memphis/deploy.sh @@ -13,7 +13,7 @@ helm repo update > /dev/null ################################################################################ STACK="memphis" CHART="memphis/memphis" -CHART_VERSION="1.1.1" +CHART_VERSION="1.2.0" NAMESPACE="memphis" values="https://raw.githubusercontent.com/memphisdev/memphis-k8s/gh-pages/memphis/values.yaml" From fbde9a28873097490ff8e6afbd98058ed14b6a5e Mon Sep 17 00:00:00 2001 From: Valera Bronshtein <105710429+valeraBr@users.noreply.github.com> Date: Sun, 20 Aug 2023 11:39:16 +0300 Subject: [PATCH 10/11] Update deploy.sh --- stacks/memphis/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks/memphis/deploy.sh b/stacks/memphis/deploy.sh index 8776f8f8..a0d15192 100755 --- a/stacks/memphis/deploy.sh +++ b/stacks/memphis/deploy.sh @@ -13,7 +13,7 @@ helm repo update > /dev/null ################################################################################ STACK="memphis" CHART="memphis/memphis" -CHART_VERSION="1.2.0" +CHART_VERSION="1.2.1" NAMESPACE="memphis" values="https://raw.githubusercontent.com/memphisdev/memphis-k8s/gh-pages/memphis/values.yaml" From 6cb51dc1c569c394d756096c21d1d48e52817de6 Mon Sep 17 00:00:00 2001 From: Valera Bronshtein <105710429+valeraBr@users.noreply.github.com> Date: Mon, 6 Nov 2023 22:26:55 +0200 Subject: [PATCH 11/11] Update deploy.sh --- stacks/memphis/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks/memphis/deploy.sh b/stacks/memphis/deploy.sh index 16557ecc..8bb444f7 100755 --- a/stacks/memphis/deploy.sh +++ b/stacks/memphis/deploy.sh @@ -13,7 +13,7 @@ helm repo update > /dev/null ################################################################################ STACK="memphis" CHART="memphis/memphis" -CHART_VERSION="1.2.2" +CHART_VERSION="1.2.4" NAMESPACE="memphis" values="https://raw.githubusercontent.com/memphisdev/memphis-k8s/gh-pages/memphis/values.yaml"