Skip to content

Commit

Permalink
Adds ingress
Browse files Browse the repository at this point in the history
Signed-off-by: davidmirror-ops <david espejo@union.ai>
  • Loading branch information
davidmirror-ops committed Feb 24, 2024
1 parent 9d4a108 commit 3611f08
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions kcdmx2024/values-with-ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
configuration:
database:
username: postgres
host: postgres.flyte.svc.cluster.local
dbname: flyte
storage:
type: minio
metadataContainer: flyte #This is the default bucket created with Minio. Controlled by the MINIO_DEFAULT_BUCKETS env var in the local-flyte-resources.yaml manifest
userDataContainer: flyte
provider: s3
providerConfig:
s3:
authType: "accesskey"
endpoint: "http://minio.flyte.svc.cluster.local:57149"
accessKey: "minio"
secretKey: "miniostorage" #If you need to change this parameters, refer to the local-flyte-resources.yaml manifest and adjust the MINIO_ROOT_PASSWORD env var
disableSSL: "true"
secure: "false"
v2Signing: "true"

inlineSecretRef: flyte-binary-inline-config-secret
inline:
plugins:
k8s:
inject-finalizer: true
default-env-vars:
- FLYTE_AWS_ENDPOINT: "http://minio.flyte.svc.cluster.local:9000"
- FLYTE_AWS_ACCESS_KEY_ID: "minio"
- FLYTE_AWS_SECRET_ACCESS_KEY: "miniostorage" #Use the same value as the MINIO_ROOT_PASSWORD

task_resources:
defaults:
cpu: 100m
memory: 500Mi #change default requested resources and limits to fit your needs
limits:
memory: 2Gi

serviceAccount:
create: true


ingress:
tls:
- hosts:
- "flyteonprem.fthw.local"
secretName: flytetls
create: true
ingressClassName: nginx
httpAnnotations:
nginx.ingress.kubernetes.io/app-root: /console
grpcAnnotations:
nginx.ingress.kubernetes.io/backend-protocol: GRPC
host: flyteonprem.fthw.local

0 comments on commit 3611f08

Please sign in to comment.