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

Fix helm lint errors and disable version check #5068

Closed
wants to merge 7 commits 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
26 changes: 18 additions & 8 deletions .github/workflows/validate-helm-charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,25 @@ jobs:

- name: Run chart-testing (lint)
if: steps.charts-changed.outputs.changed == 'true'
run: ct lint --target-branch ${{ github.event.repository.default_branch }}

- name: Create KinD cluster
if: steps.charts-changed.outputs.changed == 'true'
uses: helm/kind-action@v1
run: |
ct lint \
--target-branch ${{ github.event.repository.default_branch }} \
--validate-maintainers=false \
--check-version-increment=false \
--chart-repos spark-operator=https://kubeflow.github.io/spark-operator \
--chart-repos dask=https://helm.dask.org \
--chart-repos bitnami=https://charts.bitnami.com/bitnami \
--chart-repos twuni=https://helm.twun.io \
--chart-repos kubernetes-dashboard=https://kubernetes.github.io/dashboard

- name: Run chart-testing (install)
if: steps.charts-changed.outputs.changed == 'true'
run: ct install --target-branch ${{ github.event.repository.default_branch }}
# TODO: Prepare dependencies (e.g. db) for testing. Currently `ct install` fails because no database & object store, etc
# - name: Create KinD cluster
# if: steps.charts-changed.outputs.changed == 'true'
# uses: helm/kind-action@v1
#
# - name: Run chart-testing (install)
# if: steps.charts-changed.outputs.changed == 'true'
# run: ct install --target-branch ${{ github.event.repository.default_branch }}

validate-manifests:
needs:
Expand Down
6 changes: 3 additions & 3 deletions charts/flyte-binary/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: v0.1.10 # VERSION
version: v0.1.10

# 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
Expand All @@ -18,5 +18,5 @@ dependencies:
- name: flyteagent
condition: flyteagent.enabled
alias: flyteagent
version: v0.1.10 # VERSION
repository: file://../flyteagent # REPOSITORY
version: v0.1.10
repository: file://../flyteagent
8 changes: 4 additions & 4 deletions charts/flyte-binary/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ configuration:
# image Configure image to use for CoPilot sidecar
image:
# repository CoPilot sidecar image repository
repository: cr.flyte.org/flyteorg/flytecopilot # FLYTECOPILOT_IMAGE
repository: cr.flyte.org/flyteorg/flytecopilot
# tag CoPilot sidecar image tag
tag: v1.11.0 # FLYTECOPILOT_TAG
tag: v1.11.0
# agentService Flyte Agent configuration
agentService:
defaultAgent:
Expand Down Expand Up @@ -209,9 +209,9 @@ deployment:
# image Configure image to use for Flyte
image:
# repository Flyte image repository
repository: cr.flyte.org/flyteorg/flyte-binary # FLYTE_IMAGE
repository: cr.flyte.org/flyteorg/flyte-binary
# tag Flyte image tag
tag: latest # FLYTE_TAG
tag: latest
# pullPolicy Flyte image pull policy
pullPolicy: IfNotPresent
# extraEnvVars Array with extra environment variables to add to Flyte
Expand Down
6 changes: 3 additions & 3 deletions charts/flyte-core/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ apiVersion: v2
name: flyte-core
description: A Helm chart for Flyte core
type: application
version: v0.1.10 # VERSION
version: v0.1.10
dependencies:
- name: flyteagent
condition: flyteagent.enabled
alias: flyteagent
version: v0.1.10 # VERSION
repository: file://../flyteagent # REPOSITORY
version: v0.1.10
repository: file://../flyteagent
28 changes: 15 additions & 13 deletions charts/flyte-core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ flyteadmin:
replicaCount: 1
image:
# -- Docker image for Flyteadmin deployment
repository: cr.flyte.org/flyteorg/flyteadmin # FLYTEADMIN_IMAGE
tag: v1.11.0 # FLYTEADMIN_TAG
repository: cr.flyte.org/flyteorg/flyteadmin
tag: v1.11.0
pullPolicy: IfNotPresent
# -- Additional flyteadmin container environment variables
#
Expand Down Expand Up @@ -140,9 +140,9 @@ flytescheduler:
runPrecheck: true
image:
# -- Docker image for Flytescheduler deployment
repository: cr.flyte.org/flyteorg/flytescheduler # FLYTESCHEDULER_IMAGE
repository: cr.flyte.org/flyteorg/flytescheduler
# -- Docker image tag
tag: v1.11.0 # FLYTESCHEDULER_TAG
tag: v1.11.0
# -- Docker image pull policy
pullPolicy: IfNotPresent
# -- Default resources requests and limits for Flytescheduler deployment
Expand Down Expand Up @@ -206,9 +206,9 @@ datacatalog:
replicaCount: 1
image:
# -- Docker image for Datacatalog deployment
repository: cr.flyte.org/flyteorg/datacatalog # DATACATALOG_IMAGE
repository: cr.flyte.org/flyteorg/datacatalog
# -- Docker image tag
tag: v1.11.0 # DATACATALOG_TAG
tag: v1.11.0
# -- Docker image pull policy
pullPolicy: IfNotPresent
# -- Default resources requests and limits for Datacatalog deployment
Expand Down Expand Up @@ -295,8 +295,8 @@ flytepropeller:
replicaCount: 1
image:
# -- Docker image for Flytepropeller deployment
repository: cr.flyte.org/flyteorg/flytepropeller # FLYTEPROPELLER_IMAGE
tag: v1.11.0 # FLYTEPROPELLER_TAG
repository: cr.flyte.org/flyteorg/flytepropeller
tag: v1.11.0
pullPolicy: IfNotPresent
# -- Default resources requests and limits for Flytepropeller deployment
resources:
Expand Down Expand Up @@ -378,8 +378,8 @@ flyteconsole:
replicaCount: 1
image:
# -- Docker image for Flyteconsole deployment
repository: cr.flyte.org/flyteorg/flyteconsole # FLYTECONSOLE_IMAGE
tag: v1.10.3 # FLYTECONSOLE_TAG
repository: cr.flyte.org/flyteorg/flyteconsole
tag: v1.10.3
pullPolicy: IfNotPresent
# -- Default resources requests and limits for Flyteconsole deployment
resources:
Expand Down Expand Up @@ -731,7 +731,7 @@ configmap:
# -- Structure documented [here](https://pkg.go.dev/github.com/lyft/[email protected]/go/tasks/pluginmachinery/flytek8s/config#FlyteCoPilotConfig)
co-pilot:
name: flyte-copilot-
image: cr.flyte.org/flyteorg/flytecopilot:v1.11.0 # FLYTECOPILOT_IMAGE
image: cr.flyte.org/flyteorg/flytecopilot:v1.11.0
start-timeout: 30s

# -- Core propeller configuration
Expand Down Expand Up @@ -868,8 +868,9 @@ external_events:
# Make sure this is not a fifo queue. Admin does not yet support
# writing to fifo sns topics.
topicName: "arn:aws:sns:us-east-2:123456:123-my-topic"
# available options for eventTypes: `workflow`, `node`, `task` Or `*` Or `all`
eventTypes:
- all # Or workflow, node, task. Or "*"
- all

# Cloud events are used to send events (unprocessed, as Admin see them) in cloud event format to
# an SNS topic (or gcp equivalent)
Expand All @@ -882,8 +883,9 @@ cloud_events:
# Make sure this is not a fifo queue. Admin does not yet support
# writing to fifo sns topics.
topicName: "arn:aws:sns:us-east-2:123456:123-my-topic"
# available options for eventTypes: `workflow`, `node`, `task` Or `*` Or `all`
eventTypes:
- all # Or workflow, node, task. Or "*"
- all

# -- Configuration for the Cluster resource manager component. This is an optional component, that enables automatic
# cluster configuration. This is useful to set default quotas, manage namespaces etc that map to a project/domain
Expand Down
2 changes: 1 addition & 1 deletion charts/flyte-deps/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: flyte-deps
description: A Helm chart for Flyte dependency
type: application
version: v0.1.10 # VERSION
version: v0.1.10
dependencies:
- name: contour
version: 7.10.1
Expand Down
6 changes: 3 additions & 3 deletions charts/flyte/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ apiVersion: v2
name: flyte
description: A Helm chart for Flyte Sandbox
type: application
version: v0.1.10 # VERSION
version: v0.1.10
dependencies:
- name: flyte-core
alias: flyte
version: v0.1.10 # VERSION
repository: file://../flyte-core # REPOSITORY
version: v0.1.10
repository: file://../flyte-core
- name: contour
version: 7.10.1
repository: https://charts.bitnami.com/bitnami
Expand Down
2 changes: 1 addition & 1 deletion charts/flyte/README.md

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions charts/flyte/values.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
--- # ---------------------------------------------------------------------
# ---------------------------------------------------------------------
# Core System settings
# This section consists of Core components of Flyte and their deployment
# settings. This includes FlyteAdmin service, Datacatalog, FlytePropeller and
# Flyteconsole
# ---------------------------------------------------------------------
flyte:
#
# FLYTEADMIN SETTINGS
Expand All @@ -14,9 +14,9 @@ flyte:
replicaCount: 1
image:
# -- Docker image for Flyteadmin deployment
repository: cr.flyte.org/flyteorg/flyteadmin # FLYTEADMIN_IMAGE
repository: cr.flyte.org/flyteorg/flyteadmin
# -- Docker image tag
tag: v1.11.0 # FLYTEADMIN_TAG
tag: v1.11.0
# -- Docker image pull policy
pullPolicy: IfNotPresent
# -- Additional flyteadmin container environment variables
Expand Down Expand Up @@ -82,9 +82,9 @@ flyte:
flytescheduler:
image:
# -- Docker image for Flytescheduler deployment
repository: cr.flyte.org/flyteorg/flytescheduler # FLYTESCHEDULER_IMAGE
repository: cr.flyte.org/flyteorg/flytescheduler
# -- Docker image tag
tag: v1.11.0 # FLYTESCHEDULER_TAG
tag: v1.11.0
# -- Docker image pull policy
pullPolicy: IfNotPresent
# -- Default resources requests and limits for Flytescheduler deployment
Expand Down Expand Up @@ -127,9 +127,9 @@ flyte:
replicaCount: 1
image:
# -- Docker image for Datacatalog deployment
repository: cr.flyte.org/flyteorg/datacatalog # DATACATALOG_IMAGE
repository: cr.flyte.org/flyteorg/datacatalog
# -- Docker image tag
tag: v1.11.0 # DATACATALOG_TAG
tag: v1.11.0
# -- Docker image pull policy
pullPolicy: IfNotPresent
# -- Default resources requests and limits for Datacatalog deployment
Expand Down Expand Up @@ -176,9 +176,9 @@ flyte:
manager: false
image:
# -- Docker image for Flytepropeller deployment
repository: cr.flyte.org/flyteorg/flytepropeller # FLYTEPROPELLER_IMAGE
repository: cr.flyte.org/flyteorg/flytepropeller
# -- Docker image tag
tag: v1.11.0 # FLYTEPROPELLER_TAG
tag: v1.11.0
# -- Docker image pull policy
pullPolicy: IfNotPresent
# -- Default resources requests and limits for Flytepropeller deployment
Expand Down Expand Up @@ -221,9 +221,9 @@ flyte:
replicaCount: 1
image:
# -- Docker image for Flyteconsole deployment
repository: cr.flyte.org/flyteorg/flyteconsole # FLYTECONSOLE_IMAGE
repository: cr.flyte.org/flyteorg/flyteconsole
# -- Docker image tag
tag: v1.10.3 # FLYTECONSOLE_TAG
tag: v1.10.3
# -- Docker image pull policy
pullPolicy: IfNotPresent
# -- Default resources requests and limits for Flyteconsole deployment
Expand Down Expand Up @@ -471,7 +471,7 @@ flyte:
# -- Structure documented [here](https://pkg.go.dev/github.com/lyft/[email protected]/go/tasks/pluginmachinery/flytek8s/config#FlyteCoPilotConfig)
co-pilot:
name: flyte-copilot-
image: cr.flyte.org/flyteorg/flytecopilot:v1.11.0 # FLYTECOPILOT_IMAGE
image: cr.flyte.org/flyteorg/flytecopilot:v1.11.0
start-timeout: 30s

# -- Core propeller configuration
Expand Down
2 changes: 1 addition & 1 deletion charts/flyteagent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: flyteagent
description: A Helm chart for Flyte agent
type: application
version: v0.1.10 # VERSION
version: v0.1.10
2 changes: 1 addition & 1 deletion charts/flyteagent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ image:
# -- Docker image for flyteagent deployment
repository: ghcr.io/flyteorg/flyteagent
# -- Docker image tag
tag: 1.10.8b4 # FLYTEAGENT_TAG
tag: 1.10.8b4
# -- Docker image pull policy
pullPolicy: IfNotPresent
ports:
Expand Down
Loading