keptn-sandbox / keptn-gitops-operator

7 stars 7 forks source link

Trigger event name should not be in the service CR #9

Closed didiladi closed 2 years ago

didiladi commented 3 years ago

I just ran into a problem, where I tried to update the triggerevent in my shipyard.yaml and metadata.yaml - I renamed my trigger sequence from artifact-delivery to delivery. I was surprised to be greeted with the following log message in the shipyard controller after triggering the deployment:

{"timestamp":"2021-04-15T14:35:20.364409825Z","logLevel":"INFO","message":"no task sequence with name artifact-delivery found in stage dev"}

After some investigation, I found out that the custom resource of the keptn service, also contains the name of the trigger event:

image

Please remove this property from the CR and just pass anlong the information based on the value in the metadata.yaml.

thschue commented 2 years ago

Fixed with new operators