-
Notifications
You must be signed in to change notification settings - Fork 79
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
Install: add option for localhost DNS name #326
Conversation
Is it worth documenting this option in the docs/development.md file? |
5241373
to
7f261dd
Compare
Updated the doc of the e2e install script. Once #319 merges, I think we can update the debugging doc to use |
/approve |
test/e2e/01-install.sh
Outdated
@@ -66,7 +73,7 @@ set -e | |||
kubectl create secret tls -n tekton-pipelines tekton-results-tls --cert="${SSL_CERT_PATH}/tekton-results-cert.pem" --key="${SSL_CERT_PATH}/tekton-results-key.pem" || true | |||
|
|||
echo "Installing Tekton Results..." | |||
kubectl kustomize "${ROOT}/test/e2e/kustomize" | ko apply -f - | |||
kubectl kustomize "${ROOT}/test/e2e/kustomize" | ko apply --sbom=none -f - |
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.
Why did we disable sbom?
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.
For local testing, SBOM isn't useful. SBOM generation adds extra time.
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.
note that this is also for e2e testing. At times I have tested with quay.io as my image repo, and pushing the SBOM does not always succeed.
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.
This was a known issue but it should be fixed in the latest version: ko-build/ko#532. I haven't tried it recently.
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.
I may have to try and reproduce the issue. Sounds like an issue with quay.io.
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.
Looks like quay.io doesn't like spdx+json
media types in some circumstances. Commented in ko-build/ko#660 (comment) - it looks like ko has support for text/spdx+json
on the long term roadmap?
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.
@khrm can we resolve this thread?
@adambkaplan Please rebase. |
- Update the install script to use localhost as an optional DNS alternative in the generated certificate. This can facilitate developer testing. - Documented options for the install script in the e2e README.
7f261dd
to
bd90155
Compare
/kind documentation |
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.
Looks good to me
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alan-ghelardi, avinal, sayan-biswas 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 |
/lgtm |
Update the install script to use localhost as an optional DNS alternative in the generated certificate. This can facilitate developer testing.