diff --git a/zuul_operator/templates/nodepool-launcher.yaml b/zuul_operator/templates/nodepool-launcher.yaml index 7b5ae8d..81d1d27 100644 --- a/zuul_operator/templates/nodepool-launcher.yaml +++ b/zuul_operator/templates/nodepool-launcher.yaml @@ -17,6 +17,7 @@ spec: app.kubernetes.io/instance: {{ instance_name }} app.kubernetes.io/part-of: zuul app.kubernetes.io/component: nodepool-launcher + operator.zuul-ci.org/nodepool-provider: {{ provider_name }} template: metadata: labels: @@ -24,6 +25,7 @@ spec: app.kubernetes.io/instance: {{ instance_name }} app.kubernetes.io/part-of: zuul app.kubernetes.io/component: nodepool-launcher + operator.zuul-ci.org/nodepool-provider: {{ provider_name }} spec: containers: - name: launcher diff --git a/zuul_operator/zuul.py b/zuul_operator/zuul.py index 53e26f5..6d6935d 100644 --- a/zuul_operator/zuul.py +++ b/zuul_operator/zuul.py @@ -304,8 +304,8 @@ class Zuul: 'external_config': self.spec.get('externalConfig', {}), 'spec': self.spec, } - utils.apply_file(self.api, 'nodepool-launcher.yaml', - namespace=self.namespace, **kw) + utils.apply_file(self.api, 'nodepool-launcher.yaml', + namespace=self.namespace, **kw) # Get current providers providers = objects.Deployment.objects(self.api).filter(