Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Global labels are not propagated to Service #575

Closed
kadel opened this issue Jan 18, 2018 · 0 comments · Fixed by #576
Closed

Global labels are not propagated to Service #575

kadel opened this issue Jan 18, 2018 · 0 comments · Fixed by #576

Comments

@kadel
Copy link
Member

kadel commented Jan 18, 2018

name: nginx
labels:
  version: 0.1.3

deployments:
- replicas: 3
  containers:
    - image: nginx:1.7.9

services:
- ports:
  - port: 80

outputed service is missing version: 0.1.3 label:

---
apiVersion: v1
kind: Service
metadata:
  creationTimestamp: null
  labels:
    app: nginx
  name: nginx
spec:
  ports:
  - name: nginx-80
    port: 80
    targetPort: 0
  selector:
    app: nginx
    version: 0.1.3
status:
  loadBalancer: {}

Other generated resources like Deployments and Ingress are correctly generated with this label

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant