diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 0fac1ab18c..05e9390c5b 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -40,6 +40,7 @@ jobs: datacatalog, flytescheduler, flytecopilot, + flyte-binary, ] steps: - name: Checkout diff --git a/.github/workflows/sandbox.yml b/.github/workflows/sandbox.yml index 368bcc88a5..984dc697f6 100644 --- a/.github/workflows/sandbox.yml +++ b/.github/workflows/sandbox.yml @@ -3,6 +3,11 @@ name: Build & Push Sandbox Docker Image on: pull_request: paths: + # The flyte-binary image build is managed solely in this pipeline. Trigger + # the pipeline when there are any changes to the Dockerfile for this image. + # Ideally this image is built in a separate, standalone pipeline. + # TODO: Build flyte-binary image in a separate GHA pipeline + - Dockerfile - docker/** - charts/** - .github/workflows/sandbox.yml @@ -145,14 +150,16 @@ jobs: else echo ::set-output name=flyte_version::latest fi - - name: Prepare DIND Image Names - id: dind-names + - name: Prepare Image Names + id: image-names uses: docker/metadata-action@v3 with: # list of Docker images to use as base name for tags images: | ghcr.io/${{ github.repository_owner }}/flyte-binary tags: | + # set latest tag for default branch + type=raw,value=latest,enable={{is_default_branch}} ${{ inputs.version }} type=sha,format=long, - name: Set up QEMU @@ -196,19 +203,18 @@ jobs: cache-to: type=gha,mode=max outputs: type=docker,dest=docker/sandbox-bundled/images/tar/amd64/flyte-binary.tar - name: Build and push Image - if: ${{ github.event_name == 'release' }} uses: docker/build-push-action@v3 env: DOCKER_CLI_EXPERIMENTAL: enabled with: context: . platforms: linux/arm64, linux/amd64 - tags: ${{ steps.dind-names.outputs.tags }} + tags: ${{ steps.image-names.outputs.tags }} build-args: "" file: Dockerfile cache-from: type=gha cache-to: type=gha,mode=max - push: ${{ github.event_name == 'release' }} + push: true - name: Upload Artifact GitHub Action uses: actions/upload-artifact@v2 with: @@ -227,14 +233,16 @@ jobs: with: name: single-binary-image path: docker/sandbox-bundled/images/tar - - name: Prepare DIND Image Names - id: dind-names + - name: Prepare Image Names + id: image-names uses: docker/metadata-action@v3 with: # list of Docker images to use as base name for tags images: | ghcr.io/${{ github.repository_owner }}/flyte-sandbox-bundled tags: | + # set latest tag for default branch + type=raw,value=latest,enable={{is_default_branch}} ${{ inputs.version }} type=sha,format=long, - name: Set up QEMU @@ -259,7 +267,7 @@ jobs: context: docker/sandbox-bundled allow: "security.insecure" platforms: linux/arm64, linux/amd64 - tags: ${{ steps.dind-names.outputs.tags }} + tags: ${{ steps.image-names.outputs.tags }} cache-from: type=gha cache-to: type=gha,mode=max push: true diff --git a/charts/flyte-binary/Chart.yaml b/charts/flyte-binary/Chart.yaml index 5fb3fbc440..ab446d25b8 100644 --- a/charts/flyte-binary/Chart.yaml +++ b/charts/flyte-binary/Chart.yaml @@ -7,7 +7,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 +version: v0.1.10 # VERSION # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/flyte-binary/README.md b/charts/flyte-binary/README.md index 521ee9a733..ea7ba157fa 100644 --- a/charts/flyte-binary/README.md +++ b/charts/flyte-binary/README.md @@ -1,6 +1,6 @@ # flyte-binary -![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square) +![Version: v0.1.10](https://img.shields.io/badge/Version-v0.1.10-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square) Chart for basic single Flyte executable deployment @@ -60,12 +60,9 @@ Chart for basic single Flyte executable deployment | deployment.extraVolumes | list | `[]` | | | deployment.genAdminAuthSecret.args | list | `[]` | | | deployment.genAdminAuthSecret.command | list | `[]` | | -| deployment.genAdminAuthSecret.image.pullPolicy | string | `"IfNotPresent"` | | -| deployment.genAdminAuthSecret.image.repository | string | `"cr.flyte.org/flyteorg/flyteadmin"` | | -| deployment.genAdminAuthSecret.image.tag | string | `"v1.1.57"` | | | deployment.image.pullPolicy | string | `"IfNotPresent"` | | -| deployment.image.repository | string | `"ghcr.io/flyteorg/flyte-sandbox"` | | -| deployment.image.tag | string | `"flytebinary_1007"` | | +| deployment.image.repository | string | `"ghcr.io/flyteorg/flyte-binary"` | | +| deployment.image.tag | string | `"latest"` | | | deployment.initContainers | list | `[]` | | | deployment.labels | object | `{}` | | | deployment.lifecycleHooks | object | `{}` | | diff --git a/charts/flyte-binary/templates/_helpers.tpl b/charts/flyte-binary/templates/_helpers.tpl index 650a53db03..edff0602ed 100644 --- a/charts/flyte-binary/templates/_helpers.tpl +++ b/charts/flyte-binary/templates/_helpers.tpl @@ -103,19 +103,19 @@ Get the Flyte logging configuration. */}} {{- define "flyte-binary.configuration.logging.plugins" -}} {{- with .Values.configuration.logging.plugins -}} -{{- if .kubernetes.enabled -}} -kubernetes-enabled: true +kubernetes-enabled: {{ .kubernetes.enabled }} +{{- if .kubernetes.enabled }} kubernetes-template-uri: {{ required "Template URI required for Kubernetes logging plugin" .kubernetes.templateUri }} -{{- end -}} -{{- if .cloudwatch.enabled -}} -cloudwatch-enabled: true +{{- end }} +cloudwatch-enabled: {{ .cloudwatch.enabled }} +{{- if .cloudwatch.enabled }} cloudwatch-template-uri: {{ required "Template URI required for CloudWatch logging plugin" .cloudwatch.templateUri }} -{{- end -}} -{{- if .stackdriver.enabled -}} -stackdriver-enabled: true +{{- end }} +stackdriver-enabled: {{ .stackdriver.enabled }} +{{- if .stackdriver.enabled }} stackdriver-template-uri: {{ required "Template URI required for stackdriver logging plugin" .stackdriver.templateUri }} -{{- end -}} -{{- if .custom -}} +{{- end }} +{{- if .custom }} templates: {{- toYaml .custom | nindent 2 -}} {{- end -}} {{- end -}} diff --git a/charts/flyte-binary/templates/deployment.yaml b/charts/flyte-binary/templates/deployment.yaml index 48fe0b9201..3ff261300e 100644 --- a/charts/flyte-binary/templates/deployment.yaml +++ b/charts/flyte-binary/templates/deployment.yaml @@ -97,7 +97,7 @@ spec: {{- end }} {{- if .Values.configuration.auth.enabled }} - name: gen-admin-auth-secret - {{- with .Values.deployment.genAdminAuthSecret.image }} + {{- with .Values.deployment.image }} image: {{ printf "%s:%s" .repository .tag | quote }} imagePullPolicy: {{ .pullPolicy | quote }} {{- end }} @@ -113,9 +113,9 @@ spec: {{- tpl ( .Values.deployment.genAdminAuthSecret.args | toYaml ) . | nindent 12 }} {{- else }} - | - flyteadmin --config=/etc/flyte/config.d/*.yaml \ + flyte --config=/etc/flyte/config.d/*.yaml \ secrets init --localPath /tmp/admin-auth-secret - flyteadmin --config=/etc/flyte/config.d/*.yaml \ + flyte --config=/etc/flyte/config.d/*.yaml \ secrets create \ --name {{ include "flyte-binary.configuration.auth.adminAuthSecretName" . }} \ --fromPath /tmp/admin-auth-secret diff --git a/charts/flyte-binary/values.yaml b/charts/flyte-binary/values.yaml index d9153fee1a..cf5a8a5a71 100644 --- a/charts/flyte-binary/values.yaml +++ b/charts/flyte-binary/values.yaml @@ -118,9 +118,9 @@ deployment: # image Configure image to use for Flyte image: # repository Flyte image repository - repository: ghcr.io/flyteorg/flyte-sandbox + repository: ghcr.io/flyteorg/flyte-binary # FLYTE_IMAGE # tag Flyte image tag - tag: flytebinary_1007 + tag: latest # FLYTE_TAG # pullPolicy Flyte image pull policy pullPolicy: IfNotPresent # extraEnvVars Array with extra environment variables to add to Flyte @@ -172,14 +172,6 @@ deployment: args: [] # genAdminAuthSecret Configure init container to generate secrets for internal use genAdminAuthSecret: - # image Configure image to use for gen-admin-auth-secret init container - image: - # repository Init container image repository - repository: cr.flyte.org/flyteorg/flyteadmin - # tag Init container image tag - tag: v1.1.57 - # pullPolicy Init container image pull policy - pullPolicy: IfNotPresent # command Override default init container command command: [] # args Override default init container args diff --git a/charts/flyte-sandbox/Chart.lock b/charts/flyte-sandbox/Chart.lock index 9bf74f6aae..62683dc27f 100644 --- a/charts/flyte-sandbox/Chart.lock +++ b/charts/flyte-sandbox/Chart.lock @@ -4,7 +4,7 @@ dependencies: version: 2.2.2 - name: flyte-binary repository: file://../flyte-binary - version: 0.1.0 + version: v0.1.10 - name: kubernetes-dashboard repository: https://kubernetes.github.io/dashboard/ version: 5.11.0 @@ -14,5 +14,5 @@ dependencies: - name: postgresql repository: https://charts.bitnami.com/bitnami version: 12.1.0 -digest: sha256:c649b0ca244081c66ef17865bf2e63429eb3c9c080b61748278a0411cda780e2 -generated: "2022-12-22T15:09:50.02147-08:00" +digest: sha256:398b480f861351e28080997e6fc1058519e33171494e52beae6a7acf9daa54d6 +generated: "2022-12-28T10:53:15.75989-08:00" diff --git a/charts/flyte-sandbox/Chart.yaml b/charts/flyte-sandbox/Chart.yaml index a5910690df..dae52f4cd1 100644 --- a/charts/flyte-sandbox/Chart.yaml +++ b/charts/flyte-sandbox/Chart.yaml @@ -29,7 +29,7 @@ dependencies: repository: https://helm.twun.io/ condition: docker-registry.enabled - name: flyte-binary - version: 0.1.0 + version: v0.1.10 repository: file://../flyte-binary condition: flyte-binary.enabled - name: kubernetes-dashboard diff --git a/charts/flyte-sandbox/README.md b/charts/flyte-sandbox/README.md index 555d032982..e97d085572 100644 --- a/charts/flyte-sandbox/README.md +++ b/charts/flyte-sandbox/README.md @@ -8,7 +8,7 @@ A Helm chart for the Flyte local sandbox | Repository | Name | Version | |------------|------|---------| -| file://../flyte-binary | flyte-binary | 0.1.0 | +| file://../flyte-binary | flyte-binary | v0.1.10 | | https://charts.bitnami.com/bitnami | minio | 11.10.13 | | https://charts.bitnami.com/bitnami | postgresql | 12.1.0 | | https://helm.twun.io/ | docker-registry | 2.2.2 | diff --git a/charts/flyte-sandbox/charts/flyte-binary-0.1.0.tgz b/charts/flyte-sandbox/charts/flyte-binary-0.1.0.tgz deleted file mode 100644 index da49067e4e..0000000000 Binary files a/charts/flyte-sandbox/charts/flyte-binary-0.1.0.tgz and /dev/null differ diff --git a/charts/flyte-sandbox/charts/flyte-binary-v0.1.10.tgz b/charts/flyte-sandbox/charts/flyte-binary-v0.1.10.tgz new file mode 100644 index 0000000000..9be2ab4d33 Binary files /dev/null and b/charts/flyte-sandbox/charts/flyte-binary-v0.1.10.tgz differ diff --git a/deployment/sandbox-binary/flyte_sandbox_binary_helm_generated.yaml b/deployment/sandbox-binary/flyte_sandbox_binary_helm_generated.yaml index 13d2c2245d..8bf0916c4e 100644 --- a/deployment/sandbox-binary/flyte_sandbox_binary_helm_generated.yaml +++ b/deployment/sandbox-binary/flyte_sandbox_binary_helm_generated.yaml @@ -6,7 +6,7 @@ metadata: name: flyte-flyte-binary namespace: "flyte" labels: - helm.sh/chart: flyte-binary-0.1.0 + helm.sh/chart: flyte-binary-v0.1.10 app.kubernetes.io/name: flyte-binary app.kubernetes.io/instance: flyte app.kubernetes.io/version: "1.16.0" @@ -20,7 +20,7 @@ metadata: name: flyte-flyte-binary-cluster-resource-templates namespace: "flyte" labels: - helm.sh/chart: flyte-binary-0.1.0 + helm.sh/chart: flyte-binary-v0.1.10 app.kubernetes.io/name: flyte-binary app.kubernetes.io/instance: flyte app.kubernetes.io/version: "1.16.0" @@ -40,7 +40,7 @@ metadata: name: flyte-flyte-binary-config namespace: "flyte" labels: - helm.sh/chart: flyte-binary-0.1.0 + helm.sh/chart: flyte-binary-v0.1.10 app.kubernetes.io/name: flyte-binary app.kubernetes.io/instance: flyte app.kubernetes.io/version: "1.16.0" @@ -81,11 +81,15 @@ data: - container_array: K8S-ARRAY plugins: logs: - + kubernetes-enabled: false + cloudwatch-enabled: false + stackdriver-enabled: false k8s-array: logs: config: - + kubernetes-enabled: false + cloudwatch-enabled: false + stackdriver-enabled: false 002-database.yaml: | database: postgres: @@ -113,7 +117,7 @@ metadata: name: flyte-flyte-binary-cluster-role namespace: "flyte" labels: - helm.sh/chart: flyte-binary-0.1.0 + helm.sh/chart: flyte-binary-v0.1.10 app.kubernetes.io/name: flyte-binary app.kubernetes.io/instance: flyte app.kubernetes.io/version: "1.16.0" @@ -193,7 +197,7 @@ metadata: name: flyte-flyte-binary-cluster-role-binding namespace: "flyte" labels: - helm.sh/chart: flyte-binary-0.1.0 + helm.sh/chart: flyte-binary-v0.1.10 app.kubernetes.io/name: flyte-binary app.kubernetes.io/instance: flyte app.kubernetes.io/version: "1.16.0" @@ -215,7 +219,7 @@ metadata: name: flyte-flyte-binary namespace: "flyte" labels: - helm.sh/chart: flyte-binary-0.1.0 + helm.sh/chart: flyte-binary-v0.1.10 app.kubernetes.io/name: flyte-binary app.kubernetes.io/instance: flyte app.kubernetes.io/version: "1.16.0" @@ -243,7 +247,7 @@ metadata: name: flyte-flyte-binary-webhook namespace: "flyte" labels: - helm.sh/chart: flyte-binary-0.1.0 + helm.sh/chart: flyte-binary-v0.1.10 app.kubernetes.io/name: flyte-binary app.kubernetes.io/instance: flyte app.kubernetes.io/version: "1.16.0" @@ -266,7 +270,7 @@ metadata: name: flyte-flyte-binary namespace: "flyte" labels: - helm.sh/chart: flyte-binary-0.1.0 + helm.sh/chart: flyte-binary-v0.1.10 app.kubernetes.io/name: flyte-binary app.kubernetes.io/instance: flyte app.kubernetes.io/version: "1.16.0" @@ -286,8 +290,8 @@ spec: app.kubernetes.io/name: flyte-binary app.kubernetes.io/instance: flyte annotations: - checksum/configuration: e353e8eeef9f7c15de463039962283149249e68463b63e530683f183d4afe5e6 - checksum/cluster-resource-templates: 107623522504d692aadc02559747bc8dd8e66095b46f0c17d6ebd0d8957cb089 + checksum/configuration: db5acb3814626b8953a925e83ed5b99dc9379794cc57eee9db0f5d36e50532b8 + checksum/cluster-resource-templates: 7dfa59f3d447e9c099b8f8ffad3af466fecbc9cf9f8c97295d9634254a55d4ae spec: serviceAccountName: flyte-flyte-binary initContainers: @@ -314,7 +318,7 @@ spec: cpu: 1 containers: - name: flyte - image: "ghcr.io/flyteorg/flyte-sandbox:flytebinary_1007" + image: "ghcr.io/flyteorg/flyte-binary:latest" imagePullPolicy: "IfNotPresent" args: - start diff --git a/docker/sandbox-bundled/manifests/complete.yaml b/docker/sandbox-bundled/manifests/complete.yaml index 2ea0a072d4..05f469acbd 100644 --- a/docker/sandbox-bundled/manifests/complete.yaml +++ b/docker/sandbox-bundled/manifests/complete.yaml @@ -11,7 +11,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: flyte-binary app.kubernetes.io/version: 1.16.0 - helm.sh/chart: flyte-binary-0.1.0 + helm.sh/chart: flyte-binary-v0.1.10 name: sandbox-flyte-binary namespace: flyte --- @@ -104,7 +104,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: flyte-binary app.kubernetes.io/version: 1.16.0 - helm.sh/chart: flyte-binary-0.1.0 + helm.sh/chart: flyte-binary-v0.1.10 name: sandbox-flyte-binary-cluster-role namespace: flyte rules: @@ -338,7 +338,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: flyte-binary app.kubernetes.io/version: 1.16.0 - helm.sh/chart: flyte-binary-0.1.0 + helm.sh/chart: flyte-binary-v0.1.10 name: sandbox-flyte-binary-cluster-role-binding namespace: flyte roleRef: @@ -431,7 +431,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: flyte-binary app.kubernetes.io/version: 1.16.0 - helm.sh/chart: flyte-binary-0.1.0 + helm.sh/chart: flyte-binary-v0.1.10 name: sandbox-flyte-binary-cluster-resource-templates namespace: flyte --- @@ -473,11 +473,15 @@ data: logs: kubernetes-enabled: true kubernetes-template-uri: http://localhost:30080/kubernetes-dashboard/#/log/{{.namespace }}/{{ .podName }}/pod?namespace={{ .namespace }} + cloudwatch-enabled: false + stackdriver-enabled: false k8s-array: logs: config: kubernetes-enabled: true kubernetes-template-uri: http://localhost:30080/kubernetes-dashboard/#/log/{{.namespace }}/{{ .podName }}/pod?namespace={{ .namespace }} + cloudwatch-enabled: false + stackdriver-enabled: false 002-database.yaml: | database: postgres: @@ -514,7 +518,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: flyte-binary app.kubernetes.io/version: 1.16.0 - helm.sh/chart: flyte-binary-0.1.0 + helm.sh/chart: flyte-binary-v0.1.10 name: sandbox-flyte-binary-config namespace: flyte --- @@ -734,7 +738,7 @@ type: Opaque --- apiVersion: v1 data: - haSharedSecret: a1Y4dFhBV3RabWVwWktHbw== + haSharedSecret: TWw0WjRnTjJHekJNT3hDSQ== proxyPassword: "" proxyUsername: "" kind: Secret @@ -756,7 +760,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: flyte-binary app.kubernetes.io/version: 1.16.0 - helm.sh/chart: flyte-binary-0.1.0 + helm.sh/chart: flyte-binary-v0.1.10 name: sandbox-flyte-binary-db-pass namespace: flyte stringData: @@ -836,7 +840,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: flyte-binary app.kubernetes.io/version: 1.16.0 - helm.sh/chart: flyte-binary-0.1.0 + helm.sh/chart: flyte-binary-v0.1.10 name: sandbox-flyte-binary namespace: flyte spec: @@ -862,7 +866,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: flyte-binary app.kubernetes.io/version: 1.16.0 - helm.sh/chart: flyte-binary-0.1.0 + helm.sh/chart: flyte-binary-v0.1.10 name: sandbox-flyte-binary-webhook namespace: flyte spec: @@ -1036,7 +1040,7 @@ spec: metadata: annotations: checksum/config: 044987b193c168f87ad6b75510b710dae15de36461cb822559e13e6f3bf1789a - checksum/secret: e0a92f8a26dea3e73589b0a416e19579ba961f761a0675b0a6cb6bf1ebc911dd + checksum/secret: 54cd610d8dd5a08c5375ae8d750da1de89177c74de718b1d4d6086b763cede19 labels: app: docker-registry release: sandbox @@ -1091,7 +1095,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: flyte-binary app.kubernetes.io/version: 1.16.0 - helm.sh/chart: flyte-binary-0.1.0 + helm.sh/chart: flyte-binary-v0.1.10 name: sandbox-flyte-binary namespace: flyte spec: @@ -1105,9 +1109,9 @@ spec: template: metadata: annotations: - checksum/cluster-resource-templates: e78495e92688a0f30ca001222fd1c6d1ce0d61240ad5b3a2541d43fc23a79f50 - checksum/configuration: a859e1e312b4d6480211a7cf0dff577a765c640265390ceec79bad835784e16d - checksum/db-password-secret: 72191c61f83365477982334e8b91ee0f57b040eda8afc26dc10791c12e99cc2c + checksum/cluster-resource-templates: e2b58d2eaf0d0a1a949f4aec30ac4e4e46cbae8fed5b431e150116feec9d2c84 + checksum/configuration: 9e2776c8a2f487b6dbe2f40ebef0a9462802c0c556e40ca0d3ad59fe6fb80d26 + checksum/db-password-secret: 8ae0efad50be9c783ea14baad4edb9dcf623bc824516f5251ae2cda93396327b labels: app.kubernetes.io/instance: sandbox app.kubernetes.io/name: flyte-binary diff --git a/docker/sandbox-bundled/manifests/dev.yaml b/docker/sandbox-bundled/manifests/dev.yaml index f35b439f8c..2675d6ec53 100644 --- a/docker/sandbox-bundled/manifests/dev.yaml +++ b/docker/sandbox-bundled/manifests/dev.yaml @@ -523,7 +523,7 @@ type: Opaque --- apiVersion: v1 data: - haSharedSecret: MHk0bTNlcER1QnRXQXkyQw== + haSharedSecret: NVpXeUNsTGQ4NWZzQ0tLZg== proxyPassword: "" proxyUsername: "" kind: Secret @@ -763,7 +763,7 @@ spec: metadata: annotations: checksum/config: 044987b193c168f87ad6b75510b710dae15de36461cb822559e13e6f3bf1789a - checksum/secret: 5c6d6f259b5f3066ef2fb403f0b5ddb90c007d6acdaa36d1683417f6130e2217 + checksum/secret: 13520ef4524c22bab9c6fb02f2ad04cce98b90a1eaa2805ba0900f36b3aab34d labels: app: docker-registry release: sandbox diff --git a/script/prepare_artifacts.sh b/script/prepare_artifacts.sh index 9ee51d2ebf..46012d796b 100644 --- a/script/prepare_artifacts.sh +++ b/script/prepare_artifacts.sh @@ -23,6 +23,9 @@ sed "s/v0.1.10/${VERSION}/g" ./charts/flyte-core/README.md > temp.txt && mv tem grep -rlZ "version:[^P]*# VERSION" ./charts/flyte-deps/Chart.yaml | xargs -0 sed -i "s/version:[^P]*# VERSION/version: ${VERSION} # VERSION/g" sed "s/v0.1.10/${VERSION}/g" ./charts/flyte-deps/README.md > temp.txt && mv temp.txt ./charts/flyte-core/README.md +grep -rlZ "version:[^P]*# VERSION" ./charts/flyte-binary/Chart.yaml | xargs -0 sed -i "s/version:[^P]*# VERSION/version: ${VERSION} # VERSION/g" +sed "s/v0.1.10/${VERSION}/g" ./charts/flyte-binary/README.md > temp.txt && mv temp.txt ./charts/flyte-core/README.md + helm dep update ./charts/flyte helm dep update ./charts/flyte-deps @@ -54,3 +57,6 @@ sed -i "s,repository:[^P]*# FLYTEPROPELLER_IMAGE,repository: cr.flyte.org/flyteo sed -i "s,image:[^P]*# FLYTECOPILOT_IMAGE,image: cr.flyte.org/flyteorg/flytecopilot-release:${VERSION} # FLYTECOPILOT_IMAGE," ./charts/flyte/values.yaml sed -i "s,image:[^P]*# FLYTECOPILOT_IMAGE,image: cr.flyte.org/flyteorg/flytecopilot-release:${VERSION} # FLYTECOPILOT_IMAGE," ./charts/flyte-core/values.yaml + +sed -i "s,repository:[^P]*# FLYTE_IMAGE,repository: cr.flyte.org/flyteorg/flyte-binary-release # FLYTE_IMAGE," ./charts/flyte-binary/values.yaml +sed -i "s,tag:[^P]*# FLYTE_TAG,tag: ${VERSION} # FLYTE_TAG," ./charts/flyte-binary/values.yaml