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

Accept ns/name Secret reference in annotations #2382

Merged
merged 2 commits into from
Apr 19, 2018
Merged

Accept ns/name Secret reference in annotations #2382

merged 2 commits into from
Apr 19, 2018

Conversation

antoineco
Copy link
Contributor

Fixes #2375

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Apr 19, 2018
@aledbf aledbf self-assigned this Apr 19, 2018
@antoineco
Copy link
Contributor Author

/assign @aledbf

@aledbf
Copy link
Member

aledbf commented Apr 19, 2018

/approve

@aledbf
Copy link
Member

aledbf commented Apr 19, 2018

/lgtm

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", 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 Apr 19, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aledbf, antoineco

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

@aledbf
Copy link
Member

aledbf commented Apr 19, 2018

@antoineco thanks!

@codecov-io
Copy link

Codecov Report

Merging #2382 into master will increase coverage by 0.21%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2382      +/-   ##
==========================================
+ Coverage   39.12%   39.33%   +0.21%     
==========================================
  Files          73       73              
  Lines        5204     5214      +10     
==========================================
+ Hits         2036     2051      +15     
+ Misses       2878     2874       -4     
+ Partials      290      289       -1
Impacted Files Coverage Δ
internal/ingress/controller/store/store.go 54.08% <100%> (+2.46%) ⬆️
internal/ingress/controller/store/objectref.go 97.91% <0%> (+4.16%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c3ff76a...9211f3b. Read the comment docs.

@k8s-ci-robot k8s-ci-robot merged commit 3c78f48 into kubernetes:master Apr 19, 2018
@antoineco antoineco deleted the tokenize-ann-secret branch April 19, 2018 22:59
if err != nil {
glog.Errorf("error reading secret reference in annotation %q: %s", ann, err)
Copy link
Contributor Author

@antoineco antoineco Apr 20, 2018

Choose a reason for hiding this comment

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

Just realized parser.parseString() throws errors.ErrMissingAnnotations if the Ingress object being processed does not have a given annotation. This is probably something we want to silence.

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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants