Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to specify a custom namespace to deploy with Cloud Deploy and Helm?

Maybe I missed something, but I didn't find an option to do that.

Target does not provide an option for namespace

apiVersion: deploy.cloud.google.com/v1
kind: DeliveryPipeline
metadata:
name: my-app
description: main application pipeline
serialPipeline:
stages:
- targetId: dev-1
profiles: [ ]
---
apiVersion: deploy.cloud.google.com/v1
kind: Target
metadata:
name: dev-1
description: development cluster
gke:
cluster: projects/my-project/locations/europe-west1/clusters/gke1

 Providing a namespace in the skaffold.yaml didn't work 

apiVersion: skaffold/v2beta26
kind: Config
metadata:
name: my-app
build:
artifacts:
- image: eu.gcr.io/my-repo/my-app
ko:
dir: services/my-app
deploy:
helm:
releases:
- name: my-app
chartPath: helm/my-app
namespace: my-ns
artifactOverrides:
images.myApp: eu.gcr.io/my-repo/my-app

Any other options or suggestions?

0 6 1,872