Skip to content

Commit

Permalink
make helm
Browse files Browse the repository at this point in the history
Signed-off-by: Yuvraj <[email protected]>
  • Loading branch information
yindia committed Aug 25, 2021
1 parent fbba5c3 commit 4a13a23
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 7 deletions.
4 changes: 4 additions & 0 deletions charts/flyte/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ helm upgrade -f values-sandbox.yaml flyte .
| db.database.host | string | `"postgres"` | username: postgres |
| flyteadmin.affinity | object | `{}` | affinity for Flyteadmin deployment |
| flyteadmin.configPath | string | `"/etc/flyte/config/*.yaml"` | Default regex string for searching configuration files |
| flyteadmin.flytescheduler | object | `{"enabled":false,"image":{"pullPolicy":"IfNotPresent","repository":"cr.flyte.org/flyteorg/flytescheduler","tag":"v0.6.16"}}` | Flytescheduler spec |
| flyteadmin.flytescheduler.image.pullPolicy | string | `"IfNotPresent"` | Docker image pull policy |
| flyteadmin.flytescheduler.image.repository | string | `"cr.flyte.org/flyteorg/flytescheduler"` | Docker image for Flytescheduler deployment |
| flyteadmin.flytescheduler.image.tag | string | `"v0.6.16"` | Docker image tag |
| flyteadmin.image.pullPolicy | string | `"IfNotPresent"` | Docker image pull policy |
| flyteadmin.image.repository | string | `"cr.flyte.org/flyteorg/flyteadmin"` | Docker image for Flyteadmin deployment |
| flyteadmin.image.tag | string | `"v0.6.16"` | Docker image tag |
Expand Down
13 changes: 12 additions & 1 deletion deployment/eks/flyte_helm_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,16 @@ metadata:
helm.sh/chart: flyte-v0.1.10
app.kubernetes.io/managed-by: Helm
data:
admin.yaml: |
admin:
clientId: flytepropeller
clientSecretLocation: /etc/secrets/client_secret
endpoint: flyteadmin:81
insecure: true
event:
capacity: 1000
rate: 500
type: admin
db.yaml: |
database:
dbname: flyteadmin
Expand Down Expand Up @@ -1327,7 +1337,7 @@ spec:
template:
metadata:
annotations:
configChecksum: "f69f77a814f4fa2371ee9d84500b74ec85a8001cd0db86005a2368a13f87dca"
configChecksum: "ba8b14b6654d1e86179a19c41afb5c7579f846a547454fbff3f57588df97074"
labels:
app.kubernetes.io/name: flyteadmin
app.kubernetes.io/instance: flyte
Expand Down Expand Up @@ -1448,6 +1458,7 @@ spec:
limits:
cpu: "0.1"
memory: 200Mi

serviceAccountName: flyteadmin
volumes:
- name: db-pass
Expand Down
13 changes: 12 additions & 1 deletion deployment/gcp/flyte_helm_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,16 @@ metadata:
helm.sh/chart: flyte-v0.1.10
app.kubernetes.io/managed-by: Helm
data:
admin.yaml: |
admin:
clientId: flytepropeller
clientSecretLocation: /etc/secrets/client_secret
endpoint: flyteadmin:81
insecure: true
event:
capacity: 1000
rate: 500
type: admin
db.yaml: |
database:
host: postgres
Expand Down Expand Up @@ -3127,7 +3137,7 @@ spec:
template:
metadata:
annotations:
configChecksum: "7d9b298537a9f7fb7cc97c4c482bfbf40bfd799f52befe20cd51d3dc35a3598"
configChecksum: "4695c3a3549b68b9b331a570b0eb564e4c21003fe01240140d4cd1c39741b87"
labels:
app.kubernetes.io/name: flyteadmin
app.kubernetes.io/instance: flyte
Expand Down Expand Up @@ -3250,6 +3260,7 @@ spec:
limits:
cpu: "0.1"
memory: 200Mi

serviceAccountName: flyteadmin
volumes:

Expand Down
13 changes: 12 additions & 1 deletion deployment/sandbox/flyte_helm_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,16 @@ metadata:
helm.sh/chart: flyte-v0.1.10
app.kubernetes.io/managed-by: Helm
data:
admin.yaml: |
admin:
clientId: flytepropeller
clientSecretLocation: /etc/secrets/client_secret
endpoint: flyteadmin:81
insecure: true
event:
capacity: 1000
rate: 500
type: admin
db.yaml: |
database:
dbname: flyte_development
Expand Down Expand Up @@ -3289,7 +3299,7 @@ spec:
template:
metadata:
annotations:
configChecksum: "7b4bf0d87ac252a431343fdebac335507fc65fbfe0855951d4edcc5e114d69a"
configChecksum: "301db8745ebf36397322d6f2a2983edddf243f7620ec8dd7fb85dd4471e5d37"
labels:
app.kubernetes.io/name: flyteadmin
app.kubernetes.io/instance: flyte
Expand Down Expand Up @@ -3412,6 +3422,7 @@ spec:
limits:
cpu: "0.1"
memory: 200Mi

serviceAccountName: flyteadmin
volumes:

Expand Down
9 changes: 5 additions & 4 deletions script/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ grep -rlZ "newTag:[^P]*# FLYTECONSOLE_TAG" ./kustomize/overlays | xargs -0 sed -
grep -rlZ "newTag:[^P]*# FLYTEPROPELLER_TAG" ./kustomize/overlays | xargs -0 sed -i "s/newTag:[^P]*# FLYTEPROPELLER_TAG/newTag: ${FLYTEPROPELLER_TAG} # FLYTEPROPELLER_TAG/g"

# bump latest release of flyte component in helm
sed -i "s,tag:[^P]*# FLYTEADMIN_TAG,tag: ${FLYTEADMIN_TAG} # FLYTEADMIN_TAG," ./helm/values.yaml
sed -i "s,tag:[^P]*# DATACATALOG_TAG,tag: ${DATACATALOG_TAG} # DATACATALOG_TAG," ./helm/values.yaml
sed -i "s,tag:[^P]*# FLYTECONSOLE_TAG,tag: ${FLYTECONSOLE_TAG} # FLYTECONSOLE_TAG," ./helm/values.yaml
sed -i "s,tag:[^P]*# FLYTEPROPELLER_TAG,tag: ${FLYTEPROPELLER_TAG} # FLYTEPROPELLER_TAG," ./helm/values.yaml
sed -i "s,tag:[^P]*# FLYTEADMIN_TAG,tag: ${FLYTEADMIN_TAG} # FLYTEADMIN_TAG," ./charts/flyte/values.yaml
sed -i "s,tag:[^P]*# FLYTESCHEDULER_TAG,tag: ${FLYTEADMIN_TAG} # FLYTESCHEDULER_TAG," ./charts/flyte/values.yaml
sed -i "s,tag:[^P]*# DATACATALOG_TAG,tag: ${DATACATALOG_TAG} # DATACATALOG_TAG," ./charts/flyte/values.yaml
sed -i "s,tag:[^P]*# FLYTECONSOLE_TAG,tag: ${FLYTECONSOLE_TAG} # FLYTECONSOLE_TAG," ./charts/flyte/values.yaml
sed -i "s,tag:[^P]*# FLYTEPROPELLER_TAG,tag: ${FLYTEPROPELLER_TAG} # FLYTEPROPELLER_TAG," ./charts/flyte/values.yaml

0 comments on commit 4a13a23

Please sign in to comment.