Skip to content

Commit

Permalink
Kustomize fixes: Namespace cannot be created when using namespace tra…
Browse files Browse the repository at this point in the history
…nsformer (#536)
  • Loading branch information
kumare3 authored Oct 6, 2020
1 parent d28a67b commit 1733672
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 31 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: kustomize
kustomize:
KUSTOMIZE_VERSION=3.8.2 bash script/generate_kustomize.sh
KUSTOMIZE_VERSION=3.8.4 bash script/generate_kustomize.sh

.PHONY: deploy_sandbox
deploy_sandbox:
Expand Down
7 changes: 1 addition & 6 deletions deployment/eks/flyte_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ kind: Namespace
metadata:
name: flyte
---
apiVersion: v1
kind: Namespace
metadata:
name: sparkoperator
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
Expand Down Expand Up @@ -1411,7 +1406,7 @@ spec:
- /etc/flyte/config/*.yaml
- clusterresource
- sync
image: flyteadmin:v0.3.5
image: docker.io/lyft/flyteadmin:v0.3.6
imagePullPolicy: IfNotPresent
name: sync-cluster-resources
volumeMounts:
Expand Down
7 changes: 1 addition & 6 deletions deployment/gcp/flyte_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ kind: Namespace
metadata:
name: flyte
---
apiVersion: v1
kind: Namespace
metadata:
name: sparkoperator
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
Expand Down Expand Up @@ -1479,7 +1474,7 @@ spec:
- /etc/flyte/config/*.yaml
- clusterresource
- sync
image: flyteadmin:v0.3.5
image: docker.io/lyft/flyteadmin:v0.3.6
imagePullPolicy: IfNotPresent
name: sync-cluster-resources
volumeMounts:
Expand Down
12 changes: 1 addition & 11 deletions deployment/sandbox/flyte_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,6 @@ kind: Namespace
metadata:
name: flyte
---
apiVersion: v1
kind: Namespace
metadata:
name: heptio-contour
---
apiVersion: v1
kind: Namespace
metadata:
name: sparkoperator
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
Expand Down Expand Up @@ -1768,7 +1758,7 @@ spec:
- /etc/flyte/config/*.yaml
- clusterresource
- sync
image: flyteadmin:v0.3.5
image: docker.io/lyft/flyteadmin:v0.3.6
imagePullPolicy: IfNotPresent
name: sync-cluster-resources
volumeMounts:
Expand Down
5 changes: 0 additions & 5 deletions deployment/test/flyte_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ kind: Namespace
metadata:
name: flyte
---
apiVersion: v1
kind: Namespace
metadata:
name: heptio-contour
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
Expand Down
1 change: 0 additions & 1 deletion kustomize/base/single_cluster/headless/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ kind: Kustomization
# All the resources that make up the deployment
resources:
# global resources
- ../../namespace
- ../../ingress
- ../../admindeployment
- ../../datacatalog
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
resources:
- namespace.yaml
- rbac.yaml
- custom-config.yaml
- service.yaml
Expand Down

0 comments on commit 1733672

Please sign in to comment.