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

Update token setting page #906

Merged
merged 2 commits into from
Nov 3, 2023
Merged

Conversation

JonCrowther
Copy link
Contributor

@JonCrowther JonCrowther commented Oct 6, 2023

Description

There are two changes to the token settings:

  1. Update token setting defaults to have non-zero TTLs rancher#41919
    • Changes the default values of auth-token-max-ttl-minutes and kubeconfig-default-token-ttl-minutes
    • They are no longer set to 0, which means they expire now. Removed kubeconfig tokens from the list of tokens with default ttl=0
    • Updated 2 sections to reference the new default of kubeconfig-default-token-ttl-minutes
  2. Remove Deprecated setting kubeconfig-token-ttl-minutes rancher#38535
    • Removed the setting kubeconfig-token-ttl-minutes
    • Removed references to it in the docs
    • Where necessary replaced references to it with kubeconfig-default-token-TTL-minutes because that's the new value used

EDIT: Fixes #916 in docs repo

Comments

The deprecated setting followed the deprecation procedure of 2 full minors warning.

@JonCrowther JonCrowther self-assigned this Oct 6, 2023
@martyav martyav added the sync-versions Reminder to sync versioned pages label Oct 9, 2023
@martyav
Copy link
Contributor

martyav commented Oct 11, 2023

@JonCrowther This is for v2.8, right? Can you update the branch this points to accordingly?

@btat btat added this to the 2023-Q4-v2.8x milestone Oct 11, 2023
@JonCrowther JonCrowther changed the base branch from main to 2023-Q4-2.8x October 12, 2023 16:00
@btat btat changed the base branch from 2023-Q4-2.8x to main October 12, 2023 16:57
@btat
Copy link
Contributor

btat commented Oct 12, 2023

@JonCrowther there's been a very recent change to our branching/file structure strategy recently so the main branch you had originally is actually correct. However, we've introduced a versioned_docs/version-2.8 directory which is where this update should be placed. I've taken care of the rebase and applying your update to the right file. Sorry for the confusion.

@martyav martyav added next-release This PR is tied to the next Rancher release and should take higher priority and removed sync-versions Reminder to sync versioned pages labels Oct 18, 2023
@martyav martyav merged commit 4efd181 into rancher:main Nov 3, 2023
1 check passed
martyav added a commit that referenced this pull request Dec 8, 2023
* Clarify "Linux dependencies" for vSphere

* Add note regarding rancher pentest reports public availability (#961)

* Add note regarding rancher pentest reports public availability

This PR will add a note regarding third-party penetration test reports
public disclosure.

* Update docs/pages-for-subheaders/rancher-security.md

* versioning for 2.7, 2.8

* added back in webhook material at end of 2.8 page

* corrected broken link

---------

Co-authored-by: Pietro Dell'Amore <[email protected]>
Co-authored-by: Marty Hernandez Avedon <[email protected]>

* Add redirects for dashboard links

* Updates to the Global roles for new 2.8 features (#898)

* Updating docs to deprecate Restricted Admin

* Updating GlobalRole Docs

Updates the docs for GlobalRoles to include new info on the "escalate"
and "bind" verbs, as well as include info on how to use the new
"inheritedClusterRoles" field

* Apply suggestions from code review

* code review changes

* merged some minor copyedits

* Update docs/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/manage-role-based-access-control-rbac/global-permissions.md

* Update docs/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/manage-role-based-access-control-rbac/global-permissions.md

* fixed versioning for v2.8, v2.7

* Update docs/getting-started/installation-and-upgrade/installation-references/helm-chart-options.md

* copy/paste current version of global-permissions file in main to ensure file is correctly reverted to v2.7

---------

Co-authored-by: Marty Hernandez Avedon <[email protected]>

* #857 Add a API quickstart page under the (to be added) API section (#858)

* initial engineering draft of api quickstart

* spacing, headings

* copyedit

* note syntax added for last warning

* link to create api keys page, copy edits

* formating

* Apply suggestions from code review

Co-authored-by: Billy Tat <[email protected]>

* indentation, intro

* Update docs/api/quickstart.md

Co-authored-by: Billy Tat <[email protected]>

* Apply suggestions from code review

Co-authored-by: Michael Bolot <[email protected]>

* Update docs/api/quickstart.md

* removed commented-out line

* moved text from step 5 to step 3, made  into its own step, added info about not all resources offering detailed output

* added sidebar entry

* mv'd to version-2.8 dir

* rm'd remainders in /docs dir

---------

Co-authored-by: Billy Tat <[email protected]>
Co-authored-by: Michael Bolot <[email protected]>

* Fix version-2.8 broken links

* Update header: More from SUSE

* Fix quoting (single vs double) consistency

* Fix link rendering issue

* Add 2.7.9 entry to versions table

* Add initial Opni landing page

Signed-off-by: Mike Latimer <[email protected]>

* added color icons to /static/img

* Add K8s Distro landing page content

* added css + elemental icon

* rm'd temp file

* Update src/css/custom.css

Co-authored-by: Billy Tat <[email protected]>

* rm usused icons

* canonical links for single-user-nodes and user-settings

* Update token setting page (#906)

* Update token setting page

* Remove unnecessary step

* Harvester landing page: apply feedback from #940

* Rancher Desktop landing page: apply feedback from #944

* Epinio landing page: apply feedback from #945

* fixed spacing problem that ruined callout (#978)

* rm mention of Rio from 2.7 & 2.8 (#980)

* General FAQ copyedit (#983)

* General FAQ copyedit

* restored intro

* Update etcd troubleshoot for etcd 3.5.7 and higher (#985)

* Add session management section (#981)

* Add note regarding rancher pentest reports public availability

This PR will add a note regarding third-party penetration test reports
public disclosure.

* Add session management section to rancher security best practices

This PR will create a new section inside Rancher Security Best Practices
adding security recommendations for RM deployments that might need additional
security controls.

* Apply suggestions from code review

Co-authored-by: Paulo Gomes <[email protected]>

* Update docs/reference-guides/rancher-security/rancher-security-best-practices.md

* Update docs/reference-guides/rancher-security/rancher-security-best-practices.md

Co-authored-by: Guilherme Macedo <[email protected]>

* versioned docs

---------

Co-authored-by: Pietro Dell'Amore <[email protected]>
Co-authored-by: Marty Hernandez Avedon <[email protected]>
Co-authored-by: Paulo Gomes <[email protected]>
Co-authored-by: Guilherme Macedo <[email protected]>

* #879 Add Project Owner to 'Project Member Can't Create Namespace' doc (#894)

* 879 Add Project Owner to 'Project Member Can't Create Namespace' doc

* versioned doc

* Update docs/reference-guides/rancher-webhook.md

Co-authored-by: Billy Tat <[email protected]>

* Update docs/reference-guides/rancher-webhook.md

Co-authored-by: Michael Bolot <[email protected]>

* Apply suggestions from code review

Co-authored-by: Lucas Saintarbor <[email protected]>

* Update docs/reference-guides/rancher-webhook.md

* page sync

* added v2.8 page

* merge syntax left in file, rm'd backticks from version numbers

---------

Co-authored-by: Billy Tat <[email protected]>
Co-authored-by: Michael Bolot <[email protected]>
Co-authored-by: Lucas Saintarbor <[email protected]>

* 135 cloud-provider(aws): Need to correct content on cluster id in aws tagging section

* versioning

* Add delete permission and remove duplicate header (#989)

* Apply suggestions from code review

Co-authored-by: Billy Tat <[email protected]>

* Amazon only uses EC2, so 'use anything' is a moot point

* Update CNI popularity chart numbers. Credit to @amitmavgupta for original PR.

* Update Swagger file

* Fix etcd.backup_config.retention description

* Add Projects API workflow example

* Add project workflow to sidebar; remove duplicate API category

* Update versioned_docs/version-2.8/api/workflows/projects.md

Co-authored-by: Marty Hernandez Avedon <[email protected]>

* #963 clarify documentation for read only permissions in monitoring UI (#964)

* 963 - Clarify documentation around read-only permissions for monitoring.

* fixed random Capitalization of Nouns

* moved changes to v2.8 dir and revised capitalization again

* Update docs/integrations-in-rancher/monitoring-and-alerting/rbac-for-monitoring.md

* copyedits, added workaround

* copyedits

* versioning

* Update versioned_docs/version-2.8/api/workflows/projects.md

* Update migrate-rancher-to-new-cluster.md (#1007)

* Update migrate-rancher-to-new-cluster.md

* Update docs/how-to-guides/new-user-guides/backup-restore-and-disaster-recovery/migrate-rancher-to-new-cluster.md

* Update docs/how-to-guides/new-user-guides/backup-restore-and-disaster-recovery/migrate-rancher-to-new-cluster.md

* Update docs/how-to-guides/new-user-guides/backup-restore-and-disaster-recovery/migrate-rancher-to-new-cluster.md

* 2.7, 2.8 versioning

* restoring bulleted links to rke/k3s

* 2.5 to 2.8 synced

* rm'd info about rke2/k3s from inappropriate version

* reverted last commit -- done by mistake

---------

Co-authored-by: Marty Hernandez Avedon <[email protected]>

* fix: update v2.7 cn sidebar

* fixed typo in command (#1010)

* Apply 4b2f812 (sidebar label update) to other versions. Originally changed in #926

* Remove term from translated sidebar label to match English label

* #420 Completes canonical links task (#1011)

* Completes canonical links task

* spacing

* Updating CSP Adapter versions

* embed video on aws marketplace page (#1016)

* Port version-2.8 updates to latest (/docs) (#1013)

* Port version-2.8 updates to latest (/docs)

Includes changes from 1b6d950 (2023-10-06) to 1f39a6f (2023-11-30)

* Fix redirects

* #773: Add steps to install Rancher Extensions in an air-gapped environment (#807)

* Add steps to install Rancher Extensions in an air-gapped environment

* added link from install guide

* added notes to import/install steps as suggested by rohitsakala

* minor copyedits

* updating extensions explicitly given own section

* tightened up note

* updated note for v2.7

* ensuring all 3 versions have same text

* versioning install-rancher-ha

* del extension repos + (partially) upgrade

* fixed comment syntax

* Apply suggestions from code review

Co-authored-by: Billy Tat <[email protected]>

* Apply suggestions from code review

* completed update instructions

* no dropdown, text input

* more explanation + delete

* Apply suggestions from code review

* extensions repo container image delete

* versioning

* revert changes to v2.7

---------

Co-authored-by: Billy Tat <[email protected]>

* Add aws out of tree cloud provider install/upgrade docs (#844)

* Add aws out of tree cloud provider install/upgrade docs

* Add aws out of tree cloud provider install/upgrade docs

* Add info for aws cloud provider

* indentation fix

* Address review comments

* addressing review comments

* Address review comments

* syntax annotations, re-org sections, copy edits

* even more copy edits

* copy edits to note at top

* addressing suggestions from slickwarren

* Address review comments

* copyedits

* Fix numbering

* Update docs/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/amazon.md

* update helm installation steps

* 2.8 versioning

* rm 'new in 2.7' from 2.8

* Update versioned_docs/version-2.8/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/amazon.md

* revert -- change intended for other branch

* typo fixes

* fix headings, fix casing

* apply prev commit to 2.8

* Reorganizing AWS migration pages (#1015)

This partially addresses #991 (rename file `migrating-from-in-tree-to-out-of-tree` to shorter and reference vsphere) and also fixes problems on the open PR: Duplicate sections (removed), difficulty navigating the file (split into two), sections with similar titles (opting for tabs instead of headings). I created this on its own working branch because moving around large blocks of text was unwieldly and I didn't want to mess up my local version of 763-document-aws-out-of-tree-v2prov. The last tab block (Helm Chart Installation through UI) contains contain that seems to be entirely the same for RKE and RKE2.

---------

Co-authored-by: Kinara Shah <[email protected]>
Co-authored-by: martyav <[email protected]>

* Add 2.8 entry to versions table (#1002)

* Update webhook version table (#1006)

* Update webhook version table

* Bump 2.8 webhook version

* Sync 2.8 table with latest table

* Bump webhook version

* correcting capitalization: helm > Helm (#1018)

* Remove preview label from 2.8

* Remove unreleased banner

* rm 'add additional' phrase from docs (#1020)

* rm 'add additional' phrase from docs

* these > more

* rm deprecation banner from v2.8

* rm deprecation banner from v2.8 (#1023)

* [skip ci] Update README to reflect current versioning model (#1022)

* [skip ci] Update README to reflect current versioning model

* Update README.md

* Update README.md

---------

Co-authored-by: Marty Hernandez Avedon <[email protected]>

* Apply suggestions from code review

* Update create-a-vm-template.md

* Update create-a-vm-template.md

* versioning

---------

Signed-off-by: Mike Latimer <[email protected]>
Co-authored-by: pdellamore <[email protected]>
Co-authored-by: Pietro Dell'Amore <[email protected]>
Co-authored-by: Marty Hernandez Avedon <[email protected]>
Co-authored-by: Billy Tat <[email protected]>
Co-authored-by: Michael Bolot <[email protected]>
Co-authored-by: Mike Latimer <[email protected]>
Co-authored-by: Marty Hernandez Avedon <[email protected]>
Co-authored-by: Jonathan Crowther <[email protected]>
Co-authored-by: Sebastiaan van Steenis <[email protected]>
Co-authored-by: Paulo Gomes <[email protected]>
Co-authored-by: Guilherme Macedo <[email protected]>
Co-authored-by: Lucas Saintarbor <[email protected]>
Co-authored-by: Denise <[email protected]>
Co-authored-by: [yzeng25] <[[email protected]]>
Co-authored-by: Jake Hyde <[email protected]>
Co-authored-by: Kinara Shah <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next-release This PR is tied to the next Rancher release and should take higher priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In 2.8, a cluster API setting is being removed
4 participants