From 87f83dec3d4103a150ee8204a77a14e5686e02a7 Mon Sep 17 00:00:00 2001 From: Ketan Umare Date: Thu, 31 Oct 2019 09:51:02 -0700 Subject: [PATCH] Datacatalog service account was missing (#11) --- deployment/sandbox/flyte_generated.yaml | 6 ++++++ kustomize/base/datacatalog/kustomization.yaml | 1 + kustomize/base/datacatalog/rbac.yaml | 6 ++++++ 3 files changed, 13 insertions(+) create mode 100644 kustomize/base/datacatalog/rbac.yaml diff --git a/deployment/sandbox/flyte_generated.yaml b/deployment/sandbox/flyte_generated.yaml index 82fd34d116..f46c1eb38b 100644 --- a/deployment/sandbox/flyte_generated.yaml +++ b/deployment/sandbox/flyte_generated.yaml @@ -186,6 +186,12 @@ spec: --- apiVersion: v1 kind: ServiceAccount +metadata: + name: datacatalog + namespace: flyte +--- +apiVersion: v1 +kind: ServiceAccount metadata: name: flyteadmin namespace: flyte diff --git a/kustomize/base/datacatalog/kustomization.yaml b/kustomize/base/datacatalog/kustomization.yaml index a944d005ca..c38e72a98d 100644 --- a/kustomize/base/datacatalog/kustomization.yaml +++ b/kustomize/base/datacatalog/kustomization.yaml @@ -1,3 +1,4 @@ resources: +- rbac.yaml - deployment.yaml - service.yaml diff --git a/kustomize/base/datacatalog/rbac.yaml b/kustomize/base/datacatalog/rbac.yaml new file mode 100644 index 0000000000..d7ab1676e3 --- /dev/null +++ b/kustomize/base/datacatalog/rbac.yaml @@ -0,0 +1,6 @@ +# Create a Service Account for FltyeAdmin +apiVersion: v1 +kind: ServiceAccount +metadata: + name: datacatalog + namespace: flyte