Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ COPY --from=builder /tmp/build/console /usr/bin/console
# these manifests are necessary for the installer
COPY manifests /manifests/

# extensions manifests generated from openshift/api types
COPY vendor/github.com/openshift/api/console/v1/*.yaml /manifests

LABEL io.k8s.display-name="OpenShift console-operator" \
io.k8s.description="This is a component of OpenShift Container Platform and manages the lifecycle of the web console." \
io.openshift.tags="openshift" \
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile.rhel7
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ COPY --from=builder /tmp/build/console /usr/bin/console
# these manifests are necessary for the installer
COPY manifests /manifests/

# extensions manifests generated from openshift/api types
COPY vendor/github.com/openshift/api/console/v1/*.yaml /manifests

LABEL io.k8s.display-name="OpenShift console-operator" \
io.k8s.description="This is a component of OpenShift Container Platform and manages the lifecycle of the web console." \
io.openshift.tags="openshift" \
Expand Down
16 changes: 7 additions & 9 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pkg/console/controllers/clidownloads/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ func PlatformBasedOCConsoleCLIDownloads(host, arch, cliDownloadsName string) *v1
{"Windows", "windows", "oc.zip"},
}

links := []v1.Link{}
links := []v1.CLIDownloadLink{}
for _, platform := range platforms {
links = append(links, v1.Link{
links = append(links, v1.CLIDownloadLink{
Href: GetPlatformURL(baseURL, platform.key, platform.archType),
Text: fmt.Sprintf("Download oc for %s", platform.label),
})
Expand Down Expand Up @@ -199,7 +199,7 @@ func ODOConsoleCLIDownloads() *v1.ConsoleCLIDownload {
odo abstracts away complex Kubernetes and OpenShift concepts, thus allowing developers to focus on what is most important to them: code.
`,
DisplayName: "odo - Developer-focused CLI for OpenShift",
Links: []v1.Link{
Links: []v1.CLIDownloadLink{
{
Href: "https://mirror.openshift.com/pub/openshift-v4/clients/odo/latest/",
Text: "Download odo",
Expand Down
2 changes: 1 addition & 1 deletion pkg/console/controllers/clidownloads/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func TestPlatformBasedOCConsoleCLIDownloads(t *testing.T) {
The oc binary offers the same capabilities as the kubectl binary, but it is further extended to natively support OpenShift Container Platform features.
`,
DisplayName: "oc - OpenShift Command Line Interface (CLI)",
Links: []v1.Link{
Links: []v1.CLIDownloadLink{
{
Href: "https://www.example.com/amd64/linux/oc.tar",
Text: "Download oc for Linux",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 36 additions & 20 deletions vendor/github.com/openshift/api/Makefile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Loading