Skip to content
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

Merge upstream #468

Merged
merged 47 commits into from
Sep 15, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
cd44987
Ensure filename/no filename text in connect by file dialog is aligned…
richard-cox Jul 28, 2020
f627688
Add typed entity access and `custom-src` removal to change log (#4496)
richard-cox Aug 7, 2020
d7102e7
Fixes #4335: Create Stratos static web site with better documentation…
Aug 7, 2020
50617f7
Fix and update customization docs (#4478)
richard-cox Aug 7, 2020
b713c78
Update base README, point to website (#4488)
richard-cox Aug 7, 2020
e12f60f
Update developer docs (#4489)
richard-cox Aug 7, 2020
4209358
Fix docs (#4497)
richard-cox Aug 7, 2020
dc2d6d6
Ensure images dependent on techPreview flag are included in imagelist…
richard-cox Aug 18, 2020
4df1516
Improve clean-symlinks script (#4509)
nwmac Aug 18, 2020
3a8cd74
Change nginx ciphers and make configurable via helm chart values (#4507)
nwmac Aug 18, 2020
200726c
Update version to 4.0.1, add change log (#4514)
richard-cox Aug 18, 2020
0285873
Fix deploy from gitlab using a group's repo (#4479)
richard-cox Aug 20, 2020
ad64761
Add additional time ranges to base metrics range selector (#4480)
richard-cox Aug 20, 2020
d27a12d
Add some time saving comments to cf permissions checker (#4508)
richard-cox Aug 20, 2020
8da357a
Move tab-nav and xsrf module source files to the src folder (#4518)
nwmac Aug 21, 2020
286d508
Fix GitHub branch limit (#4510)
richard-cox Aug 21, 2020
9a70ea6
Remove use of nodejs util module (#4521)
nwmac Aug 21, 2020
77d5a20
Remove dependencies between store and core that have crept in (#4517)
nwmac Aug 21, 2020
027f9c3
Fix store testing package (#4520)
nwmac Aug 21, 2020
5214f9f
Fix the position of the header guide array (#4524)
richard-cox Aug 24, 2020
009c203
Metrics: Ensure trailing slashes are ignored when comparing URLs (#4527)
nwmac Aug 24, 2020
da6285c
Remove imports of the form 'frontend/....' (#4519)
nwmac Aug 24, 2020
307fc20
Move endpopints-health-check.ts (#4530)
nwmac Aug 24, 2020
0aefbb1
Add UMD Ids to external modules in store package (#4522)
nwmac Aug 24, 2020
55f2244
Improvements & more checks to autoscaler scheduled date tests (#4535)
richard-cox Aug 25, 2020
a0b338a
Remove api driven views (#4537)
nwmac Aug 25, 2020
0ea6632
Remove logger service and action history (#4538)
nwmac Aug 25, 2020
5eb7f0e
Add support for API keys (#4515)
ikapelyukhin Aug 25, 2020
68d5df7
Update moment imports to remove warning when building library (#4534)
nwmac Aug 25, 2020
d845669
Fix Helm upgrade bug (#4544)
nwmac Aug 26, 2020
f6f2d9f
Store api_keys.last_used in UTC (#4541)
ikapelyukhin Sep 1, 2020
b560761
Add UI for Stratos API Keys (#4523)
richard-cox Sep 2, 2020
545669a
Add basic e2e tests for API Keys (#4536)
richard-cox Sep 2, 2020
3726821
Bump docusaurus version and add support for versioning (#4506)
richard-cox Sep 3, 2020
b63e39a
API Keys: Make feature configurable for different user types (#4540)
ikapelyukhin Sep 4, 2020
c767913
Add docs for UAA SSO user permissions management (#4554)
richard-cox Sep 4, 2020
cfbfab8
Add basic developers guide for working with helm (#4511)
richard-cox Sep 4, 2020
6af9d88
Enable/disable API keys UI given API keys config setting (#4559)
richard-cox Sep 7, 2020
a987ee7
Enable linting for all packages (#4561)
richard-cox Sep 8, 2020
051338a
Bump angular json schema form (#4564)
nwmac Sep 10, 2020
ef00d18
Docs: Update internal versions & Automate future updates (#4558)
richard-cox Sep 10, 2020
ab83546
Merge remote-tracking branch 'upstream/master' into merge-upstream
richard-cox Sep 10, 2020
b8b019a
Merge fixes, remove fdescribe already in master
richard-cox Sep 10, 2020
058fb38
Fix linting
richard-cox Sep 10, 2020
864be50
Fix unit tests
richard-cox Sep 10, 2020
714774c
Merge remote-tracking branch 'origin/master' into merge-upstream
richard-cox Sep 11, 2020
307f05e
Merge remote-tracking branch 'origin/master' into merge-upstream
richard-cox Sep 15, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add basic developers guide for working with helm (cloudfoundry#4511)
* Bump docusaurus version and versioning
- Bump docusaurus to latest 2.0 version
- Fix errors thrown up by new linting process
- Add version support, setup 4.0.0
- Enable dark mode and fix in home screen

* Move status_updates back into root project docs folder

* Fix links
- fix dead links
- ensure all links are relative (so work when versioned)

* Add basic developers guide for working with helm

* Fix post merge issue
  • Loading branch information
richard-cox authored Sep 4, 2020
commit cfbfab8711430ae0443eaeb0133906acae823377
8 changes: 8 additions & 0 deletions website/docs/developer/deploy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: Deploy Dev Guide
sidebar_label: Overview
---

As described in the [Deploying Stratos](../overview.md) section there are a number of ways that Stratos can be deployed. From a development perspective some, like `cf push`, are simpler than others, like `helm install`.

We're looking at expanding our documentation for all cases, what is found here is the start of that process.
59 changes: 59 additions & 0 deletions website/docs/developer/developers-guide-helm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
title: Helm Development Guide
sidebar_label: Helm
---


:::info
This document is currently in progress and will be expanded in the future.
:::


## Building Images

The images references by the helm charts are built in two stages.

### Base Images

Changes to these happen infrequently, so not every dev cycle requires this step.

1. Ensure your docker hub credentials are set
1. `docker login`
1. Create and push images to docker hub
1. `cd deploy/stratos-base-images`
1. `./build-base-images.sh -o dockerhuborgname -p`
- `p` pushes the images to dockerhub. Replace `dockerhuborgname` with the docker hub org where test images should be pushed
1. Wait for script to complete, this may take a while

:::note
If you receive the error ``"--squash" is only supported on a Docker daemon with experimental features enabled`` during build enable
experimental feature by
1. Add `"experimental": true` to ~/.docker/config.json
1. Restart docker - `sudo systemctl restart docker`
1. `docker version` should show client with experimental feature enabled
:::

### All Other Images

Changes to these will occur more often and are built upon the base images created above. This step is executed with the command command used
to build the charts below.

## Building Charts

1. Ensure your docker hub credentials are set
1. `docker login`
1. Create the charts, and create and push images to docker hub
1. `cd deploy/kubernetes`
1. `./build.sh -t 4.0.1 -o dockerhuborgname -p`
-`p` pushes the images to dockerhub. Replace `dockerhuborgname` with the docker hub org where test images should be pushed. This should match where your base images are
-`t` will tag the images with a version
1. The new charts with updated image references will be created in `deploy/kubernetes/helm-charts`

### Testing built output

1. `cd deploy/kubernetes`
1. Install the usual way, with your namespace and values (if required). For example
```
helm install console helm-chart --namespace=console --values stratos-values.yaml
```

6 changes: 6 additions & 0 deletions website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ module.exports = {
'developer/backend',
]
},
{
Deploy: [
'developer/deploy',
'developer/developers-guide-helm'
]
},
'developer/developers-guide-e2e-tests',
'developer/developers-guide-env-tech',
],
Expand Down