Skip to content

Conversation

@savitaashture
Copy link
Contributor

Changes

Issue: Operator nightly fails with below error

2021/09/09 05:58:05 got file '300-operator_v1alpha1_dashboard_crd.yaml', but '/go/src/github.com/tektoncd/operator/config/base/300-operator_v1alpha1_dashboard_crd.yaml' must be a directory to be a root
Error: accumulating resources: accumulating resources from '../base/300-operator_v1alpha1_dashboard_crd.yaml': security; file '/go/src/github.com/tektoncd/operator/config/base/300-operator_v1alpha1_dashboard_crd.yaml' is not in or below '/go/src/github.com/tektoncd/operator/config/kubernetes'

https://dashboard.dogfooding.tekton.dev/#/namespaces/tekton-nightly/pipelineruns/operator-release-nightly-4zw82?pipelineTask=publish-images&step=koparse

RootCause: As part of this PR #307 there are changes related to config files and kustomzation
and kustomzation doesn't allow to directly include resource files that are not in the same directory or a subdirectory of where your kustomization.yml file is located.

/cc @vdemeester @sm43 @nikhil-thomas

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide for more details.

Release Notes

NONE

@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Sep 9, 2021
@savitaashture savitaashture changed the title update kustomization files to fix operator nightly issue Update kustomization files to fix operator nightly issue Sep 9, 2021
@tekton-robot tekton-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Sep 9, 2021
@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vdemeester

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 9, 2021
@piyush-garg
Copy link
Contributor

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 9, 2021
@tekton-robot tekton-robot merged commit df9f1e8 into tektoncd:main Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants