Skip to content

tailor update on build config jenkins-master and jenkins-slave-base #157

@stefanlack

Description

@stefanlack

Describe the bug
After tailor update is executed, on next run tailor reports changes again:

To Reproduce

cd ${BASE_DIR}/ods-core/jenkins/ocp-config
yes 'y' | tailor update -v --force
tailor status --force

Expected behavior
After tailor update, no further changes should appier when tailor update is executed again.

Screenshots and logs
image

[root@openshift ocp-config]# tailor status --force
Comparing templates in . with OCP namespace cd.
Limiting resources to bc,is with selector app=jenkins.
Found 6 resources in OCP cluster (current state) and 6 resources in processed templates (desired state).

* bc/jenkins-webhook-proxy is in sync
* is/jenkins-master is in sync
* is/jenkins-slave-base is in sync
* is/jenkins-webhook-proxy is in sync
~ bc/jenkins-master to update
--- Current State (OpenShift cluster)
+++ Desired State (Processed template)
@@ -27,6 +27,7 @@
       - name: APP_DNS
         value: 192.168.56.101.nip.io
       - name: TARGET_HOSTS
+        value: ""
       from:
         kind: ImageStreamTag
         name: jenkins:2
~ bc/jenkins-slave-base to update
--- Current State (OpenShift cluster)
+++ Desired State (Processed template)
@@ -30,6 +30,7 @@
       - name: SNYK_DISTRIBUTION_URL
         value: https://github.com/snyk/snyk/releases/download/v1.180.1/snyk-linux
       - name: TARGET_HOSTS
+        value: ""
       from:
         kind: DockerImage
         name: openshift/jenkins-slave-base-centos7

Affected version (please complete the following information):

  • OpenShift 3.11
  • tailor 0.10.4

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions