Set namespace as default

This gets around a bug in Spinnaker where the namespace, if missing in the manifest, is set to "spinnaker".

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=192825895
This commit is contained in:
jianglai 2018-04-13 14:39:46 -07:00
parent bee77f0cc3
commit 23c9cf926c
2 changed files with 3 additions and 0 deletions

View file

@ -1,6 +1,7 @@
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
namespace: default
name: proxy-deployment name: proxy-deployment
labels: labels:
app: proxy app: proxy
@ -51,6 +52,7 @@ spec:
apiVersion: autoscaling/v2beta1 apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler kind: HorizontalPodAutoscaler
metadata: metadata:
namespace: default
name: proxy-autoscale name: proxy-autoscale
labels: labels:
app: proxy app: proxy

View file

@ -1,6 +1,7 @@
kind: Service kind: Service
apiVersion: v1 apiVersion: v1
metadata: metadata:
namespace: default
name: proxy-service name: proxy-service
spec: spec:
selector: selector: