Skip to content

Commit

Permalink
1.0 changelog updates and workflow updates (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-johan-grahn authored Nov 22, 2024
1 parent 00392bd commit bc1bd94
Show file tree
Hide file tree
Showing 12 changed files with 56 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/closed_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ on:

jobs:
push:
uses: stakater/.github/.github/workflows/[email protected].97
uses: stakater/.github/.github/workflows/[email protected].108
secrets:
GH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
4 changes: 3 additions & 1 deletion .github/workflows/delete_branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on: delete

jobs:
delete:
uses: stakater/.github/.github/workflows/[email protected]
uses: stakater/.github/.github/workflows/[email protected]
with:
LATEST_DOC_VERSION: "1.0"
secrets:
GH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ on:

jobs:
doc_qa:
uses: stakater/.github/.github/workflows/[email protected].97
uses: stakater/.github/.github/workflows/[email protected].108
with:
MD_CONFIG: .github/md_config.json
DOC_SRC: content
MD_LINT_CONFIG: .markdownlint.yaml
build_container:
if: ${{ github.base_ref == 'main' }}
uses: stakater/.github/.github/workflows/[email protected].97
uses: stakater/.github/.github/workflows/[email protected].108
with:
DOCKER_BUILD_CONTEXTS: content=https://github.com/stakater/mto-docs.git#pull-request-deployments
DOCKER_FILE_PATH: Dockerfile
Expand All @@ -27,6 +27,6 @@ jobs:
DOCKER_SECRETS: GIT_AUTH_TOKEN=${{ secrets.PUBLISH_TOKEN }}

deploy_doc:
uses: stakater/.github/.github/workflows/[email protected].97
uses: stakater/.github/.github/workflows/[email protected].108
secrets:
GH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
4 changes: 3 additions & 1 deletion .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:

jobs:
push:
uses: stakater/.github/.github/workflows/[email protected]
uses: stakater/.github/.github/workflows/[email protected]
with:
LATEST_DOC_VERSION: "1.0"
secrets:
GH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:

jobs:
create_release:
uses: stakater/.github/.github/workflows/[email protected].97
uses: stakater/.github/.github/workflows/[email protected].108
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.STAKATER_DELIVERY_SLACK_WEBHOOK }}
build_container:
uses: stakater/.github/.github/workflows/[email protected].97
uses: stakater/.github/.github/workflows/[email protected].108
with:
DOCKER_BUILD_CONTEXTS: content=https://github.com/stakater/mto-docs.git#gh-pages
DOCKER_FILE_PATH: Dockerfile
Expand Down
12 changes: 6 additions & 6 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"MD007": { "indent": 4 },
"MD013": false,
"MD024": false,
"MD029": { "style": one },
}
MD007:
indent: 4
MD013: false
MD024: false
MD029:
style: one
2 changes: 1 addition & 1 deletion DockerfileLocal
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN pip install -r theme_common/requirements.txt
# RUN pip install -r requirements.txt

# pre-mkbuild step, we are infusing common and local theme changes
RUN python theme_common/scripts/combine_theme_resources.py theme_common/resources theme_override/resources dist/_theme
RUN python theme_common/scripts/combine_theme_resources.py -s theme_common/resources -ov theme_override/resources -o dist/_theme
RUN python theme_common/scripts/combine_mkdocs_config_yaml.py theme_common/mkdocs.yml theme_override/mkdocs.yml mkdocs.yml

RUN rm -f 'prepare_theme.sh' && \
Expand Down
26 changes: 26 additions & 0 deletions content/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Changelog

## v1.0.x

### v1.0.0

#### Features

- Added [capacity planning](./explanation/console.md#capacity-planning) feature on MTO Console to view resource usage of tenants based in their request and limits
- Added [hibernation](./explanation/console.md#hibernation) feature on MTO Console to view and manage hibernated namespaces and hibernate/unhibernate namespaces

#### Enhancements

- Increased the retention period of Prometheus to seven days
- Changed client for quota template IC pod to enable debugging
- Removed finalizers from namespaces: Having finalizers on namespaces have caused problems in the past especially when MTO previously ran on the cluster but is removed afterward, making namespaces stuck in deletion due to the presence of finalizers added by MTO
- Optimize cache for IC controller: Updated IC controller to not cache full CM objects but only their metadata, optimizing the size of the actual cache being created
- Added basic implementation for privileged users
- Removed limits from resources deployed via Pilot Controller
- Added user info support for database operations
- Updated image versions for Keycloak, MTO Console, and MTO Gateway
- Added job to create user for `Casbin` and embed configurations

#### Fixes

- Updated configmap predicate to not compare data
- Restructure and fix `Casbin` rule creation: `Casbin` rules for privileged user and groups were missing that caused issue while accessing MTO Console

## v0.12.x

### v0.12.19
Expand Down
6 changes: 3 additions & 3 deletions content/installation/managed-kubernetes/azure-aks.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,15 @@ az role assignment create --assignee $OPSSRE_ID --role "Azure Kubernetes Service

### Create test users in `Entra ID`

Set User Principal Name (UPN) and password for your users. The UPN must include the verified domain name of your tenant, for example [email protected].
Set User Principal Name (UPN) and password for your users. The UPN must include the verified domain name of your tenant, for example `[email protected]`.

Following command reads the UPN for the appdev group and stores it in the AAD_DEV_UPN variable:

```terminal
echo "Please enter the UPN for application developers: " && read AAD_DEV_UPN
```

For this scope of this blog, we will assume that the entered UPN was [email protected].
For this scope of this blog, we will assume that the entered UPN was `[email protected]`.

Following command reads the password for your user and stores it in the AAD_DEV_PW variable:

Expand Down Expand Up @@ -152,7 +152,7 @@ The following command reads the UPN for your user and stores it in the AAD_SRE_U
echo "Please enter the UPN for SREs: " && read AAD_SRE_UPN
```

For this scope of this blog, we will assume that the entered UPN was [email protected].
For this scope of this blog, we will assume that the entered UPN was `[email protected]`.

The following command reads the password for your user and stores it in the AAD_SRE_PW variable:

Expand Down
2 changes: 1 addition & 1 deletion prepare_theme.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pip install -r theme_common/requirements.txt
python theme_common/scripts/combine_theme_resources.py theme_common/resources theme_override/resources dist/_theme
python theme_common/scripts/combine_theme_resources.py -s theme_common/resources -ov theme_override/resources -o dist/_theme
python theme_common/scripts/combine_mkdocs_config_yaml.py theme_common/mkdocs.yml theme_override/mkdocs.yml mkdocs.yml
6 changes: 6 additions & 0 deletions prepare_theme_pr.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This script is meant to be used for pull request builds
pip install -r theme_common/requirements.txt
python theme_common/scripts/combine_theme_resources.py -s theme_common/resources -ov theme_override/resources -o dist/_theme
# The next step is used to override resources for pull request builds - these overrides could as well have been put in the local theme_override folder, but this is a generic solution
python theme_common/scripts/combine_theme_resources.py -s theme_common/resources_pr_specific -ov theme_override/resources -o dist/_theme -skiprmtree
python theme_common/scripts/combine_mkdocs_config_yaml.py theme_common/mkdocs.yml theme_override/mkdocs.yml mkdocs.yml

0 comments on commit bc1bd94

Please sign in to comment.