-
Notifications
You must be signed in to change notification settings - Fork 22
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
Deployment bugfixes #29
Conversation
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
Codecov ReportBase: 24.28% // Head: 22.01% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #29 +/- ##
==========================================
- Coverage 24.28% 22.01% -2.28%
==========================================
Files 22 22
Lines 1054 1163 +109
==========================================
Hits 256 256
- Misses 789 898 +109
Partials 9 9
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
pkg/registry/configmap.go
Outdated
@@ -52,7 +52,7 @@ http: | |||
|
|||
viewerEnvfile := fmt.Sprintf(` | |||
ANALYTICS_WRITE_KEY=%s | |||
DEVFILE_REGISTRIES=[{\"name\":\"Community\",\"url\":\"http://localhost:8080\",\"fqdn\":\"http://%s.%s\"}]`, | |||
DEVFILE_REGISTRIES=[{"name":"Community","url":"http://localhost:8080","fqdn":"http://%s.%s"}]`, |
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.
The fqdn
format will not work on openshift deployments since the IngressDomain is only required for Kubernetes deployment and it can be empty. If a registry is successfully deployed it should update the URL in cr.Status.URL
field so we can rely on that setting as long as it's not empty.
…ity. Signed-off-by: Michael Valdron <mvaldron@redhat.com>
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
0352f52
to
8d37594
Compare
…yment. Signed-off-by: Michael Valdron <mvaldron@redhat.com>
8d37594
to
d55f7d4
Compare
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
…er using the registry operator. Signed-off-by: Michael Valdron <mvaldron@redhat.com>
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
6051ddb
to
936f94a
Compare
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: kim-tsao, michael-valdron The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Please specify the area for this PR
operator bugfix
What does does this PR do / why we need it:
Bugfix changes include:
K8S_CLI
variable.registryViewerWriteKey
added to the devfile registries crd config.Which issue(s) this PR fixes:
Fixes #?
fixes devfile/api#966, devfile/api#1014, devfile/api#1016, devfile/api#1019, devfile/api#1025
PR acceptance criteria:
Documentation
How to test changes / Special notes to the reviewer: