diff --git a/.github/workflows/closed_pr.yaml b/.github/workflows/closed_pr.yaml index 2318bad4c..57d73037b 100644 --- a/.github/workflows/closed_pr.yaml +++ b/.github/workflows/closed_pr.yaml @@ -7,6 +7,6 @@ on: jobs: push: - uses: stakater/.github/.github/workflows/pull_request_closed.yaml@v0.0.97 + uses: stakater/.github/.github/workflows/pull_request_closed.yaml@v0.0.108 secrets: GH_TOKEN: ${{ secrets.PUBLISH_TOKEN }} diff --git a/.github/workflows/delete_branch.yaml b/.github/workflows/delete_branch.yaml index 3228b64b2..d5653b6c1 100644 --- a/.github/workflows/delete_branch.yaml +++ b/.github/workflows/delete_branch.yaml @@ -4,6 +4,8 @@ on: delete jobs: delete: - uses: stakater/.github/.github/workflows/branch_deleted.yaml@v0.0.97 + uses: stakater/.github/.github/workflows/branch_deleted.yaml@v0.0.108 + with: + LATEST_DOC_VERSION: "1.0" secrets: GH_TOKEN: ${{ secrets.PUBLISH_TOKEN }} diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index bb9296968..f628921bf 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -8,14 +8,14 @@ on: jobs: doc_qa: - uses: stakater/.github/.github/workflows/pull_request_doc_qa.yaml@v0.0.97 + uses: stakater/.github/.github/workflows/pull_request_doc_qa.yaml@v0.0.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/pull_request_container_build.yaml@v0.0.97 + uses: stakater/.github/.github/workflows/pull_request_container_build.yaml@v0.0.108 with: DOCKER_BUILD_CONTEXTS: content=https://github.com/stakater/mto-docs.git#pull-request-deployments DOCKER_FILE_PATH: Dockerfile @@ -27,6 +27,6 @@ jobs: DOCKER_SECRETS: GIT_AUTH_TOKEN=${{ secrets.PUBLISH_TOKEN }} deploy_doc: - uses: stakater/.github/.github/workflows/pull_request_versioned_doc.yaml@v0.0.97 + uses: stakater/.github/.github/workflows/pull_request_versioned_doc.yaml@v0.0.108 secrets: GH_TOKEN: ${{ secrets.PUBLISH_TOKEN }} diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index cc4ebe672..b3786313e 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -8,6 +8,8 @@ on: jobs: push: - uses: stakater/.github/.github/workflows/push_versioned_doc.yaml@v0.0.97 + uses: stakater/.github/.github/workflows/push_versioned_doc.yaml@v0.0.108 + with: + LATEST_DOC_VERSION: "1.0" secrets: GH_TOKEN: ${{ secrets.PUBLISH_TOKEN }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5755389cb..df0ccc905 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,11 +7,11 @@ on: jobs: create_release: - uses: stakater/.github/.github/workflows/release_template.yaml@v0.0.97 + uses: stakater/.github/.github/workflows/release_template.yaml@v0.0.108 secrets: SLACK_WEBHOOK_URL: ${{ secrets.STAKATER_DELIVERY_SLACK_WEBHOOK }} build_container: - uses: stakater/.github/.github/workflows/push_container_only.yaml@v0.0.97 + uses: stakater/.github/.github/workflows/push_container_only.yaml@v0.0.108 with: DOCKER_BUILD_CONTEXTS: content=https://github.com/stakater/mto-docs.git#gh-pages DOCKER_FILE_PATH: Dockerfile diff --git a/.markdownlint.yaml b/.markdownlint.yaml index 77dfb501b..292e7adb2 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -1,6 +1,6 @@ -{ - "MD007": { "indent": 4 }, - "MD013": false, - "MD024": false, - "MD029": { "style": one }, -} +MD007: + indent: 4 +MD013: false +MD024: false +MD029: + style: one diff --git a/DockerfileLocal b/DockerfileLocal index b58d905f2..257afd521 100644 --- a/DockerfileLocal +++ b/DockerfileLocal @@ -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' && \ diff --git a/content/changelog.md b/content/changelog.md index 3878825e8..394d9ed75 100644 --- a/content/changelog.md +++ b/content/changelog.md @@ -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 diff --git a/content/installation/managed-kubernetes/azure-aks.md b/content/installation/managed-kubernetes/azure-aks.md index 46a1d9612..77d16594b 100644 --- a/content/installation/managed-kubernetes/azure-aks.md +++ b/content/installation/managed-kubernetes/azure-aks.md @@ -116,7 +116,7 @@ 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 user@company.com. +Set User Principal Name (UPN) and password for your users. The UPN must include the verified domain name of your tenant, for example `user@company.com`. Following command reads the UPN for the appdev group and stores it in the AAD_DEV_UPN variable: @@ -124,7 +124,7 @@ Following command reads the UPN for the appdev group and stores it in the AAD_DE 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 aksdev@company.com. +For this scope of this blog, we will assume that the entered UPN was `aksdev@company.com`. Following command reads the password for your user and stores it in the AAD_DEV_PW variable: @@ -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 opssre@company.com. +For this scope of this blog, we will assume that the entered UPN was `opssre@company.com`. The following command reads the password for your user and stores it in the AAD_SRE_PW variable: diff --git a/prepare_theme.sh b/prepare_theme.sh index 67cf92e0f..29b3eddd1 100755 --- a/prepare_theme.sh +++ b/prepare_theme.sh @@ -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 diff --git a/prepare_theme_pr.sh b/prepare_theme_pr.sh new file mode 100755 index 000000000..98ea733e8 --- /dev/null +++ b/prepare_theme_pr.sh @@ -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 diff --git a/theme_common b/theme_common index 0eef29f4c..55af314d8 160000 --- a/theme_common +++ b/theme_common @@ -1 +1 @@ -Subproject commit 0eef29f4cbd2491bbad359c7981501e80e26e78a +Subproject commit 55af314d81692aece306ad4f06290124bef55ee0