-
Notifications
You must be signed in to change notification settings - Fork 434
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
make secretRef field optional #865
Conversation
Issues linked to changelog: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some minor comments.
looks good overall but since i didn't review the previous PRs i think someone with more context should also review
@@ -141,6 +144,11 @@ func upstreamInstanceToEndpoint(writeNamespace string, upstream *v1.Upstream, in | |||
Namespace: writeNamespace, | |||
}, | |||
} | |||
contextutils.LoggerFrom(ctx).Debugw("instance from upstream", | |||
zap.Any("upstream", upstream), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: zap.Any("upstream", upstream)
-> "upstream", upstream
same for below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Elsewhere we’ve been using zap fields, so I prefer this just for consistency
By("verifying instance is ready - if this failed, you may need to restart the EC2 instance") | ||
// stitch the url together to avoid bot spam | ||
ec2Port := 80 | ||
ec2Url := fmt.Sprintf("http://%v:%v/metrics", strings.Join([]string{"52", "91", "199", "115"}, "."), ec2Port) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this ip?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's a dummy ec2 instance for testing
wip: need to add region config for env-derived sessions |
(no longer a wip) - added region config and tests using local credentials @yuval-k @rickducott |
BOT NOTES:
resolves #864