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

Add flyte-data-config ConfigMap to sandbox kustomization #379

Merged
merged 1 commit into from
Jul 8, 2020
Merged
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
25 changes: 22 additions & 3 deletions deployment/sandbox/flyte_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -496,9 +496,28 @@ data:
ab_project-resource-quota.yaml: "apiVersion: v1\nkind: ResourceQuota\nmetadata:\n
\ name: project-quota\n namespace: {{ namespace }} \nspec:\n hard:\n limits.cpu:
{{ projectQuotaCpu }} \n limits.memory: {{ projectQuotaMemory }}\n\n"
ac_project-copilot-dataconfig.yaml: |
kind: ConfigMap
apiVersion: v1
metadata:
name: flyte-data-config
namespace: {{ namespace }}
data:
config.yaml: |
storage:
connection:
access-key: minio
auth-type: accesskey
disable-ssl: true
endpoint: http://minio.flyte.svc.cluster.local:9000
region: us-east-1
secret-key: miniostorage
type: minio
container: my-s3-bucket
enable-multicontainer: true
kind: ConfigMap
metadata:
name: clusterresource-template-m2kccc465f
name: clusterresource-template-9mbg4b2fhc
namespace: flyte
---
apiVersion: v1
Expand Down Expand Up @@ -1129,7 +1148,7 @@ spec:
serviceAccountName: flyteadmin
volumes:
- configMap:
name: clusterresource-template-m2kccc465f
name: clusterresource-template-9mbg4b2fhc
name: resource-templates
- emptyDir: {}
name: shared-data
Expand Down Expand Up @@ -1538,7 +1557,7 @@ spec:
serviceAccountName: flyteadmin
volumes:
- configMap:
name: clusterresource-template-m2kccc465f
name: clusterresource-template-9mbg4b2fhc
name: resource-templates
- configMap:
name: flyte-admin-config-dtcg25hb22
Expand Down
25 changes: 22 additions & 3 deletions deployment/test/flyte_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,28 @@ data:
ab_project-resource-quota.yaml: "apiVersion: v1\nkind: ResourceQuota\nmetadata:\n
\ name: project-quota\n namespace: {{ namespace }} \nspec:\n hard:\n limits.cpu:
{{ projectQuotaCpu }} \n limits.memory: {{ projectQuotaMemory }}\n\n"
ac_project-copilot-dataconfig.yaml: |
kind: ConfigMap
apiVersion: v1
metadata:
name: flyte-data-config
namespace: {{ namespace }}
data:
config.yaml: |
storage:
connection:
access-key: minio
auth-type: accesskey
disable-ssl: true
endpoint: http://minio.flyte.svc.cluster.local:9000
region: us-east-1
secret-key: miniostorage
type: minio
container: my-s3-bucket
enable-multicontainer: true
kind: ConfigMap
metadata:
name: clusterresource-template-m2kccc465f
name: clusterresource-template-9mbg4b2fhc
namespace: flyte
---
apiVersion: v1
Expand Down Expand Up @@ -750,7 +769,7 @@ spec:
serviceAccountName: flyteadmin
volumes:
- configMap:
name: clusterresource-template-m2kccc465f
name: clusterresource-template-9mbg4b2fhc
name: resource-templates
- emptyDir: {}
name: shared-data
Expand Down Expand Up @@ -1049,7 +1068,7 @@ spec:
serviceAccountName: flyteadmin
volumes:
- configMap:
name: clusterresource-template-m2kccc465f
name: clusterresource-template-9mbg4b2fhc
name: resource-templates
- configMap:
name: flyte-admin-config-dtcg25hb22
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ configMapGenerator:
# Files are read in alphabetical order. To ensure that we create the namespace first, prefix the file name with "aa".
- clusterresource-templates/aa_namespace.yaml
- clusterresource-templates/ab_project-resource-quota.yaml
- clusterresource-templates/ac_project-copilot-dataconfig.yaml

patches:
- admindeployment.yaml