Comments (5)
Update: most of the query strings are hardcoded to http, when manually updating all of these hardcoded string I got it to work with a https repository but also the http client get function seems to override to http which also had to be updated.
from kraken.
So internally, all urls are hardcoded as http. We use the SendTLS
option in package httputil
to enable https, which swaps http for https:
// SendTLS sets the transport with TLS config for the HTTP client.
func SendTLS(config *tls.Config) SendOption {
return func(o *sendOptions) {
if config == nil {
return
}
o.transport = &http.Transport{TLSClientConfig: config}
o.url.Scheme = "https"
}
}
from kraken.
I think as long as you have the correct tls config it should do the right thing. For example, in the example devcluster we pull from dockerhub using https://github.com/uber/kraken/blob/master/examples/devcluster/config/build-index/development.yaml#L8
from kraken.
Yes you're right I was seeing the request in the logs as http because it was falling back to http due to me not adding the correct certificates to the build for my nexus. Thanks for the help
from kraken.
So the problem is solved?
from kraken.
Related Issues (20)
- Harbor and Kraken
- Docker hub requests are failing HOT 2
- TLS passphrase is unnecessarily mandatory
- Continuous fuzzing through OSS-fuzz
- 500 failed to verify data: digests do not match; Image fails to pull. HOT 1
- Interested in integrated with Nydus image servcie?
- Document steps to use corporate proxy
- cross-cluster replication related doc not found
- k8s: Running in an IPv6 dual stack cluster.
- Is project alive? HOT 5
- Unable to download the kraken database
- I found an arbitrary file read vulnerability in the component testfs
- Readme mentions Deprecated Makisu
- Readme: Slack channel not reachable HOT 1
- Vulnerability of dependency "golang.org/x/text" HOT 3
- Custom policy based on response time between peers
- Cannot pull docker image using registry on port 30081 HOT 4
- ARM64 container images
- Readme Arch diagram visibility
- CNCF TAG Runtime Discussion/Presentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kraken.