Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix enforce-nonfalsifiability feature flag in configmap #6937

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

lbernick
Copy link
Member

@lbernick lbernick commented Jul 18, 2023

Prior to this commit, the feature-flags configmap installed with Tekton pipelines contained a misspelling of the flag "enforce-nonfalsifiability". Editing this flag would have no effect. This commit fixes the typo in the flag name.

In addition, prior to this commit, spire support was disabled when "enforce-nonfalsifiability" was set to "", but documentation and the feature-flags configmap stated that spire should be disabled when the feature flag is set to "none". This commit aligns the implementation with the documentation.

This feature flag is not yet functional.

/kind bug

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • n/a Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
  • n/a Has Tests included if any functionality added or changed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including functionality, content, code)
  • Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
  • n/a Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
  • n/a Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

NONE

@tekton-robot tekton-robot added release-note-none Denotes a PR that doesnt merit a release note. kind/bug Categorizes issue or PR as related to a bug. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 18, 2023
Copy link
Member

@jerop jerop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@tekton-robot tekton-robot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jul 18, 2023
@lbernick lbernick closed this Jul 20, 2023
@lbernick lbernick reopened this Jul 20, 2023
@lbernick lbernick closed this Jul 21, 2023
@lbernick lbernick reopened this Jul 21, 2023
@lbernick
Copy link
Member Author

ERROR: timeout waiting for pods to come up
tekton-events-controller-67d978bcc-r5ngw       0/1   CrashLoopBackOff   5 (2m2s ago)   5m10s
tekton-pipelines-controller-5d947845c7-sppnj   0/1   CrashLoopBackOff   5 (2m3s ago)   5m10s
tekton-pipelines-webhook-7594687584-jpjp5      0/1   CrashLoopBackOff   5 (2m1s ago)   5m9s
ERROR: Tekton Pipeline did not come up

Seems like there may be an issue pulling metallb images? going to try one more time

@lbernick lbernick closed this Jul 24, 2023
@lbernick lbernick reopened this Jul 24, 2023
@lbernick lbernick closed this Jul 31, 2023
@lbernick lbernick reopened this Jul 31, 2023
@tekton-robot tekton-robot removed the lgtm Indicates that a PR is ready to be merged. label Aug 1, 2023
@tekton-robot tekton-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 3, 2023
Prior to this commit, the feature-flags configmap installed
with Tekton pipelines contained a misspelling of the flag
"enforce-nonfalsifiability". Editing this flag would have no effect.
This commit fixes the typo in the flag name.

In addition, prior to this commit, spire support was disabled when
"enforce-nonfalsifiability" was set to "", but documentation and the
feature-flags configmap stated that spire should be disabled when
the feature flag is set to "none". This commit aligns the implementation
with the documentation.

This feature flag is not yet functional.
@tekton-robot tekton-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 3, 2023
@lbernick
Copy link
Member Author

lbernick commented Aug 4, 2023

/retest
looks like some issues with "Back-off pulling image "ubuntu"."

Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 9, 2023
@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jerop, vdemeester

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

The pull request process is described here

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 merged commit 5b30a0c into tektoncd:main Aug 9, 2023
2 checks passed
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. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesnt merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants