From 70f32c3f33269cfba8820d82c8847f4cd6363699 Mon Sep 17 00:00:00 2001 From: Kevin Liao Date: Fri, 15 May 2026 06:46:38 +0800 Subject: [PATCH 1/4] migrate raw files Signed-off-by: Kevin Liao --- charts/flyteconnector/.helmignore | 23 ++++ charts/flyteconnector/Chart.yaml | 5 + charts/flyteconnector/README.md | 46 ++++++++ charts/flyteconnector/templates/_helpers.tpl | 53 +++++++++ .../templates/connector/deployment.yaml | 68 ++++++++++++ .../templates/connector/rbac.yaml | 31 ++++++ .../templates/connector/secret.yaml | 9 ++ .../templates/connector/service.yaml | 20 ++++ .../templates/connector/serviceaccount.yaml | 15 +++ charts/flyteconnector/values.yaml | 104 ++++++++++++++++++ 10 files changed, 374 insertions(+) create mode 100644 charts/flyteconnector/.helmignore create mode 100644 charts/flyteconnector/Chart.yaml create mode 100644 charts/flyteconnector/README.md create mode 100755 charts/flyteconnector/templates/_helpers.tpl create mode 100644 charts/flyteconnector/templates/connector/deployment.yaml create mode 100644 charts/flyteconnector/templates/connector/rbac.yaml create mode 100644 charts/flyteconnector/templates/connector/secret.yaml create mode 100644 charts/flyteconnector/templates/connector/service.yaml create mode 100644 charts/flyteconnector/templates/connector/serviceaccount.yaml create mode 100755 charts/flyteconnector/values.yaml diff --git a/charts/flyteconnector/.helmignore b/charts/flyteconnector/.helmignore new file mode 100644 index 00000000000..0e8a0eb36f4 --- /dev/null +++ b/charts/flyteconnector/.helmignore @@ -0,0 +1,23 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*.orig +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/charts/flyteconnector/Chart.yaml b/charts/flyteconnector/Chart.yaml new file mode 100644 index 00000000000..5bec3e30a8d --- /dev/null +++ b/charts/flyteconnector/Chart.yaml @@ -0,0 +1,5 @@ +apiVersion: v2 +name: flyteconnector +description: A Helm chart for Flyte connector +type: application +version: v0.1.10 # VERSION diff --git a/charts/flyteconnector/README.md b/charts/flyteconnector/README.md new file mode 100644 index 00000000000..a3258d4a386 --- /dev/null +++ b/charts/flyteconnector/README.md @@ -0,0 +1,46 @@ +# flyteconnector + +![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) + +A Helm chart for Flyte connector + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| additionalContainers | list | `[]` | Appends additional containers to the deployment spec. May include template values. | +| additionalVolumeMounts | list | `[]` | Appends additional volume mounts to the main container's spec. May include template values. | +| additionalVolumes | list | `[]` | Appends additional volumes to the deployment spec. May include template values. | +| affinity | object | `{}` | affinity for flyteconnector deployment | +| commonAnnotations | object | `{}` | | +| commonLabels | object | `{}` | | +| configPath | string | `"/etc/flyteconnector/config/*.yaml"` | Default regex string for searching configuration files | +| connectorSecret.secretData | object | `{"data":{"username":"User"}}` | Specify your Secret (with sensitive data) or pseudo-manifest (without sensitive data). | +| extraArgs | object | `{}` | Appends extra command line arguments to the main command | +| fullnameOverride | string | `""` | | +| image.pullPolicy | string | `"IfNotPresent"` | Docker image pull policy | +| image.repository | string | `"cr.flyte.org/flyteorg/flyteagent"` | Docker image for flyteconnector deployment | +| image.tag | string | `"1.15.3"` | Docker image tag | +| nameOverride | string | `""` | | +| nodeSelector | object | `{}` | nodeSelector for flyteconnector deployment | +| podAnnotations | object | `{}` | Annotations for flyteconnector pods | +| podEnv | object | `{}` | Additional flyteconnector pod container environment variables | +| podLabels | object | `{}` | Labels for flyteconnector pods | +| podSecurityContext | object | `{}` | | +| ports.containerPort | int | `8000` | | +| ports.name | string | `"connector-grpc"` | | +| priorityClassName | string | `""` | Sets priorityClassName for datacatalog pod(s). | +| rbac | object | `{"enabled":false,"rules":[{"apiGroups":[""],"resources":["secrets"],"verbs":["get"]}]}` | RBAC configuration for flyteconnector Enable to allow the connector to read secrets across namespaces (required for per-project Databricks token authentication) | +| rbac.enabled | bool | `false` | Should RBAC resources (ClusterRole/ClusterRoleBinding) be created for flyteconnector | +| rbac.rules | list | `[{"apiGroups":[""],"resources":["secrets"],"verbs":["get"]}]` | Rules for the ClusterRole created for flyteconnector | +| readinessProbe | object | `{"grpc":{"port":8000},"initialDelaySeconds":1,"periodSeconds":3}` | https://kubernetes.io/blog/2022/05/13/grpc-probes-now-in-beta/#trying-the-feature-out | +| replicaCount | int | `1` | Replicas count for flyteconnector deployment | +| resources | object | `{"limits":{"cpu":"500m","ephemeral-storage":"200Mi","memory":"300Mi"},"requests":{"cpu":"500m","ephemeral-storage":"200Mi","memory":"200Mi"}}` | Default resources requests and limits for flyteconnector deployment | +| securityContext | object | `{"allowPrivilegeEscalation":false}` | Security context for container | +| service | object | `{"annotations":{"projectcontour.io/upstream-protocol.h2c":"grpc"},"type":"ClusterIP"}` | Service settings for flyteconnector | +| serviceAccount | object | `{"annotations":{},"create":true,"imagePullSecrets":[]}` | Configuration for service accounts for flyteconnector | +| serviceAccount.annotations | object | `{}` | Annotations for ServiceAccount attached to flyteconnector pods | +| serviceAccount.create | bool | `true` | Should a service account be created for flyteconnector | +| serviceAccount.imagePullSecrets | list | `[]` | ImagePullSecrets to automatically assign to the service account | +| tolerations | list | `[]` | tolerations for flyteconnector deployment | + diff --git a/charts/flyteconnector/templates/_helpers.tpl b/charts/flyteconnector/templates/_helpers.tpl new file mode 100755 index 00000000000..52e65d1690e --- /dev/null +++ b/charts/flyteconnector/templates/_helpers.tpl @@ -0,0 +1,53 @@ +{{/* vim: set filetype=mustache: */}} + +{{- define "flyte.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} +{{- end -}} + +{{- define "flyte.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} +{{- end -}} + +{{- define "flyte.namespace" -}} +{{- default .Release.Namespace .Values.forceNamespace | trunc 63 | trimSuffix "-" -}} +{{- end -}} + + +{{- define "flyteconnector.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} +{{- end -}} + +{{- define "flyteconnector.selectorLabels" -}} +app.kubernetes.io/name: {{ template "flyteconnector.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end -}} + +{{- define "flyteconnector.labels" -}} +{{ include "flyteconnector.selectorLabels" . }} +helm.sh/chart: {{ include "flyte.chart" . }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end -}} + +{{- define "flyteconnector.podLabels" -}} +{{ include "flyteconnector.labels" . }} +{{- with .Values.podLabels }} +{{ toYaml . }} +{{- end }} +{{- end -}} + +# Optional blocks for secret mount + +{{- define "connectorSecret.volume" -}} +- name: {{ include "flyte.name" . }} + secret: + secretName: {{ include "flyte.name" . }} +{{- end }} + +{{- define "connectorSecret.volumeMount" -}} +- mountPath: /etc/secrets + name: {{ include "flyte.name" . }} +{{- end }} + +{{- define "flyteconnector.servicePort" -}} +{{ include .Values.ports.containerPort}} +{{- end }} diff --git a/charts/flyteconnector/templates/connector/deployment.yaml b/charts/flyteconnector/templates/connector/deployment.yaml new file mode 100644 index 00000000000..3fffb59e3bf --- /dev/null +++ b/charts/flyteconnector/templates/connector/deployment.yaml @@ -0,0 +1,68 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ template "flyteconnector.name" . }} + namespace: {{ template "flyte.namespace" . }} + labels: {{ include "flyteconnector.labels" . | nindent 4 }} +spec: + replicas: {{ .Values.replicaCount }} + selector: + matchLabels: {{ include "flyteconnector.selectorLabels" . | nindent 6 }} + template: + metadata: + annotations: + {{- with .Values.podAnnotations }} + {{- toYaml . | nindent 8 }} + {{- end }} + labels: {{ include "flyteconnector.podLabels" . | nindent 8 }} + spec: + {{- if .Values.priorityClassName }} + priorityClassName: {{ .Values.priorityClassName }} + {{- end }} + securityContext: + {{- toYaml .Values.podSecurityContext | nindent 8 }} + containers: + - command: + - pyflyte + - serve + - agent + {{- if .Values.podEnv }} + env: + {{- with .Values.podEnv }} + {{- toYaml . | nindent 8 }} + {{- end }} + {{- end }} + image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + imagePullPolicy: "{{ .Values.image.pullPolicy }}" + name: flyteconnector + volumeMounts: {{- include "connectorSecret.volumeMount" . | nindent 8 }} + ports: + - containerPort: {{ .Values.ports.containerPort }} + name: {{ .Values.ports.name }} + readinessProbe: + {{- with .Values.readinessProbe -}} + {{ tpl (toYaml .) $ | nindent 10 }} + {{- end }} + securityContext: + {{- toYaml .Values.securityContext | nindent 12 }} + resources: {{- toYaml .Values.resources | nindent 10 }} + {{- with .Values.additionalVolumeMounts -}} + {{ tpl (toYaml .) $ | nindent 8 }} + {{- end }} + {{- with .Values.additionalContainers -}} + {{- tpl (toYaml .) $ | nindent 6}} + {{- end }} + serviceAccountName: {{ template "flyteconnector.name" . }} + volumes: {{- include "connectorSecret.volume" . | nindent 6 }} + {{- with .Values.additionalVolumes -}} + {{ tpl (toYaml .) $ | nindent 6 }} + {{- end }} + {{- with .Values.nodeSelector }} + nodeSelector: {{ tpl (toYaml .) $ | nindent 8 }} + {{- end }} + {{- with .Values.affinity }} + affinity: {{ tpl (toYaml .) $ | nindent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: {{ tpl (toYaml .) $ | nindent 8 }} + {{- end }} diff --git a/charts/flyteconnector/templates/connector/rbac.yaml b/charts/flyteconnector/templates/connector/rbac.yaml new file mode 100644 index 00000000000..b06396db259 --- /dev/null +++ b/charts/flyteconnector/templates/connector/rbac.yaml @@ -0,0 +1,31 @@ +{{- if .Values.rbac.enabled }} +{{- if $.Capabilities.APIVersions.Has "rbac.authorization.k8s.io/v1" }} +apiVersion: rbac.authorization.k8s.io/v1 +{{- else }} +apiVersion: rbac.authorization.k8s.io/v1beta1 +{{- end }} +kind: ClusterRole +metadata: + name: {{ template "flyte.namespace" . -}}-{{- template "flyteconnector.name" . }} + labels: {{ include "flyteconnector.labels" . | nindent 4 }} +rules: + {{- toYaml .Values.rbac.rules | nindent 2 }} +--- +{{- if $.Capabilities.APIVersions.Has "rbac.authorization.k8s.io/v1" }} +apiVersion: rbac.authorization.k8s.io/v1 +{{- else }} +apiVersion: rbac.authorization.k8s.io/v1beta1 +{{- end }} +kind: ClusterRoleBinding +metadata: + name: {{ template "flyte.namespace" . -}}-{{- template "flyteconnector.name" . }} + labels: {{ include "flyteconnector.labels" . | nindent 4 }} +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: {{ template "flyte.namespace" . -}}-{{- template "flyteconnector.name" . }} +subjects: +- kind: ServiceAccount + name: {{ template "flyteconnector.name" . }} + namespace: {{ template "flyte.namespace" . }} +{{- end }} diff --git a/charts/flyteconnector/templates/connector/secret.yaml b/charts/flyteconnector/templates/connector/secret.yaml new file mode 100644 index 00000000000..a88146e15ac --- /dev/null +++ b/charts/flyteconnector/templates/connector/secret.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +kind: Secret +metadata: + name: {{ template "flyteconnector.name" . }} + namespace: {{ template "flyte.namespace" . }} +type: Opaque +{{- with .Values.connectorSecret.secretData -}} +{{ tpl (toYaml .) $ | nindent 0 }} +{{- end }} diff --git a/charts/flyteconnector/templates/connector/service.yaml b/charts/flyteconnector/templates/connector/service.yaml new file mode 100644 index 00000000000..19b5cb711f0 --- /dev/null +++ b/charts/flyteconnector/templates/connector/service.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ template "flyteconnector.name" . }} + namespace: {{ template "flyte.namespace" . }} + labels: {{ include "flyteconnector.labels" . | nindent 4 }} + {{- with .Values.service.annotations }} + annotations: {{ tpl (toYaml .) $ | nindent 4 }} + {{- end }} +spec: + {{- with .Values.service.type}} + type: {{ . }} + {{- end }} + ports: + - name: {{ .Values.ports.name }} + port: {{ .Values.ports.containerPort }} + protocol: TCP + appProtocol: TCP + targetPort: {{ .Values.ports.name }} + selector: {{ include "flyteconnector.selectorLabels" . | nindent 4 }} diff --git a/charts/flyteconnector/templates/connector/serviceaccount.yaml b/charts/flyteconnector/templates/connector/serviceaccount.yaml new file mode 100644 index 00000000000..c8a73a9ddc7 --- /dev/null +++ b/charts/flyteconnector/templates/connector/serviceaccount.yaml @@ -0,0 +1,15 @@ +--- +{{- if .Values.serviceAccount.create }} +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ template "flyteconnector.name" . }} + namespace: {{ template "flyte.namespace" . }} + labels: {{ include "flyteconnector.labels" . | nindent 4 }} + {{- with .Values.serviceAccount.annotations }} + annotations: {{ tpl (toYaml .) $ | nindent 4 }} + {{- end}} +{{- with .Values.serviceAccount.imagePullSecrets }} +imagePullSecrets: {{ tpl (toYaml .) $ | nindent 2 }} +{{- end }} +{{- end }} diff --git a/charts/flyteconnector/values.yaml b/charts/flyteconnector/values.yaml new file mode 100755 index 00000000000..259e46828e5 --- /dev/null +++ b/charts/flyteconnector/values.yaml @@ -0,0 +1,104 @@ +# --------------------------------------------------------------------- +# FLYTE_CONNCETOR SETTINGS +# --------------------------------------------------------------------- + +# nameOverride String to override flyteconnector.name template +nameOverride: "" +# fullnameOverride String to override flyteconnector.fullname template +fullnameOverride: "" +# commonLabels Add labels to all the deployed resources +commonLabels: {} +# commonAnnotations Add annotations to all the deployed resources +commonAnnotations: {} + +connectorSecret: + # -- Specify your Secret (with sensitive data) or pseudo-manifest (without sensitive data). + secretData: + data: + username: User + +# -- Replicas count for flyteconnector deployment +replicaCount: 1 +image: + # -- Docker image for flyteconnector deployment + repository: cr.flyte.org/flyteorg/flyteagent # FLYTEconnector_IMAGE + # -- Docker image tag + tag: 1.15.3 # FLYTECONNECTOR_TAG + # -- Docker image pull policy + pullPolicy: IfNotPresent +ports: + containerPort: 8000 + name: connector-grpc +# -- Default resources requests and limits for flyteconnector deployment +resources: + limits: + cpu: 500m + ephemeral-storage: 200Mi + memory: 300Mi + requests: + cpu: 500m + ephemeral-storage: 200Mi + memory: 200Mi +# -- Default regex string for searching configuration files +configPath: /etc/flyteconnector/config/*.yaml +# -- Service settings for flyteconnector +service: + annotations: + projectcontour.io/upstream-protocol.h2c: grpc + type: ClusterIP +# -- Configuration for service accounts for flyteconnector +serviceAccount: + # -- Should a service account be created for flyteconnector + create: true + # -- Annotations for ServiceAccount attached to flyteconnector pods + annotations: {} + # -- ImagePullSecrets to automatically assign to the service account + imagePullSecrets: [] +# -- Security context for pod +# -- RBAC configuration for flyteconnector +# Enable to allow the connector to read secrets across namespaces +# (required for per-project Databricks token authentication) +rbac: + # -- Should RBAC resources (ClusterRole/ClusterRoleBinding) be created for flyteconnector + enabled: false + # -- Rules for the ClusterRole created for flyteconnector + rules: + - apiGroups: + - "" + resources: + - secrets + verbs: + - get +podSecurityContext: {} +# -- Readiness probe for flyteconnector. Use readinessProbe: {} if connector doesn't implement grpc-health-checking service. +# -- https://kubernetes.io/blog/2022/05/13/grpc-probes-now-in-beta/#trying-the-feature-out +readinessProbe: + grpc: + port: 8000 + initialDelaySeconds: 1 + periodSeconds: 3 +# -- Security context for container +securityContext: + allowPrivilegeEscalation: false +# -- Annotations for flyteconnector pods +podAnnotations: {} +# -- Additional flyteconnector pod container environment variables +podEnv: {} +# -- Labels for flyteconnector pods +podLabels: {} +# -- nodeSelector for flyteconnector deployment +nodeSelector: {} +# -- tolerations for flyteconnector deployment +tolerations: [] +# -- affinity for flyteconnector deployment +affinity: {} +# -- Appends additional volumes to the deployment spec. May include template values. +additionalVolumes: [] +# -- Appends additional volume mounts to the main container's spec. May include template values. +additionalVolumeMounts: [] +# -- Appends additional containers to the deployment spec. May include template values. +additionalContainers: [] +# -- Appends extra command line arguments to the main command +extraArgs: {} +# -- Sets priorityClassName for datacatalog pod(s). +priorityClassName: "" From c36d2144c3bfbde95c04c32caeaf9c4a58675cfc Mon Sep 17 00:00:00 2001 From: Kevin Liao Date: Fri, 15 May 2026 08:39:48 +0800 Subject: [PATCH 2/4] Update Flyte binary chart - Added `flyteconnector` as a dependency in `Chart.yaml`. - Updated image repository and tag in `flyteconnector` README and `values.yaml` to use the latest version from GitHub. Signed-off-by: Kevin Liao --- charts/flyte-binary/Chart.yaml | 6 ++++++ charts/flyteconnector/README.md | 5 ++--- charts/flyteconnector/values.yaml | 4 ++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/charts/flyte-binary/Chart.yaml b/charts/flyte-binary/Chart.yaml index 11f4da37322..3db68008def 100644 --- a/charts/flyte-binary/Chart.yaml +++ b/charts/flyte-binary/Chart.yaml @@ -9,3 +9,9 @@ type: application # Versions are expected to follow Semantic Versioning (https://semver.org/) version: v0.2.0 # VERSION + +dependencies: + - name: flyteconnector + version: v0.1.10 + repository: file://../flyteconnector + condition: flyteconnector.enabled diff --git a/charts/flyteconnector/README.md b/charts/flyteconnector/README.md index a3258d4a386..757ec275602 100644 --- a/charts/flyteconnector/README.md +++ b/charts/flyteconnector/README.md @@ -19,8 +19,8 @@ A Helm chart for Flyte connector | extraArgs | object | `{}` | Appends extra command line arguments to the main command | | fullnameOverride | string | `""` | | | image.pullPolicy | string | `"IfNotPresent"` | Docker image pull policy | -| image.repository | string | `"cr.flyte.org/flyteorg/flyteagent"` | Docker image for flyteconnector deployment | -| image.tag | string | `"1.15.3"` | Docker image tag | +| image.repository | string | `"ghcr.io/flyteorg/flyte-connectors"` | Docker image for flyteconnector deployment | +| image.tag | string | `"latest"` | Docker image tag | | nameOverride | string | `""` | | | nodeSelector | object | `{}` | nodeSelector for flyteconnector deployment | | podAnnotations | object | `{}` | Annotations for flyteconnector pods | @@ -43,4 +43,3 @@ A Helm chart for Flyte connector | serviceAccount.create | bool | `true` | Should a service account be created for flyteconnector | | serviceAccount.imagePullSecrets | list | `[]` | ImagePullSecrets to automatically assign to the service account | | tolerations | list | `[]` | tolerations for flyteconnector deployment | - diff --git a/charts/flyteconnector/values.yaml b/charts/flyteconnector/values.yaml index 259e46828e5..6565e466947 100755 --- a/charts/flyteconnector/values.yaml +++ b/charts/flyteconnector/values.yaml @@ -21,9 +21,9 @@ connectorSecret: replicaCount: 1 image: # -- Docker image for flyteconnector deployment - repository: cr.flyte.org/flyteorg/flyteagent # FLYTEconnector_IMAGE + repository: ghcr.io/flyteorg/flyte-connectors # FLYTECONNECTOR_IMAGE # -- Docker image tag - tag: 1.15.3 # FLYTECONNECTOR_TAG + tag: latest # FLYTECONNECTOR_TAG # -- Docker image pull policy pullPolicy: IfNotPresent ports: From 881ffdbc81e9e55e840f29219de69348c61d932d Mon Sep 17 00:00:00 2001 From: Kevin Liao Date: Fri, 15 May 2026 08:44:34 +0800 Subject: [PATCH 3/4] fix(helm): wire flyteconnector subchart and correct connector image defaults Signed-off-by: Kevin Liao --- .../flyteconnector/templates/connector/deployment.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/charts/flyteconnector/templates/connector/deployment.yaml b/charts/flyteconnector/templates/connector/deployment.yaml index 3fffb59e3bf..ad726daa520 100644 --- a/charts/flyteconnector/templates/connector/deployment.yaml +++ b/charts/flyteconnector/templates/connector/deployment.yaml @@ -35,7 +35,11 @@ spec: image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" imagePullPolicy: "{{ .Values.image.pullPolicy }}" name: flyteconnector - volumeMounts: {{- include "connectorSecret.volumeMount" . | nindent 8 }} + volumeMounts: + {{- include "connectorSecret.volumeMount" . | nindent 8 }} + {{- with .Values.additionalVolumeMounts -}} + {{ tpl (toYaml .) $ | nindent 8 }} + {{- end }} ports: - containerPort: {{ .Values.ports.containerPort }} name: {{ .Values.ports.name }} @@ -46,9 +50,6 @@ spec: securityContext: {{- toYaml .Values.securityContext | nindent 12 }} resources: {{- toYaml .Values.resources | nindent 10 }} - {{- with .Values.additionalVolumeMounts -}} - {{ tpl (toYaml .) $ | nindent 8 }} - {{- end }} {{- with .Values.additionalContainers -}} {{- tpl (toYaml .) $ | nindent 6}} {{- end }} From 0fc3d0c2034c1c4e20e3473619815953e95e381a Mon Sep 17 00:00:00 2001 From: Kevin Liao Date: Fri, 15 May 2026 22:30:22 +0800 Subject: [PATCH 4/4] Update Flyte connector configuration and deployment Signed-off-by: Kevin Liao --- charts/flyteconnector/README.md | 2 +- charts/flyteconnector/templates/connector/deployment.yaml | 4 ++-- charts/flyteconnector/values.yaml | 4 +--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/charts/flyteconnector/README.md b/charts/flyteconnector/README.md index 757ec275602..3df48420d87 100644 --- a/charts/flyteconnector/README.md +++ b/charts/flyteconnector/README.md @@ -15,7 +15,7 @@ A Helm chart for Flyte connector | commonAnnotations | object | `{}` | | | commonLabels | object | `{}` | | | configPath | string | `"/etc/flyteconnector/config/*.yaml"` | Default regex string for searching configuration files | -| connectorSecret.secretData | object | `{"data":{"username":"User"}}` | Specify your Secret (with sensitive data) or pseudo-manifest (without sensitive data). | +| connectorSecret.secretData | object | `{}` | Specify your Secret (with sensitive data) or pseudo-manifest (without sensitive data). | | extraArgs | object | `{}` | Appends extra command line arguments to the main command | | fullnameOverride | string | `""` | | | image.pullPolicy | string | `"IfNotPresent"` | Docker image pull policy | diff --git a/charts/flyteconnector/templates/connector/deployment.yaml b/charts/flyteconnector/templates/connector/deployment.yaml index ad726daa520..92ac49a800c 100644 --- a/charts/flyteconnector/templates/connector/deployment.yaml +++ b/charts/flyteconnector/templates/connector/deployment.yaml @@ -23,9 +23,9 @@ spec: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: - command: - - pyflyte + - flyte - serve - - agent + - connector {{- if .Values.podEnv }} env: {{- with .Values.podEnv }} diff --git a/charts/flyteconnector/values.yaml b/charts/flyteconnector/values.yaml index 6565e466947..c50296e4aaf 100755 --- a/charts/flyteconnector/values.yaml +++ b/charts/flyteconnector/values.yaml @@ -13,9 +13,7 @@ commonAnnotations: {} connectorSecret: # -- Specify your Secret (with sensitive data) or pseudo-manifest (without sensitive data). - secretData: - data: - username: User + secretData: {} # -- Replicas count for flyteconnector deployment replicaCount: 1