Skip to content

Creating namespaces with custom labels #4178

Closed

Description

@bgehman

Is it possible to create a namespace, and add our own custom labels to that namespace? We are in the process of migrating our JINJA based templates over to Helm and having issues...

YAML:

apiVersion: v1
kind: Namespace
metadata:
   name: {{ .Release.Namespace }}
   labels:
       app_name: core

Errors running helm install:

$ helm install --namespace core --name core core 
Error: release core failed: namespaces "core" already exists

Output of helm version:

$ helm version --short=true
Client: v2.9.1+g20adb27
Server: v2.9.1+g20adb27

Output of kubectl version:

$ kubectl version --short=true
Client Version: v1.9.6
Server Version: v1.9.6

Cloud Provider/Platform (AKS, GKE, Minikube etc.):
docker-edge

Activity

  1. munnerz commented on Jun 16, 2018

    @munnerz
    Contributor

    Possible dupe of #3503?

  2. dstockton commented on Sep 26, 2018

    @dstockton

    👍

  3. bacongobbler commented on Oct 30, 2019

    @bacongobbler
    Member

    dupe of #3503.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions