Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

selected version gets applied #146

Open
wants to merge 712 commits into
base: master-next
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
712 commits
Select commit Hold shift + click to select a range
9bf0b86
Updates to Custom Resource details view
nicolethoen May 30, 2019
7d33591
The .co-actions-menu button within the <h1 co-resource-item> loads la…
sg00dwin May 29, 2019
dd5770a
Keystone IDP: make domain required
spadgett May 31, 2019
df45efc
Merge pull request #1626 from sg00dwin/nav-title-height
openshift-merge-robot May 31, 2019
e9356c5
frontend: Move filters and add category to OperatorHub
rebeccaalpert May 30, 2019
736ecf0
Merge pull request #1581 from spadgett/env-rbac
openshift-merge-robot Jun 1, 2019
03a896b
Merge pull request #1633 from spadgett/readme-updates
openshift-merge-robot Jun 1, 2019
0215c80
Merge pull request #1647 from spadgett/keystrone-domain-required
openshift-merge-robot Jun 1, 2019
a1c3f0c
Merge pull request #1628 from christianvogt/perspective-nav
openshift-merge-robot Jun 1, 2019
4885f69
Merge pull request #1643 from rebeccaalpert/operatorhub-tiles
openshift-merge-robot Jun 1, 2019
df48a1b
move index.ts to extensiono.ts
christianvogt May 30, 2019
0012d84
fix cycles in imports
christianvogt May 30, 2019
7789dbb
initial eslint package
christianvogt May 30, 2019
aedd3cc
Add OWNERS file to plugin SDK package
spadgett Jun 3, 2019
f57b1b0
fix eslint errors in packages dir
christianvogt May 30, 2019
db71fe9
include vscode settings to enable prettier and eslint integrations
christianvogt May 30, 2019
a346421
small UI changes to Create Operator Subscription
nicolethoen Jun 3, 2019
465178e
integration tests: fix error setting up htpasswd IDP
spadgett Jun 3, 2019
d131d26
Merge pull request #1650 from spadgett/htpasswd-patch
openshift-merge-robot Jun 3, 2019
d6f3955
Add RBAC checks for creating roles and resource quotas
spadgett May 17, 2019
8289618
Update README to include pushing custom image to openshift cluster
dtaylor113 May 28, 2019
c3f1cb9
Merge pull request #1649 from spadgett/sdk-owners
openshift-merge-robot Jun 3, 2019
ba4c264
Merge pull request #1621 from dtaylor113/master
openshift-merge-robot Jun 3, 2019
f54c7bd
Merge pull request #1645 from christianvogt/eslint
openshift-merge-robot Jun 3, 2019
3abc203
Merge pull request #1624 from spadgett/deployment-status
openshift-merge-robot Jun 4, 2019
dc3b159
temporarily disable formatOnSave vscode
christianvogt Jun 4, 2019
91b0b1e
revert changes to status-box loading-box__loaded
christianvogt Jun 4, 2019
b33c22a
Merge pull request #1654 from christianvogt/vscode-formatonsave
openshift-merge-robot Jun 4, 2019
084fb79
Adding providers with statuspageID
jhadvig Jun 3, 2019
f5552ee
Merge pull request #1655 from christianvogt/loading-box-loaded
openshift-merge-robot Jun 4, 2019
3542520
Align prettier printWidth configuration for .js and .ts files
Jun 4, 2019
3286d4f
Move "Deploying a Custom Image" to later in the README
spadgett Jun 4, 2019
75d7f4a
Merge pull request #1657 from jhadvig/providers
openshift-merge-robot Jun 4, 2019
7a5dd04
Fix overlapping text in Machine Configs table
rhamilto Jun 4, 2019
7deb235
go mod init
alecmerdler May 16, 2019
cdd250d
Merge pull request #1666 from rhamilto/console-1512
openshift-merge-robot Jun 4, 2019
214be67
Temp fix to restore About modal opening
rhamilto Jun 4, 2019
3992ec0
correctly wait for test CatalogSource to be ready before starting tests
alecmerdler Jun 4, 2019
887c801
frontend: Add updates alert to AboutModal
rebeccaalpert Jun 4, 2019
0c39010
initial dev-console plugin package
christianvogt Jun 4, 2019
3da9d95
add extension to contribute arbitrary pages
christianvogt Jun 4, 2019
ac835c8
Merge pull request #1639 from nicolethoen/update_custom_resource_details
openshift-merge-robot Jun 5, 2019
1ef9ecc
Merge pull request #1663 from nicolethoen/update_create_operator_sub_…
openshift-merge-robot Jun 5, 2019
1853c3e
Merge pull request #1659 from jtomasek/print-width
openshift-merge-robot Jun 5, 2019
8ba68c9
Merge pull request #1667 from rhamilto/about-modal-fix
openshift-merge-robot Jun 5, 2019
f70e6c0
Merge pull request #1669 from alecmerdler/better-olm-e2e
openshift-merge-robot Jun 5, 2019
6131230
Merge pull request #1672 from christianvogt/dev-console-plugin
openshift-merge-robot Jun 5, 2019
f0add80
Addition of overview (project status) skeleton screen
sg00dwin Jun 3, 2019
0a0588f
Include plugin nav items when getting active child in nav section
Jun 5, 2019
aed073d
Merge pull request #1664 from spadgett/readme-organization
openshift-merge-robot Jun 5, 2019
93cd274
Merge pull request #1670 from rebeccaalpert/about-modal
openshift-merge-robot Jun 5, 2019
7eaa141
Merge pull request #1652 from sg00dwin/overview-skeleton
openshift-merge-robot Jun 5, 2019
be4777b
Bug 1717533: Fix edge case evaluating services for deployment config
spadgett Jun 5, 2019
df080ec
Convert bar chart component to @patternfly/react-charts bar chart
TheRealJon May 7, 2019
d4fe127
Merge pull request #1668 from christianvogt/ext-pages
openshift-merge-robot Jun 5, 2019
0e1a395
Improve API definition lookup for resources
spadgett Jun 5, 2019
8cfd14b
frontend: Installed Operators UI updates
rebeccaalpert May 30, 2019
38fdcc8
Merge pull request #1651 from spadgett/multi-list-rbac
openshift-merge-robot Jun 5, 2019
d0f30cf
Address PR feedback
rebeccaalpert Jun 5, 2019
b376859
Merge pull request #1674 from jtomasek/active-nav-item
openshift-merge-robot Jun 6, 2019
fcf264c
Merge pull request #1676 from spadgett/find-definition
openshift-merge-robot Jun 6, 2019
85ea439
Merge pull request #1675 from spadgett/overview-dc-labels
openshift-merge-robot Jun 6, 2019
b8703c1
Merge pull request #1653 from TheRealJon/console-1407
openshift-merge-robot Jun 6, 2019
d276b88
Add dashboards page with health card
rawagner May 17, 2019
e82c073
Introduce @console/kubevirt-plugin
mareklibra May 17, 2019
0d8d34e
Initial VirtualMachinesPage
mareklibra May 20, 2019
a714e07
Use constants
mareklibra May 22, 2019
5064d66
Disable vm-status filter
mareklibra May 23, 2019
c8e45cd
Add template for Create VM from YAML
mareklibra May 23, 2019
f945aec
Put "Virtual Machines" after "Pods" in left-side menu
mareklibra May 23, 2019
059b7b0
Inital OWNERS file for kubevirt-plugin
mareklibra May 24, 2019
4a175aa
Register VirtualMachinesModel
mareklibra May 30, 2019
94eab7d
Transform VirtualMachinesPage to React functional component
mareklibra May 31, 2019
4cc403b
Rebase on changed YAMLTemplate
mareklibra May 31, 2019
055473d
Change webpackChunkName to kubevirt-virtual-machines
mareklibra May 31, 2019
85e7591
Types added and models pruned
mareklibra Jun 4, 2019
8cb16e5
Change resource extension types
mareklibra Jun 5, 2019
f950a20
kubevirt-plugin: yarn.lock
mareklibra Jun 6, 2019
e1d1ef7
Add initial metal3 plugin
Jun 6, 2019
32e4fee
Merge pull request #1591 from rawagner/dashboard
openshift-merge-robot Jun 6, 2019
65012db
ensure new Subscription 'sourceNamespace' matches CatalogSource
alecmerdler Jun 6, 2019
30c16b7
Merge pull request #1539 from jtomasek/metal3_plugin
openshift-merge-robot Jun 6, 2019
0b42bdb
Merge pull request #1677 from rebeccaalpert/installed-operators
openshift-merge-robot Jun 6, 2019
564bb93
Merge pull request #1680 from alecmerdler/fix-subscription-ns
openshift-merge-robot Jun 7, 2019
e966550
Merge pull request #1592 from mareklibra/introduceKubevirt2
openshift-merge-robot Jun 7, 2019
90534b5
Merge pull request #1580 from alecmerdler/CONSOLE-1489
openshift-merge-robot Jun 7, 2019
33ff1b6
doc: update README for Go modules
spadgett Jun 8, 2019
5041aa9
Merge pull request #1686 from spadgett/readme-gopath
openshift-merge-robot Jun 8, 2019
f30b927
Query Browser: Support plotting multiple queries on the same graph
kyoto Jun 10, 2019
46c6bbc
Addition of skeleton screen for the detail views.
sg00dwin Jun 7, 2019
a7d96b5
Display binary data
jhadvig Jun 7, 2019
e97a340
improve OperatorHub subscription flow
alecmerdler May 28, 2019
5fc5eb3
Merge pull request #1684 from sg00dwin/detail-view-skeleton
openshift-merge-robot Jun 10, 2019
4439d5c
Merge pull request #1627 from alecmerdler/MKTPLC-367
openshift-merge-robot Jun 10, 2019
19a821a
Reenable chargeback reports
dtaylor113 Apr 26, 2019
0c7a1e9
Merge pull request #1683 from jhadvig/binarydata
openshift-merge-robot Jun 10, 2019
6dcb632
fix redirect after deleting Subscription
alecmerdler Jun 10, 2019
60f6202
Merge pull request #1688 from kyoto/query-browser-multiple-queries
openshift-merge-robot Jun 10, 2019
3cd29c6
Merge pull request #1690 from alecmerdler/OLM-1105
openshift-merge-robot Jun 11, 2019
edfe656
Query Browser: Move graph colors definition to query-browser.tsx
kyoto Jun 11, 2019
96da2b3
Query Browser: Remove `samples` prop
kyoto Jun 11, 2019
1d806db
Query Browser: Switch from ChartArea to ChartLine and reduce padding
kyoto Jun 11, 2019
7eba6f4
Merge pull request #1692 from kyoto/query-browser-line
openshift-merge-robot Jun 11, 2019
e429abf
Merge pull request #1497 from dtaylor113/chargeback
openshift-merge-robot Jun 11, 2019
0324863
feature: add patternfly4 react-table
priley86 Apr 15, 2019
6c3890a
Merge pull request #1465 from priley86/react-tables-poc
openshift-merge-robot Jun 11, 2019
fdcffc6
Restore loading skeletons to tables
spadgett Jun 12, 2019
7c12302
Bug 1719625: Add back `template-instance-status` filter
spadgett Jun 12, 2019
d44498d
Merge pull request #1700 from spadgett/table-skeleton
openshift-merge-robot Jun 12, 2019
6fcafc3
Bug 1719624: Don't mark generated template parameters required
spadgett Jun 12, 2019
167f00c
Merge pull request #1702 from spadgett/fix-template-instance-table-fi…
openshift-merge-robot Jun 12, 2019
f634e04
Move golang packages under /pkg as is convention
benjaminapetersen Jun 12, 2019
833e822
Change namespace bar Add actions to only Import YAML
rhamilto Jun 12, 2019
7fd2b42
Merge pull request #1706 from rhamilto/namespace-bar-actions
openshift-merge-robot Jun 12, 2019
6222d3a
clean up grid classes
spadgett Jun 12, 2019
bc4a11c
Merge pull request #1703 from spadgett/template-generated
openshift-merge-robot Jun 12, 2019
15b34bb
Merge pull request #1704 from benjaminapetersen/backend/pkg/move-auth…
openshift-merge-robot Jun 12, 2019
42f7d97
Merge pull request #1707 from spadgett/grid
openshift-merge-robot Jun 13, 2019
f3857e5
Query Browser: Add page Actions menu and kebab menu for each query
kyoto Jun 11, 2019
2596ef8
Dont accept bin files in the yaml editor, provide error feedback.
jcaianirh Jun 12, 2019
ecc229d
Tidy up table CSS post-PF4 table integration
rhamilto Jun 13, 2019
874de32
Merge pull request #1705 from jcaianirh/fix-binary-yaml
openshift-merge-robot Jun 13, 2019
310a480
Enable underline on hover of Import YAML
rhamilto Jun 13, 2019
11da9e4
Use MultiListPage for BaremetalHostsPage
Jun 5, 2019
657e50c
Add Nodes to Host MultiListPage
Jun 10, 2019
0c22969
Merge pull request #1714 from rhamilto/scss-import-fixes
openshift-merge-robot Jun 13, 2019
3297382
Remove Status and move view to Projects > Workloads
rhamilto Jun 10, 2019
3885f8e
Remove "Edit Environment" from kebab/actions dropdowns
rhamilto Jun 13, 2019
cfab747
Merge pull request #1694 from rhamilto/console-1477
openshift-merge-robot Jun 13, 2019
09c8d77
include OwnNamespace install mode support for OLM
alecmerdler Jun 13, 2019
74ab35a
Add RBAC checks to dialog links
spadgett May 31, 2019
2a1a33b
Merge pull request #1717 from alecmerdler/OLM-1112
openshift-merge-robot Jun 13, 2019
7af02f2
Merge pull request #1718 from rhamilto/remove-actions
openshift-merge-robot Jun 13, 2019
4653e3a
Firehose: honor `optional` prop for watches on individual resources (…
mareklibra Jun 14, 2019
046451a
Merge pull request #1715 from rhamilto/import-yaml-hover
openshift-merge-robot Jun 14, 2019
27a306b
Query Browser: Make the Hide Graph button also hide the graph controls
kyoto Jun 13, 2019
91f354e
Convert Baremetal Hosts list to use PF4 table
Jun 13, 2019
5017a6f
Disable react/prop-types eslint rule
Jun 13, 2019
ee95b3d
Merge pull request #1720 from spadgett/rbac-modals
openshift-merge-robot Jun 14, 2019
a604a32
Bug 1720119: Tighten node IP query
spadgett Jun 14, 2019
753e61e
Merge pull request #1726 from spadgett/node-charts
openshift-merge-robot Jun 16, 2019
c10c70e
Dont link to ImageStreamTag if there is no tag in ImageStream status
jhadvig Jun 13, 2019
3c293aa
Use machine selectors from @console/shared
Jun 17, 2019
0c760b5
Improve area and bar chart readability
TheRealJon Jun 14, 2019
4d90d9d
Fix broken ClusterServiceVersion instance links
spadgett Jun 17, 2019
d6ea5dc
Merge pull request #1712 from jhadvig/tag-links
openshift-merge-robot Jun 17, 2019
c3bb2bb
Align <title> with <h1> for "Installed Operators"
rhamilto Jun 17, 2019
71f2a71
use metadata.name instead of fieldSelector for OLM e2e cleanup
alecmerdler Jun 17, 2019
6db4b6f
Merge pull request #1727 from TheRealJon/bug-1719481
openshift-merge-robot Jun 17, 2019
992fac8
Add support for custom table filters
vojtechszocs Jun 17, 2019
11fcfc7
Merge pull request #1730 from spadgett/broken-csv-isntance-link
openshift-merge-robot Jun 17, 2019
8532a5a
Merge pull request #1734 from alecmerdler/better-olm-cleanup
openshift-merge-robot Jun 17, 2019
5c63fb4
Reuse existing rowFilters prop to contain filter functions
vojtechszocs Jun 17, 2019
d744e30
Ensure sensible rowFilters default
vojtechszocs Jun 17, 2019
4c3daaf
Fix the ordering in getAllTableFilters
vojtechszocs Jun 17, 2019
ae56c0a
Merge pull request #1710 from kyoto/query-browser-move-hide-button
openshift-merge-robot Jun 17, 2019
f7b4ad2
Merge pull request #1733 from rhamilto/csv-title-fix
openshift-merge-robot Jun 17, 2019
890db4c
Merge pull request #1698 from jtomasek/multi-list-page
openshift-merge-robot Jun 18, 2019
94a3276
Merge pull request #1701 from kyoto/query-browser-delete-query
openshift-merge-robot Jun 18, 2019
2f1a72a
Add unit test for limitRange
Jun 18, 2019
55d1e87
Upgrade kubevirt-web-ui-components to v0.1.35
mareklibra Jun 18, 2019
40c57e6
Add standard `Resource > Resource Details` breadcrumb to resource det…
rhamilto Jun 14, 2019
7a829f2
Merge pull request #1735 from vojtechszocs/custom-table-filters
openshift-merge-robot Jun 18, 2019
ca281cd
Jest config updates
vojtechszocs Jun 18, 2019
96bdae2
Fix error in Table stateToProps
vojtechszocs Jun 18, 2019
b4bc8c9
Jest config updates
vojtechszocs Jun 18, 2019
1a1af6e
Add plugin integration tests
vojtechszocs Jun 10, 2019
f8d38b4
Merge pull request #1725 from rhamilto/breadcrumb-changes
openshift-merge-robot Jun 18, 2019
c96cfe0
Fix bug where error occurred when clicking Update Channel Save withou…
rhamilto Jun 18, 2019
135daac
Remove misleading route hostname message
spadgett Jun 18, 2019
d311e6b
improve feature detection for OLM nav items on upstream k8s
alecmerdler Jun 18, 2019
ac6758d
Make cluster status default page for native k8s
spadgett Jun 18, 2019
414e422
Add details card.
rawagner Jun 5, 2019
f9dfa0e
Limit alert height in modal editors
spadgett Jun 18, 2019
460bce2
Merge pull request #1738 from mareklibra/upgradeComponents.v0.1.35
openshift-merge-robot Jun 18, 2019
7b986f3
Merge pull request #1743 from vojtechszocs/jest-config-updates
openshift-merge-robot Jun 18, 2019
496474a
Merge pull request #1744 from vojtechszocs/fix-filter
openshift-merge-robot Jun 18, 2019
c976865
Merge pull request #1746 from rhamilto/bz-1721431
openshift-merge-robot Jun 18, 2019
fb30e51
Merge pull request #1747 from alecmerdler/CONSOLE-1544
openshift-merge-robot Jun 18, 2019
a4f1338
Merge pull request #1745 from spadgett/fix-hostname-message
openshift-merge-robot Jun 19, 2019
d99fd04
Merge pull request #1749 from spadgett/modal-alert-height
openshift-merge-robot Jun 19, 2019
bf7c39d
Query Browser: Add available metrics dropdown list
kyoto Jun 16, 2019
358505f
Merge pull request #1696 from rawagner/dashboard-k8s-simple
openshift-merge-robot Jun 19, 2019
1bf048f
Merge pull request #1748 from spadgett/native-k8s-default-page
openshift-merge-robot Jun 19, 2019
20085e0
Query Browser: Monitoring UI PatternFly tables fixes
kyoto Jun 19, 2019
9b807b7
Merge pull request #1737 from xiaocwan/limitrangeUnitTest
openshift-merge-robot Jun 19, 2019
a8de8fa
Merge pull request #1708 from vojtechszocs/plugin-tests
openshift-merge-robot Jun 19, 2019
fc22ea9
Query Browser: Avoid unnecessary graph component renders
kyoto Jun 19, 2019
5888c08
Add unit test for checking resourcequota usage icon
Jun 19, 2019
baa98ae
Introduce VirtualMachine Details page
mareklibra Jun 6, 2019
b5a1f6b
VmDetail: redesign to use ResourceSummary
mareklibra Jun 17, 2019
aadc02d
Refactor: split VMDetails to separate file
mareklibra Jun 19, 2019
3737a31
Bump @patternfly/patternfly and @patternfly/react-core to latest (pre…
rhamilto Jun 19, 2019
46dcf90
Use plural instead of path (#1728)
yaacov Jun 19, 2019
f0ac272
add action item feature to dropdown
christianvogt Jun 13, 2019
79b4c1a
add knative icon
christianvogt Jun 13, 2019
83c4d9f
update eslint rules
christianvogt Jun 13, 2019
51ec09a
add perspective header to main nav
christianvogt Jun 13, 2019
d0521ac
support redirect to perspective landing page
christianvogt Jun 13, 2019
c07522c
update vscode settings for tsdk and debug.node.autoAttach
christianvogt Jun 13, 2019
ed91470
update types for page extensions
christianvogt Jun 13, 2019
1738dcd
change Administrator perspective icon to PF CogsIcon
christianvogt Jun 13, 2019
ad6606d
support children in namespace bar
christianvogt Jun 13, 2019
c5f64a1
support namespace redirect for any URL that supports namespaces
christianvogt Jun 13, 2019
f2eca9d
add active application redux state, action, reducer
christianvogt Jun 13, 2019
2701ab3
update ownerReference types
christianvogt Jun 13, 2019
b48c7b0
export routes#getRouteWebURL
christianvogt Jun 13, 2019
6dcf8a1
export create-secret#SSHAuthSubform
christianvogt Jun 13, 2019
e517ae2
Merge pull request #1753 from kyoto/monitoring-fix-react-tables
openshift-merge-robot Jun 19, 2019
2b40166
Merge pull request #1756 from xiaocwan/crq-unit
openshift-merge-robot Jun 19, 2019
9be9081
Fix bug where there is too much space between link and "- default"
rhamilto Jun 19, 2019
0998cb7
support highlighting active root nav items outside of a section
christianvogt Jun 14, 2019
a1fef27
add dev-console dependencies
christianvogt Jun 13, 2019
4a74c4b
contribute dev-console plugin
christianvogt Jun 13, 2019
382e7fb
enable dev-console plugin in console-app
christianvogt Jun 19, 2019
7cf9650
Move cmd/bridge/config.go into pkg
benjaminapetersen Jun 13, 2019
9912228
Merge pull request #1736 from kyoto/query-browser-metrics-dropdown
openshift-merge-robot Jun 19, 2019
3433aaf
Merge pull request #1759 from rhamilto/bump-patternfly
openshift-merge-robot Jun 19, 2019
64133a4
Initial PR for ceph plugin
cloudbehl Jun 13, 2019
f322abc
Merge pull request #1755 from kyoto/query-browser-memoize-graph
openshift-merge-robot Jun 19, 2019
a785393
Add polyfill for AbortController
TheRealJon Jun 17, 2019
1a74baa
Fix errors due to lodash module replacement
vojtechszocs Jun 19, 2019
c2260b6
Merge pull request #1721 from christianvogt/dev-console
openshift-merge-robot Jun 19, 2019
9a3ec94
Merge pull request #1760 from rhamilto/console-1535
openshift-merge-robot Jun 19, 2019
c0b0efd
Merge pull request #1719 from benjaminapetersen/backend/pkg/move-config
openshift-merge-robot Jun 19, 2019
daf282e
Query Browser: Add switch for toggling queries ON / OFF
kyoto Jun 19, 2019
fdd2cf0
Merge pull request #1767 from kyoto/query-browser-query-switch
openshift-merge-robot Jun 20, 2019
fdf6b17
Merge pull request #1682 from mareklibra/kubevirt.vmDetails
openshift-merge-robot Jun 20, 2019
d7af277
Query Browser: Allow queries to contain newlines
kyoto Jun 18, 2019
3ba30df
Query Browser: Auto-focus query input
kyoto Jun 18, 2019
8922eba
Add unit test for checking quota columns
Jun 20, 2019
44e1d9a
fix(pipeline): Fix pipeline broken flow
invalid-email-address Jun 20, 2019
1d5e100
Integrate routing advanced option in git import flow
divyanshiGupta Jun 20, 2019
4911583
feat(pipeline): Make Pipeline/Run yamls read-only
invalid-email-address Jun 20, 2019
da92c1a
VirtualMachine Detail: add Events tab
suomiy Jun 18, 2019
c89ee1c
Merge pull request #1771 from divyanshiGupta/integrate-route
openshift-merge-robot Jun 20, 2019
c2328fe
Merge pull request #1739 from suomiy/kubevirt.eventsPage
openshift-merge-robot Jun 20, 2019
e30c027
Add separate script for plugin stats, simplify webpack config
vojtechszocs Jun 20, 2019
11660d9
Merge pull request #1766 from vojtechszocs/fix-lodash-replacement
openshift-merge-robot Jun 20, 2019
a69288f
Merge pull request #1769 from kyoto/query-browser-query-multiline
openshift-merge-robot Jun 20, 2019
127c00a
use _.attempt() when cleaning up OLM e2e tests
alecmerdler Jun 20, 2019
450dc5e
expose asAccessReview functionality
suomiy Jun 20, 2019
3515a07
Merge pull request #1778 from abhinandan13jan/task-status
openshift-merge-robot Jun 20, 2019
e386cc2
Merge pull request #1777 from vojtechszocs/fix-node-require-extensions
openshift-merge-robot Jun 20, 2019
f61cb8d
Merge pull request #1781 from alecmerdler/fix-olm-e2e-cleanup
openshift-merge-robot Jun 20, 2019
5e84fe3
Merge pull request #1709 from cloudbehl/ceph-storage-plugin
openshift-merge-robot Jun 21, 2019
1047c46
Merge pull request #1770 from xiaocwan/quota-unit
openshift-merge-robot Jun 21, 2019
bc8bedd
Merge pull request #1775 from TheRealJon/bug-1720045
openshift-merge-robot Jun 21, 2019
fe9d602
Merge pull request #1779 from suomiy/actionsAccessReview
openshift-merge-robot Jun 21, 2019
0d33b6e
selected version gets applied
debsmita1 Jun 21, 2019
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
/Godeps/_workspace/src/github.com/openshift/console
/frontend/.cache-loader
/frontend/__coverage__
/frontend/**/node_modules
/frontend/public/bower_components
/frontend/node_modules
/frontend/public/dist
/frontend/npm-debug.log
/frontend/yarn-error.log
Expand Down
21 changes: 9 additions & 12 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This document outlines some of the conventions on development workflow.

- Fork the repository on GitHub
- Read the [README](README.md) for build and test instructions
- Read the [STYLEGUIDE](STYLEGUIDE.md) for code conventions
- Play with the project, submit bugs, submit patches!

## Contribution Flow
Expand Down Expand Up @@ -57,22 +58,18 @@ issue to its pull request and close the issue when the pull request merges.
While we don't have automated tooling for JIRA issues, you should still include
a link to the issue in the commit description to make it easy to get to the issue.

### Pull Requests Against Other Branches
### Backporting Fixes

Pull requests opened against branches other than master should start the pull
request title with the branch name in brackets like `[release-3.11]` to make it
obvious. Include the bug as well when appropriate. For instance,
Branches for previous releases follow the format `release-X.Y`, for example,
`release-4.1`. Typically, bugs are fixed in the master branch first then
backported to the appropriate release branches. Fixes backported to previous
releases should have a Bugzilla bug for each version fixed.

```
[release-3.11] Bug 1643948: Fix crashlooping pods query
```

If you use the `/cherrypick` command, the bot will automatically append the
branch to the pull request title. For instance, adding a comment to a PR like
You can use the `/cherrypick` command to ask the bot to backport a fix.

```
/cherrypick release-3.11
/cherrypick release-4.1
```

will create a new pull request against the release-3.11 branch when the current
will create a new pull request against the release-4.1 branch when the current
pull request merges as long as there are no merge conflicts.
56 changes: 0 additions & 56 deletions Dockerfile-builder

This file was deleted.

55 changes: 55 additions & 0 deletions Dockerfile.builder
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Used for compiling the tectonic-console. After editing this file,
# (and committing your edits) you should run ./push-builder.sh to
# push a new version of your image to quay.io/coreos/tectonic-console-builder

FROM golang:1.11-stretch

MAINTAINER Ed Rooth - CoreOS

### For golang testing stuff
RUN go get -u github.com/golang/lint/golint
RUN go get github.com/jstemmer/go-junit-report

### Install NodeJS and yarn
ENV NODE_VERSION="v10.3.0"
ENV YARN_VERSION="v1.7.0"

# yarn needs a home writable by any user running the container
ENV HOME /opt/home
RUN mkdir -p ${HOME}
RUN chmod 777 -R ${HOME}

RUN apt-get update \
&& apt-get install --no-install-recommends -y -q \
curl wget git unzip bzip2 jq

RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.8.2/bin/linux/amd64/kubectl && \
chmod +x ./kubectl && \
mv ./kubectl /usr/local/bin/kubectl

RUN cd /tmp && \
wget --quiet -O /tmp/node.tar.gz http://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}-linux-x64.tar.gz && \
tar xf node.tar.gz && \
rm -f /tmp/node.tar.gz && \
cd node-* && \
cp -r lib/node_modules /usr/local/lib/node_modules && \
cp bin/node /usr/local/bin && \
ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm
# so any container user can install global node modules if needed
RUN chmod 777 /usr/local/lib/node_modules
# cleanup
RUN rm -rf /tmp/node-v*

RUN cd /tmp && \
wget --quiet -O /tmp/yarn.tar.gz https://github.com/yarnpkg/yarn/releases/download/${YARN_VERSION}/yarn-${YARN_VERSION}.tar.gz && \
tar xf yarn.tar.gz && \
rm -f /tmp/yarn.tar.gz && \
mv /tmp/yarn-${YARN_VERSION} /usr/local/yarn && \
ln -s /usr/local/yarn/bin/yarn /usr/local/bin/yarn

# Install Chrome for installer gui tests
RUN wget --quiet -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' && \
apt-get update && \
apt-get install --no-install-recommends -y -q \
google-chrome-stable ca-certificates
83 changes: 61 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,32 @@ The console is a more friendly `kubectl` in the form of a single page webapp. I
### Dependencies:

1. [node.js](https://nodejs.org/) >= 8 & [yarn](https://yarnpkg.com/en/docs/install) >= 1.3.2
2. [go](https://golang.org/) >= 1.8 & [glide](https://glide.sh/) >= 0.12.0 (`go get github.com/Masterminds/glide`) & [glide-vc](https://github.com/sgotti/glide-vc)
3. [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) and a k8s cluster
2. [go](https://golang.org/) >= 1.11+
3. [oc](https://mirror.openshift.com/pub/openshift-v4/clients/oc/4.1/) or [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) and an OpenShift or Kubernetes cluster
4. `jq` (for `contrib/environment.sh`)
5. Google Chrome/Chromium >= 60 (needs --headless flag) for integration tests

### Build everything:

This project uses uses [Go modules](https://github.com/golang/go/wiki/Modules),
so you should clone the project outside of your `GOPATH`. To build both the
frontend and backend, run:

```
./build.sh
```

Backend binaries are output to `/bin`.

Backend binaries are output to `./bin`.

### Configure the application

The following instructions assume you have an existing cluster you can connect
to. OpenShift 4.0 clusters can be installed using the
[OpenShift Installer](https://github.com/openshift/installer).
You can also use [CodeReady Containers](https://github.com/code-ready/osp4)
to. OpenShift 4.x clusters can be installed using the
[OpenShift Installer](https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/).
You can also use [CodeReady Containers](https://github.com/code-ready/crc)
for local installs. More information about installing OpenShift can be found at
<https://try.openshift.com/>.


#### OpenShift (no authentication)

For local development, you can disable OAuth and run bridge with an OpenShift
Expand Down Expand Up @@ -132,7 +134,7 @@ See [STYLEGUIDE](STYLEGUIDE.md) for file format and coding style guide.

### Dev Dependencies

go, glide, glide-vc, nodejs/yarn, kubectl
go 1.11+, nodejs/yarn, kubectl

### Frontend Development

Expand Down Expand Up @@ -184,8 +186,6 @@ Run frontend tests:

Integration tests are run in a headless Chrome driven by [protractor](http://www.protractortest.org/#/). Requirements include Chrome, a working cluster, kubectl, and bridge itself (see building above).

Note: If you are running integration tests against OpenShift, you should start bridge using [oc-environment.sh](#openshift-without-oauth) to skip the login page.

Setup (or any time you change node_modules - `yarn add` or `yarn install`)
```
cd frontend && yarn run webdriver-update
Expand Down Expand Up @@ -214,9 +214,10 @@ CI runs the [test-prow-e2e.sh](test-prow-e2e.sh) script, which uses the `e2e` su
You can simulate an e2e run against an existing 4.0 cluster with the following commands (replace `/path/to/install-dir` with your OpenShift 4.0 install directory):

```
$ export BRIDGE_AUTH_USERNAME=kubeadmin
$ export BRIDGE_BASE_ADDRESS="https://$(oc get route console -n openshift-console -o jsonpath='{.spec.host}')"
$ export BRIDGE_AUTH_PASSWORD=$(cat "/path/to/install-dir/auth/kubeadmin-password")
$ oc apply -f ./frontend/integration-tests/data/htpasswd-secret.yaml
$ oc patch oauths cluster --patch "$(cat ./frontend/integration-tests/data/patch-htpasswd.yaml)" --type=merge
$ export BRIDGE_BASE_ADDRESS="$(oc get consoles.config.openshift.io cluster -o jsonpath='{.status.consoleURL}')"
$ export BRIDGE_KUBEADMIN_PASSWORD=$(cat "/path/to/install-dir/auth/kubeadmin-password")
$ ./test-gui.sh e2e
```

Expand All @@ -240,6 +241,48 @@ Remove the `--headless` flag to Chrome (chromeOptions) in [protractor.conf.ts](f
6. Will break on any `debugger;` statements
7. Pauses browser when not using `--headless` argument!

### Deploying a Custom Image to an OpenShift Cluster

Once you have made changes locally, these instructions will allow you to push
changes to an OpenShift cluster for others to review. This involves building a
local image, pushing the image to an image registry, then updating the
OpenShift cluster to pull the new image.

#### Prerequisites

1. Docker v17.05 or higher for multi-stage builds
2. An image registry like [quay.io](https://quay.io/signin/) or [Docker Hub](https://hub.docker.com/)

#### Steps
1. Create a repository in the image registry of your choice to hold the image.
2. Build Image `docker build -t <your-image-name> <path-to-repository | url>`. For example:
```
docker build -t quay.io/myaccount/console:latest .
```
3. Push image to image registry `docker push <your-image-name>`. Make sure
docker is logged into your image registry! For example:
```
docker push quay.io/myaccount/console:latest
```
4. Put the console operator in unmanaged state:
```
oc patch consoles.operator.openshift.io cluster --patch '{ "spec": { "managementState": "Unmanaged" } }' --type=merge
```
5. Update the console Deployment with the new image:
```
oc set image deploy console console=quay.io/myaccount/console:latest -n openshift-console
```
6. Wait for the changes to rollout:
```
oc rollout status -w deploy/console -n openshift-console
```
You should now be able to see your development changes on the remote OpenShift cluster!

When done, you can put the console operator back in a managed state to remove the custom image:
```
oc patch consoles.operator.openshift.io cluster --patch '{ "spec": { "managementState": "Managed" } }' --type=merge
```

### Dependency Management

Dependencies should be pinned to an exact semver, sha, or git tag (eg, no ^).
Expand All @@ -251,14 +294,10 @@ Whenever making vendor changes:
2. Commit everything *except* `vendor/` (eg, `server: add x feature`)
3. Make a second commit with only `vendor/` (eg, `vendor: revendor`)

Add new backend dependencies:
1. Edit `glide.yaml`
2. `./revendor.sh`

Update existing backend dependencies:
1. Edit the `glide.yaml` file to the desired version (most likely a git hash)
2. Run `./revendor.sh`
3. Verify update was successful. `glide.lock` will have been updated to reflect the changes to `glide.yaml` and the package will have been updated in `vendor`.
Adding new or updating existing backend dependencies:
1. Edit the `go.mod` file to the desired version (most likely a git hash)
2. Run `go mod tidy && go mod vendor`
3. Verify update was successful. `go.sum` will have been updated to reflect the changes to `go.mod` and the package will have been updated in `vendor`.

#### Frontend

Expand Down
8 changes: 6 additions & 2 deletions STYLEGUIDE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Tectonic Console Styleguide
# OpenShift Console Styleguide

## Directory and File Names

Expand All @@ -22,8 +22,12 @@
- All SCSS variables should be scoped within their component.
- We use [BEM](http://getbem.com) naming conventions.

## JavaScript
## TypeScript and JavaScript

- New code should be written in TypeScript, not JavaScript.
- Prefer functional components to class-based components.
- Use [React hooks](https://reactjs.org/docs/hooks-intro.html) with functional components if you need state.
- Prefer [composition to inheritance](https://reactjs.org/docs/composition-vs-inheritance.html).
- Run the linter and follow all rules defined in .eslintrc
- Never use absolute paths in code. The app should be able to run behind a proxy under an arbitrary path.
- TESTS: Should follow a similar "test tables" convention as used in Go where applicable.
4 changes: 2 additions & 2 deletions build-backend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -e

PROJECT_DIR=$(basename ${PWD})

GIT_TAG=`git describe --always --tags HEAD`
LD_FLAGS="-w -X github.com/openshift/console/version.Version=${GIT_TAG}"
GIT_TAG=${SOURCE_GIT_TAG:-$(git describe --always --tags HEAD)}
LD_FLAGS="-w -X github.com/openshift/console/pkg/version.Version=${GIT_TAG}"

CGO_ENABLED=0 go build -ldflags "${LD_FLAGS}" -o bin/bridge github.com/openshift/console/cmd/bridge
2 changes: 1 addition & 1 deletion builder-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set -e
# Without env vars:
# ./builder-run.sh ./my-script --my-script-arg1 --my-script-arg2

BUILDER_IMAGE="quay.io/coreos/tectonic-console-builder:v16"
BUILDER_IMAGE="quay.io/coreos/tectonic-console-builder:v17"

# forward whitelisted env variables to docker
ENV_STR=""
Expand Down
2 changes: 1 addition & 1 deletion clean-frontend.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash

rm -rf frontend/node_modules
find frontend -type d -name 'node_modules' -prune -exec rm -rf {} \;
rm -rf frontend/public/dist
Loading