Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Merge downstream kubernetes and helm features #4630

Merged
merged 955 commits into from
Oct 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
955 commits
Select commit Hold shift + click to select a range
daa5137
Fix unit test
richard-cox Mar 18, 2020
06aaaee
Prevent click throughs
richard-cox Mar 18, 2020
499c30e
Merge pull request #354 from SUSE/helm-check-repo-url
richard-cox Mar 18, 2020
252fa09
Fix build
richard-cox Mar 18, 2020
aa407e2
Merge pull request #356 from SUSE/fix-helm-status
richard-cox Mar 19, 2020
d4fbbab
Merge pull request #353 from SUSE/upstream-merge
richard-cox Mar 19, 2020
f12a25e
Beef up env var e2e test
richard-cox Mar 19, 2020
0d349ff
Add debug for failing e2e test
richard-cox Mar 19, 2020
8bc2a71
Fix entering space char in env var list edit env var
richard-cox Mar 26, 2020
65a320a
Revert e2e debugging
richard-cox Mar 26, 2020
4e20683
Fix chart deployment on EKS
nwmac Mar 31, 2020
66fb7c8
Add header expand/collapse
richard-cox Mar 31, 2020
bd95d65
Improve table in expander
richard-cox Mar 31, 2020
9c4854b
Fix unit tests
richard-cox Mar 31, 2020
a683654
Fix app-table's used outside of app-list's
richard-cox Apr 1, 2020
dd933f1
Merge remote-tracking branch 'upstream/master' into upsteream-rebase
nwmac Apr 1, 2020
aab8f04
Tweaks following review
richard-cox Apr 1, 2020
98e808d
Fix manage users action monitor table
richard-cox Apr 2, 2020
b72ea2e
Fix typo
richard-cox Apr 2, 2020
371d1a5
Merge pull request #351 from SUSE/table-in-list-clean
richard-cox Apr 3, 2020
83233b8
Merge remote-tracking branch 'origin/master' into upsteream-rebase
richard-cox Apr 3, 2020
f55cf7c
Merge remote-tracking branch 'upstream/master' into upsteream-rebase
richard-cox Apr 3, 2020
756d990
Fix expander position
richard-cox Apr 3, 2020
9fe227f
Remove duped line
richard-cox Apr 3, 2020
b5a4bee
Remove bigger default min table row height for those with expander
richard-cox Apr 3, 2020
51c0c5e
Fix new user avatar default colours
richard-cox Apr 3, 2020
22467ee
Merge pull request #359 from SUSE/upsteream-rebase
richard-cox Apr 7, 2020
eea51bb
Merge pull request #346 from SUSE/aio-fix
richard-cox Apr 7, 2020
fdb4041
Merge remote-tracking branch 'upstream/max-list-improvements-services…
richard-cox Apr 14, 2020
50614dd
go mod + sum changes after merge
richard-cox Apr 14, 2020
7d69c23
Merge remote-tracking branch 'upstream/master' into upstream-merge
richard-cox Apr 14, 2020
eb21314
Merge remote-tracking branch 'upstream/master' into upstream-merge
richard-cox Apr 14, 2020
e2dd856
Merge remote-tracking branch 'upstream/master' into upstream-merge-2
richard-cox Apr 15, 2020
e1b957b
Merge pull request #363 from SUSE/upstream-merge
nwmac Apr 15, 2020
9c9157b
Merge pull request #358 from SUSE/fix-helm-chart
richard-cox Apr 15, 2020
f424766
Merge remote-tracking branch 'upstream/master' into upstream-merge-2
richard-cox Apr 15, 2020
88f17bf
Merge remote-tracking branch 'upstream/master' into upstream-merge-2
richard-cox Apr 15, 2020
d3254bd
Merge pull request #365 from SUSE/upstream-merge-2
nwmac Apr 16, 2020
021f872
Fix squashed workload icon (#366)
nwmac Apr 16, 2020
4e1c27a
Rename attributes to container and pod (#367)
nwmac Apr 16, 2020
77ac795
Fix avatar colors (#368)
nwmac Apr 16, 2020
0d65724
Update change log for 3.1.0 release (#369)
nwmac Apr 16, 2020
096507e
Release pipeline fix
nwmac Apr 16, 2020
6ffd600
Merge pull request #370 from SUSE/ci-pipeline-fix
richard-cox Apr 16, 2020
fac7061
Merge remote-tracking branch 'origin/master' into cloud-console
nwmac Apr 20, 2020
48ae0df
Merge remote-tracking branch 'upstream/master' into merge-upstream
richard-cox May 5, 2020
872d34d
Fixes following merge
richard-cox May 5, 2020
8124add
Merge remote-tracking branch 'upstream/improve-entity-access-clean' i…
richard-cox May 7, 2020
5651d91
Fix entity-catalog.service --> entity-catalog file change
richard-cox May 7, 2020
cca5f7b
WIP
richard-cox May 7, 2020
4e6a37b
Merge upstream (#374)
richard-cox May 11, 2020
9d199ed
WIP
richard-cox May 11, 2020
557deb2
WIP
richard-cox May 12, 2020
aae429e
Started to apply
richard-cox May 12, 2020
1b9ce7b
WIP
richard-cox May 13, 2020
76049dc
Merge upstream (#376)
richard-cox May 13, 2020
0bcb711
WIP
richard-cox May 13, 2020
c1bc891
Merge remote-tracking branch 'upstream/improve-entity-access-clean' i…
richard-cox May 15, 2020
57ff95c
Fix most todo's
richard-cox May 15, 2020
54534a9
WIP
richard-cox May 15, 2020
81db83c
Final TODO's
richard-cox May 15, 2020
6e9e2d7
Merge remote-tracking branch 'upstream/master' into merge-upstream
richard-cox May 15, 2020
76c961c
Fixes following merge
richard-cox May 18, 2020
56bf125
Merge remote-tracking branch 'upstream/master' into merge-upstream
richard-cox May 29, 2020
deaca46
Fixes following merge
richard-cox May 29, 2020
23d690a
More fixes
richard-cox May 29, 2020
68b96b2
Merge remote-tracking branch 'origin/merge-upstream' into merge-upstr…
richard-cox May 29, 2020
968d497
Fix unit tests
richard-cox Jun 1, 2020
61ab1be
Merge remote-tracking branch 'origin/merge-upstream' into merge-upstr…
richard-cox Jun 1, 2020
cfaadc0
Fix left padding on expander rows
richard-cox Jun 1, 2020
dedfe8e
WIP: Kubernetes terminal
nwmac Jun 2, 2020
38952b2
Merge remote-tracking branch 'origin/merge-upstream' into helm-chart-…
nwmac Jun 2, 2020
19a6590
Merge remote-tracking branch 'upstream/helm-recreate-pods' into helm-…
nwmac Jun 2, 2020
b8d170c
Merge remote-tracking branch 'upstream/helm-recreate-pods' into helm-…
nwmac Jun 2, 2020
f30c4a3
Merge remote-tracking branch 'upstream/helm-recreate-pods' into helm-…
nwmac Jun 2, 2020
7227dca
Apply recreate-pods fix to SUSE additional containers
nwmac Jun 2, 2020
76a13f5
Kubernetes Terminal updates and tidy up
nwmac Jun 3, 2020
891a8de
Detect kube version
nwmac Jun 3, 2020
b9f6fdc
Tidy up
nwmac Jun 3, 2020
b0c3ae9
Merge remote-tracking branch 'origin/helm-chart-updates' into kube-te…
nwmac Jun 3, 2020
dc394aa
Bug fixes and further tidy up
nwmac Jun 3, 2020
5899bfd
Fix backend logging issue
nwmac Jun 3, 2020
fc22125
Change log level to debug
nwmac Jun 3, 2020
1deac6d
Change some naming to kube terminal
nwmac Jun 4, 2020
566e233
Merge 3.2.1 (#383)
richard-cox Jun 4, 2020
0bb6325
Close stream
nwmac Jun 4, 2020
745ae4b
Run container as stratos user
nwmac Jun 4, 2020
108f3e2
Fix image build
nwmac Jun 4, 2020
7af08f2
Reanme docker file and add image to CI pipeline
nwmac Jun 4, 2020
b935ca4
Allow fork to add images to the imagelist file
nwmac Jun 8, 2020
20582d5
Merge remote-tracking branch 'origin/master' into merge-upstream
richard-cox Jun 9, 2020
bcf5088
Merge remote-tracking branch 'origin/merge-upstream' into merge-upstr…
richard-cox Jun 9, 2020
e688046
Fix unit tests
richard-cox Jun 10, 2020
1cacb5a
Fix istanbul cli error (replace with nyc)
richard-cox Jun 11, 2020
1f42e83
Merge pull request #378 from SUSE/merge-upstream
richard-cox Jun 11, 2020
2e3d6ef
Merge remote-tracking branch 'origin/master' into merge-upstream-enti…
richard-cox Jun 11, 2020
955c6ff
Improve unit tests
richard-cox Jun 11, 2020
04eec83
Merge remote-tracking branch 'origin/master' into kube-terminal
richard-cox Jun 12, 2020
da9610c
Fix issue where no config caused panic
richard-cox Jun 12, 2020
fc197cd
Changes following review
richard-cox Jun 12, 2020
da6eb12
Workload Summary Pod/Container Ring Chart Fixes
richard-cox Jun 12, 2020
a9d76f0
Fix ring chart legend/ring colour missmatch
richard-cox Jun 15, 2020
5972a7a
Typed access to actions and entities via catalog entity (#377)
richard-cox Jun 16, 2020
1c0d2a7
Merge remote-tracking branch 'origin/master' into worklow-summary-fixes
richard-cox Jun 16, 2020
ac7753f
Fix compile
richard-cox Jun 16, 2020
d835710
Minor changes following review
richard-cox Jun 16, 2020
2da8d28
Workload: Add warning if manifest parse contains errors
richard-cox Jun 16, 2020
ea15508
Fix build
richard-cox Jun 16, 2020
9661690
Merge pull request #387 from SUSE/worklow-summary-fixes
richard-cox Jun 16, 2020
1001e25
Remove helm manifest error from store
richard-cox Jun 17, 2020
282be2c
Merge remote-tracking branch 'origin/master' into helm-manifest-parse…
richard-cox Jun 17, 2020
790a37f
Merge pull request #391 from SUSE/helm-manifest-parse-warning
richard-cox Jun 18, 2020
8cc207d
Merge upstream (#392)
richard-cox Jun 23, 2020
8c2fbb6
Merge remote-tracking branch 'origin/master' into kube-terminal
nwmac Jun 23, 2020
e798fc6
Indicate which commands are available
nwmac Jun 23, 2020
f34497f
Fix merge issue
nwmac Jun 23, 2020
53a4b2a
Remove commented-out code
nwmac Jun 23, 2020
d64f5bf
Helm chart updates for --recreate-pods (#382)
nwmac Jun 23, 2020
817b729
Fix unit test compilation
nwmac Jun 23, 2020
3ec9362
Bug fix for when terminal is not enabled
nwmac Jun 24, 2020
16326d5
Only enable if tech preview is on
nwmac Jun 24, 2020
cd65b14
Add dev doc and helper setup script
nwmac Jun 24, 2020
37f53d5
Add ability to import K8S endpoints from kube config file (#381)
nwmac Jun 26, 2020
cd0d6d6
Fix dev helper script
nwmac Jun 26, 2020
4c206ad
Address PR feedback
nwmac Jun 26, 2020
5c95d1c
Merge pull request #384 from SUSE/kube-terminal
richard-cox Jun 26, 2020
0bb9998
Merge upstream (#400)
richard-cox Jun 29, 2020
669b40e
Merge upstream (#400)
richard-cox Jun 29, 2020
767b9c5
Merge upstream (#402)
richard-cox Jun 29, 2020
e3f77c6
Update suse customization process with V4 build (#397)
richard-cox Jun 29, 2020
e6f0513
Kubernetes icons updates
nwmac Jun 30, 2020
cf7f8b8
Merge pull request #403 from SUSE/icons
richard-cox Jun 30, 2020
8ede6c2
WIP: Suse Theme updated for new brand
nwmac Jun 30, 2020
c067218
Final updates. Logo, login screen
nwmac Jul 3, 2020
3de25e6
Add ability to connect to k3s clusters
nwmac Jul 4, 2020
ed9c6ae
Improve recent and favourites display
nwmac Jul 5, 2020
c2e713d
Remove debug logging
nwmac Jul 5, 2020
9581421
Remove debug logging/subscription leak
nwmac Jul 6, 2020
b142e22
Unit test fix
nwmac Jul 6, 2020
d995614
Merge remote-tracking branch 'upstream/master'
richard-cox Jul 7, 2020
e6e4fbb
Fixes after merge
richard-cox Jul 7, 2020
2562d2a
Merge remote-tracking branch 'origin/suse-rebrand' into dark-mode
richard-cox Jul 7, 2020
ebb8458
Add SUSE dark theme
richard-cox Jul 7, 2020
93ae0ee
Fix build
richard-cox Jul 7, 2020
307800a
Merge remote-tracking branch 'origin/merge-upstream' into dark-mode
richard-cox Jul 8, 2020
f60026f
Fix typo in error message
nwmac Jul 8, 2020
205080b
Address PR feedback
nwmac Jul 8, 2020
a46bd6c
Merge branch 'fix-k3s-connect' of github.com:SUSE/stratos into fix-k3…
nwmac Jul 8, 2020
5cacfd2
Update login screen colors
nwmac Jul 8, 2020
371788f
Light & Dark mode changes following review
richard-cox Jul 8, 2020
a6c3f12
FIx issues with HttpBasic auth type
nwmac Jul 8, 2020
dd6afcf
Tweaks following review
richard-cox Jul 8, 2020
14479c5
Merge upstream (#406)
richard-cox Jul 9, 2020
760cb30
Merge remote-tracking branch 'origin/suse-rebrand' into fix-k3s-connect
nwmac Jul 9, 2020
b4f9fe2
Changes following review
richard-cox Jul 9, 2020
a19f2c4
Merge remote-tracking branch 'upstream/master' into merge-upstream
richard-cox Jul 9, 2020
54e8b63
Merge remote-tracking branch 'upstream/improve-recents' into merge-up…
richard-cox Jul 9, 2020
65509d6
Fix config generation for k3s. Move assets
nwmac Jul 9, 2020
b438ef4
Merge remote-tracking branch 'origin/master' into fix-k3s-connect
nwmac Jul 9, 2020
8d26b45
Merge pull request #408 from SUSE/merge-upstream
richard-cox Jul 9, 2020
b268c14
Merge remote-tracking branch 'origin/master' into fix-k3s-connect
richard-cox Jul 9, 2020
149a024
Fix typo
richard-cox Jul 9, 2020
0c5f318
Suse Theme updated for new brand (#404)
nwmac Jul 9, 2020
354c182
Merge remote-tracking branch 'origin/master' into fix-k3s-connect
nwmac Jul 9, 2020
e1bc1ac
Merge branch 'fix-k3s-connect' of github.com:SUSE/stratos into fix-k3…
nwmac Jul 9, 2020
b394a53
Merge remote-tracking branch 'origin/master' into dark-mode
richard-cox Jul 9, 2020
9d4c740
Merge pull request #405 from SUSE/fix-k3s-connect
richard-cox Jul 9, 2020
aa5352c
Merge pull request #407 from SUSE/dark-mode
richard-cox Jul 9, 2020
0543700
Update kube dashboard version, allow download link to be configurable…
richard-cox Jul 10, 2020
864f650
Insecure tlsv10 and tlsv11 ciphers in Stratos UI, bsc#1173295 (#411)
mjura Jul 20, 2020
8f68d22
Merge upstream (#414)
richard-cox Jul 24, 2020
8cde7b6
Patch 2.7.0 image to update nginx SSL configuration (#412)
nwmac Jul 24, 2020
7298642
Merge upstream - #2 (#416)
richard-cox Jul 24, 2020
4717ba6
Security observability (#398)
nwmac Jul 24, 2020
a5b29fa
Merge upstream #3 (#421)
richard-cox Jul 24, 2020
302c5de
Security Observability: Add persistent volume, gate on tech preview (…
nwmac Jul 24, 2020
4c43db4
4.0.0 changelog (#423)
nwmac Jul 24, 2020
da70493
Ensure custom login component included in `ng build --prod` (#424)
richard-cox Jul 28, 2020
582506f
Ensure filename/no filename text in connect by file dialog is aligned…
richard-cox Jul 28, 2020
381e609
Fix workload resource 404s/workload service age field (#426)
richard-cox Jul 28, 2020
a6c3836
Merge remote-tracking branch 'upstream/master' into merge-upstream
richard-cox Jul 28, 2020
8221cf0
Merge pull request #428 from SUSE/merge-upstream
richard-cox Jul 28, 2020
5450741
Set memory limits for stratos-chartstore fdbdoclayer container
richard-cox Jul 30, 2020
36795c2
Merge pull request #432 from SUSE/chartstore-limits
richard-cox Jul 31, 2020
b3c3339
Update change log
richard-cox Jul 31, 2020
f2e1d4d
Merge pull request #433 from SUSE/chartstore-limits
richard-cox Jul 31, 2020
d2fb52d
Add typed entity access and `custom-src` removal to change log (#435)
richard-cox Aug 7, 2020
8ad354a
Fix helm 3 lint issue (#440)
nwmac Aug 13, 2020
2962f50
Fix Docker All in One (#439)
nwmac Aug 13, 2020
afa2663
Merge upstream (#444)
richard-cox Aug 18, 2020
3502fb5
Update kube pod container component following ux review (#441)
richard-cox Aug 25, 2020
d2d2223
Helm: Fix upgrade bug (#457)
nwmac Aug 26, 2020
0254f0a
Update login screen to latest design (#449)
nwmac Aug 27, 2020
008570b
Show caasp node versions and indicate if nodes have updates available…
nwmac Aug 27, 2020
4843986
Don't do expensive helm repo update when starting terminal (#453)
nwmac Aug 27, 2020
8fa12b0
Improve presentation and fix issue with development versions (#456)
nwmac Aug 27, 2020
d479e80
Fix: Kubernetes unit tests aren't being run (#459)
nwmac Aug 27, 2020
758f920
Fix issue where kube dependency vbom.ml/util is no longer available (…
richard-cox Sep 1, 2020
1e7f1ae
Add a 'live reload' button to workload views (#443)
richard-cox Sep 2, 2020
463a6fc
Update Kube Resource Icons (#461)
richard-cox Sep 2, 2020
49e741c
Indicate if the Helm chart has a schema (#464)
nwmac Sep 8, 2020
aa675d3
Enable linting for suse-extensions package (#465)
richard-cox Sep 8, 2020
3d4829d
Filter endpoints by type (#434)
richard-cox Sep 10, 2020
c44204a
Add support for Helm Upgrade and history (#458)
nwmac Sep 10, 2020
7991978
Helm: Allow users to view and use repositories from Helm Hub (#463)
richard-cox Sep 11, 2020
82c9998
Fix valid state of helm install & fixes missing from helm hub pr (#472)
richard-cox Sep 11, 2020
b0e3798
Workloads List: Show chart version instead of release version (#474)
richard-cox Sep 11, 2020
2c3ccbd
Login Screen: Hide the form during initial verify (#476)
richard-cox Sep 14, 2020
2122aae
Fix SSO Error message & helm chart list on helm hub register/unregist…
richard-cox Sep 14, 2020
e568f98
Simpler Helm Chart store (#467)
nwmac Sep 14, 2020
491190d
Helm: Improve experience for editing chart values (#469)
nwmac Sep 15, 2020
a9353fa
Merge upstream (#468)
richard-cox Sep 15, 2020
5bfd091
Fix db lock issue (#479)
nwmac Sep 15, 2020
ae76bbe
Merge upstream, also add 4.1.0 version & change log (#480)
richard-cox Sep 15, 2020
9bd3403
Helm Values Editor: Bug fixes (#482)
nwmac Sep 16, 2020
bc9cd1a
Update CI pipelines (#483)
nwmac Sep 16, 2020
73ec30e
Update package-lock (#485)
richard-cox Sep 16, 2020
99ff9e9
Ensure wide helm chart logos are not cropped in chart list (#486)
richard-cox Sep 16, 2020
3279924
Truncate fields to fit db width (#487)
nwmac Sep 17, 2020
9a07272
Ensure service name is correct in helm chart NOTES.txt (#489)
richard-cox Sep 17, 2020
4967c8d
Ensure the api key secret db field is long enough (#488)
richard-cox Sep 17, 2020
c049909
Fix created date issue on helm chart re-sync (#491)
nwmac Sep 17, 2020
29ee2f9
Add chart link in charts table, refresh endpoints status on sync (#490)
richard-cox Sep 17, 2020
def5429
Update mysel helper script (#492)
nwmac Sep 18, 2020
a95b49b
Fix issue where charts list errors if only helm hub registered (#493)
richard-cox Sep 21, 2020
8173e37
Fix issue where invalid yaml throws an error (#500)
nwmac Sep 22, 2020
ec8bb95
Fix duplicated repo name ids (#495)
richard-cox Sep 22, 2020
ac2e8b7
Fix issue where kube terminal adds helm hub as a repository (#501)
nwmac Sep 22, 2020
4d36e00
Fix issue with Schemas on Helm Hub (#503)
nwmac Sep 22, 2020
9742e5d
Merge upstream (#504)
richard-cox Sep 22, 2020
ad9149f
Kube Terminal: Appears to hang if it takes a while to start up (#506)
nwmac Sep 22, 2020
d62a3c5
Release pipeline tag fix (#507)
nwmac Sep 23, 2020
4e92362
Fix caasp labels (#510)
nwmac Sep 24, 2020
0705979
Only use diff values from form (#511)
nwmac Sep 24, 2020
cf6f655
Move suse specific login theme out of default login theme (#508)
richard-cox Sep 28, 2020
4cbbc07
Split out Kube code (with Helm & Workloads) into it's own package (#475)
richard-cox Oct 2, 2020
10d58ec
Don't run doc actions on forks (#520)
nwmac Oct 2, 2020
bac6d1c
Fix: Workload shows upgrade when chart has been removed (#515)
nwmac Oct 5, 2020
8004c21
Fix: YAML editor does not load when installing Stratos Helm Chart (#517)
nwmac Oct 5, 2020
f511c5f
First round of improvements to Helm Chart schema (#518)
nwmac Oct 5, 2020
a9d8639
Helm chat and CI changes for upstreaming (#519)
nwmac Oct 5, 2020
41737ca
Fix upgrade not showing when an RC is deployed (#513)
nwmac Oct 5, 2020
92521b9
Merge remote-tracking branch 'downstream/master' into merge-downstream
richard-cox Oct 5, 2020
3ac276a
Fix connect to endpoint error handling
richard-cox Oct 5, 2020
8696715
Fix kube connect
richard-cox Oct 5, 2020
52f98a5
Fix snyk and npm security warnings
richard-cox Oct 5, 2020
9542cd2
Fix issue where analysis db update failed to run
richard-cox Oct 5, 2020
2c15dc3
Fix border of ssh terminal in dark mode
richard-cox Oct 5, 2020
1543894
Add custom echo binder
ikapelyukhin Oct 6, 2020
f81f215
Changes following review
richard-cox Oct 6, 2020
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .cfignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ docs/
build/dev_config.json
e2e-reports/
website/
.helm-cache/
1 change: 1 addition & 0 deletions .github/workflows/documentation-versioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

jobs:
update-docs-internal-versions:
if: github.repository == 'cloudfoundry/stratos'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build-docs:
if: github.event_name != 'push'
if: github.event_name != 'push' && github.repository == 'cloudfoundry/stratos'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -27,7 +27,7 @@ jobs:
fi
npm run build
publish-docs:
if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request' && github.repository == 'cloudfoundry/stratos'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand Down Expand Up @@ -63,4 +63,4 @@ jobs:
npm i
fi
echo "Deploying web site... hang tight"
./deploy.sh
./deploy.sh
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ src/jetstream/jetstream
src/jetstream/console-database.db
src/jetstream/config.properties
src/jetstream/db/dbconf.yml
src/jetstream/plugins/monocular/chart-repo/chartrepo
src/jetstream/plugins/analysis/container/analyzers
src/jetstream/.helm-cache

# Automatically generated OpenAPI docs
src/jetstream/docs/
Expand Down Expand Up @@ -135,4 +138,4 @@ website/versioned_sidebars
website/versions.json
website/versions-repo

/scan_tmp
/scan_tmp
41 changes: 40 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,17 @@
"input": "custom-src/frontend/assets/custom",
"output": "/core/assets/custom"
},
"src/frontend/packages/core/favicon.ico"
"src/frontend/packages/core/favicon.ico",
{
"glob": "**/*",
"input": "node_modules/ngx-monaco-editor/assets/monaco",
"output": "/core/assets/monaco"
},
{
"glob": "**/*",
"input": "node_modules/@cfstratos/monaco-yaml/lib",
"output": "/core/assets/monaco/vs/language/yaml"
}
],
"styles": [
"src/frontend/packages/core/src/styles.scss",
Expand Down Expand Up @@ -338,7 +348,36 @@
}
}
}
},
"kubernetes": {
"root": "src/frontend/packages/kubernetes",
"sourceRoot": "src/frontend/packages/kubernetes/src",
"projectType": "library",
"prefix": "lib",
"architect": {
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/frontend/packages/kubernetes/src/test.ts",
"tsConfig": "src/frontend/packages/kubernetes/tsconfig.spec.json",
"karmaConfig": "src/frontend/packages/kubernetes/karma.conf.js"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.json"
],
"tslintConfig": "src/frontend/packages/kubernetes/tslint.json",
"files": [
"src/frontend/packages/kubernetes/src/**/*.ts"
]
}
}
}
}

},
"defaultProject": "stratos",
"schematics": {
Expand Down
61 changes: 61 additions & 0 deletions build/tools/kube-terminal-dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
#!/usr/bin/env bash

# Colours
CYAN="\033[96m"
YELLOW="\033[93m"
RED="\033[91m"
RESET="\033[0m"
BOLD="\033[1m"

# Program Paths:
PROG=$(basename ${BASH_SOURCE[0]})
PROG_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
STRATOS_DIR="$( cd "${PROG_DIR}/../.." && pwd )"

echo "Creating Service Account"
SRC="${STRATOS_DIR}/deploy/kubernetes/console/templates/service-account.yaml"

TEMPFILE=$(mktemp)
cp $SRC $TEMPFILE
sed -i.bak '/\s*helm/d' $TEMPFILE
sed -i.bak '/\s*app\.kubernetes\.io\/version/d' $TEMPFILE
sed -i.bak '/\s*app\.kubernetes\.io\/instance/d' $TEMPFILE
sed -i.bak '/\s*{{-/d' $TEMPFILE

# Create a namespace
NS="stratos-dev"
kubectl get ns $NS > /dev/null 2>&1
if [ $? -ne 0 ]; then
kubectl create ns $NS
fi

kubectl apply -n $NS -f $TEMPFILE
USER=stratos-dev-admin-user
USER=stratos

# Service account should be created - now need to get token
SECRET=$(kubectl get -n $NS sa $USER -o json | jq -r '.secrets[0].name')
TOKEN=$(kubectl get -n $NS secret $SECRET -o json | jq -r '.data.token')
echo "Token secret: $SECRET"
TOKEN=$(echo $TOKEN | base64 -d -)
echo "Token $TOKEN"

rm -f $TEMPFILE
rm -f $TEMPFILE.bak

CFG=${STRATOS_DIR}/src/jetstream/config.properties
touch $CFG

echo -e "\n# Kubernetes Terminal Config for dev" >> $CFG
echo "STRATOS_KUBERNETES_NAMESPACE=stratos-dev" >> $CFG
echo "STRATOS_KUBERNETES_TERMINAL_IMAGE=splatform/stratos-kube-terminal:dev" >> $CFG
echo "KUBE_TERMINAL_SERVICE_ACCOUNT_TOKEN=$TOKEN" >> $CFG

MKUBE=$(minikube ip)
if [ $? -eq 0 ]; then
echo "KUBERNETES_SERVICE_HOST=$MKUBE" >> $CFG
echo "KUBERNETES_SERVICE_PORT=8443" >> $CFG
else
echo "KUBERNETES_SERVICE_HOST=" >> $CFG
echo "KUBERNETES_SERVICE_PORT=8443" >> $CFG
fi
40 changes: 5 additions & 35 deletions build/tools/mysqldb-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,39 +8,9 @@ echo $STRATOS_PATH
docker stop stratos-db
docker rm stratos-db

ID=$(docker run --name stratos-db -d -e MYSQL_ROOT_PASSWORD=dbroot -p 3306:3306 splatform/stratos-mariadb)
echo $ID
IMAGE=mariadb:10.2.33

rm -f dbsetup.sql init.sh
cat <<EOF > dbsetup.sql
CREATE DATABASE stratosdb;
CREATE USER stratos IDENTIFIED BY 'strat0s';
GRANT ALL PRIVILEGES ON stratosdb.* to 'stratos'@'%';
EOF

cat <<EOF > init.sh
#!/usr/bin/env bash
mysql -uroot -pdbroot < /dbsetup.sql
EOF

chmod +x init.sh
docker cp ./dbsetup.sql ${ID}:/dbsetup.sql
docker cp ./init.sh ${ID}:/init.sh
rm dbsetup.sql init.sh

#Fetch dockerize tool
wget https://github.com/jwilder/dockerize/releases/download/v0.6.1/dockerize-linux-amd64-v0.6.1.tar.gz
tar -xzvf dockerize-linux-amd64-v0.6.1.tar.gz
rm dockerize-linux-amd64-v0.6.1.tar.gz

chmod +x ./dockerize
docker cp ./dockerize ${ID}:/dockerize
rm dockerize

#We us wait for the internal socket to come up before running init script
echo "Just waiting a few seconds for the DB to come online ..."
docker exec -t ${ID} /dockerize -wait file:///var/run/mysql/mysql.sock -timeout 1m

docker exec -t ${ID} /init.sh

echo "Database ready"
# The container can set up users and a new database via env vars
ID=$(docker run --name stratos-db -d -e MYSQL_DATABASE=stratosdb -e MYSQL_ROOT_PASSWORD=dbroot -e MYSQL_PASSWORD=strat0s -p 3306:3306 ${IMAGE})
echo "Launched container: $ID"
echo "Database started ... it may take a few seconds to complete initialization ..."
2 changes: 1 addition & 1 deletion deploy/all-in-one/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,4 @@ echo " Registry : ${DOCKER_REGISTRY}"
echo " Org : ${DOCKER_ORG}"
echo " Tag : ${TAG}"
printf "${RESET}"
echo ""
echo ""
3 changes: 2 additions & 1 deletion deploy/all-in-one/config.all-in-one.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ ENCRYPTION_KEY=B374A26A71490437AA024E4FADD5B497FDFF1A8EA6FF12F6FB65AF2720B59CCF
STRATOS_DEPLOYMENT_DOCKER_AIO=true
SKIP_SSL_VALIDATION=true
SQLITE_KEEP_DB=true
TEMPLATE_DIR=./templates
TEMPLATE_DIR=./templates
HELM_CACHE_FOLDER=./helm-cache
48 changes: 40 additions & 8 deletions deploy/ci/console-dev-releases.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This pipeline creates an Alpha, Beta or RC release
---
resource_types:
- name: docker-image
Expand Down Expand Up @@ -46,7 +47,19 @@ resources:
username: ((docker-username))
password: ((docker-password))
repository: ((docker-repository))/stratos-console

- name: kube-terminal-image
type: docker-image
source:
username: ((docker-username))
password: ((docker-password))
repository: ((docker-repository))/stratos-kube-terminal
- name: analyzers-image
type: docker-image
source:
username: ((docker-username))
password: ((docker-password))
repository: ((docker-repository))/stratos-analyzers

# Artifacts
- name: image-tag
type: s3
Expand Down Expand Up @@ -101,6 +114,7 @@ jobs:
GIT_USER: ((concourse-user))
GIT_EMAIL: ((concourse-email))
GIT_PRIVATE_KEY: ((github-private-key))
TAG_SUFFIX: ((tag-suffix))
- name: build-images
plan:
- get: stratos
Expand Down Expand Up @@ -128,23 +142,39 @@ jobs:
tag: image-tag/v2-alpha-tag
patch_base_reg: ((patch-base-reg))
patch_base_tag: ((patch-base-tag))
- do:
- do:
- put: ui-image
params:
dockerfile: stratos/deploy/Dockerfile.ui
build: stratos/
target_name: prod-build
tag: image-tag/v2-alpha-tag
build_args_file: image-tag/ui-build-args
patch_base_reg: ((patch-base-reg))
patch_base_tag: ((patch-base-tag))
- put: config-init-image
params:
dockerfile: stratos/deploy/Dockerfile.init
build: stratos/
tag: image-tag/v2-alpha-tag
patch_base_reg: ((patch-base-reg))
patch_base_tag: ((patch-base-tag))
- put: ui-image
- do:
- put: analyzers-image
params:
dockerfile: stratos/deploy/Dockerfile.ui
build: stratos/
target_name: prod-build
dockerfile: stratos/src/jetstream/plugins/analysis/container/Dockerfile
build: stratos/src/jetstream/plugins/analysis/container/
tag: image-tag/v2-alpha-tag
build_args_file: image-tag/ui-build-args
patch_base_reg: ((patch-base-reg))
patch_base_tag: ((patch-base-tag))
- put: kube-terminal-image
params:
dockerfile: stratos/deploy/containers/kube-terminal/Dockerfile.kubeterminal
build: stratos/deploy/containers/kube-terminal
tag: image-tag/v2-alpha-tag
patch_base_reg: ((patch-base-reg))
patch_base_tag: ((patch-base-tag))

- name: create-chart
plan:
- get: stratos
Expand All @@ -170,6 +200,7 @@ jobs:
DOCKER_REGISTRY: ((docker-registry))
HELM_REPO_PATH: ((helm-repo-path))
HELM_REPO_BRANCH: ((helm-repo-branch))
TAG_SUFFIX: ((tag-suffix))
- put: helm-chart-tarball
params:
file: helm-chart/*.tgz
Expand All @@ -196,4 +227,5 @@ jobs:
GITHUB_REPO: ((helm-repo-github-repository))
GIT_USER: ((concourse-user))
GIT_EMAIL: ((concourse-email))
GIT_PRIVATE_KEY: ((github-private-key))
GIT_PRIVATE_KEY: ((github-private-key))
TAG_SUFFIX: ((tag-suffix))
1 change: 0 additions & 1 deletion deploy/ci/console-helm-chart-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
GITHUB_REPO: ((helm-repo-github-repository))
GITHUB_TOKEN: ((github-access-token))
GIT_PRIVATE_KEY: ((github-private-key))
GITHUB_TOKEN: ((github-access-token))
DOCKER_ORG: ((docker-organization))
DOCKER_REGISTRY: ((docker-registry))
HELM_REPO_PATH: ((helm-repo-path))
Expand Down
1 change: 1 addition & 0 deletions deploy/ci/console-make-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,4 @@ jobs:
HELM_RELEASE_REPO_FOLDER: ((release-helm-stable-folder))
HELM_RELEASE_REGISTRY_HOST: ((release-repository))
HELM_RELEASE_REGISTRY_ORG: ((release-repository-organization))
TAG_SUFFIX: ((tag-suffix))
4 changes: 3 additions & 1 deletion deploy/cloud-foundry/config.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ ENCRYPTION_KEY=B374A26A71490437AA024E4FADD5B497FDFF1A8EA6FF12F6FB65AF2720B59CCF
#VCAP_APPLICATION={"cf_api": "https://api.10.4.21.240.nip.io:8443"}

# User invite templates
TEMPLATE_DIR=./templates
TEMPLATE_DIR=./templates

HELM_CACHE_FOLDER=./helm-cache
Loading