Skip to content

Commit

Permalink
Merge pull request rancher#9851 from aalves08/9834-deprecated-setting…
Browse files Browse the repository at this point in the history
…-kubeconfig-token-ttl-minutes

remove kubeconfig-token-ttl-minutes from allowed settings + remove an…
  • Loading branch information
richard-cox authored Oct 5, 2023
2 parents a8900d9 + 720473a commit 67c2be3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion shell/assets/translations/en-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7079,7 +7079,6 @@ advancedSettings:
'auth-user-session-ttl-minutes': 'Custom TTL (in minutes) on a user auth session.'
'auth-token-max-ttl-minutes': 'Max TTL (in minutes) for all authentication tokens. When set to 0, the token never expires.'
'kubeconfig-generate-token': 'Automatically generate tokens for users when a kubeconfig is requested.'
'kubeconfig-token-ttl-minutes': 'TTL used for tokens generated via the CLI. Deprecated: This setting will be removed, and kubeconfig-default-token-ttl-minutes will be used for all kubeconfig tokens.'
'kubeconfig-default-token-ttl-minutes': 'TTL (in minutes) applied on all kubeconfig tokens. When set to 0, the token never expires.'
'rke-metadata-config': 'Configure RKE metadata refresh parameters.'
'ui-banners': 'Classification banner is used to display a custom fixed banner in the header, footer, or both.'
Expand Down
1 change: 0 additions & 1 deletion shell/assets/translations/zh-hans.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7051,7 +7051,6 @@ advancedSettings:
'auth-user-session-ttl-minutes': '用户认证会话的自定义 TTL(单位:分钟)。'
'auth-token-max-ttl-minutes': '所有身份认证 Token 的最大 TTL(单位:分钟)。如果设置为 0,则 Token 永不过期。'
'kubeconfig-generate-token': '请求 kubeconfig 时自动为用户生成 Token。'
'kubeconfig-token-ttl-minutes': '在 CLI 中生成的 Token TTL。已弃用:此设置将被删除,kubeconfig-default-token-ttl-minutes 将用于所有 kubeconfig Token。'
'kubeconfig-default-token-ttl-minutes': '应用于所有 kubeconfig Token 的 TTL(单位:分钟)。如果设置为 0,则 Token 永不过期。'
'rke-metadata-config': '配置 RKE 元数据刷新参数。'
'ui-banners': '分类横幅用于在页眉、页脚或两者中显示自定义的固定横幅。'
Expand Down
2 changes: 0 additions & 2 deletions shell/config/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export const SETTING = {
HIDE_LOCAL_CLUSTER: 'hide-local-cluster',
AUTH_TOKEN_MAX_TTL_MINUTES: 'auth-token-max-ttl-minutes',
KUBECONFIG_GENERATE_TOKEN: 'kubeconfig-generate-token',
KUBECONFIG_TOKEN_TTL_MINUTES: 'kubeconfig-token-ttl-minutes',
KUBECONFIG_DEFAULT_TOKEN_TTL_MINUTES: 'kubeconfig-default-token-ttl-minutes',
ENGINE_URL: 'engine-install-url',
ENGINE_ISO_URL: 'engine-iso-url',
Expand Down Expand Up @@ -127,7 +126,6 @@ export const ALLOWED_SETTINGS: GlobalSetting = {
[SETTING.AUTH_USER_SESSION_TTL_MINUTES]: {},
[SETTING.AUTH_TOKEN_MAX_TTL_MINUTES]: {},
[SETTING.KUBECONFIG_GENERATE_TOKEN]: { kind: 'boolean' },
[SETTING.KUBECONFIG_TOKEN_TTL_MINUTES]: {},
[SETTING.KUBECONFIG_DEFAULT_TOKEN_TTL_MINUTES]: { kind: 'integer' },
[SETTING.AUTH_USER_INFO_RESYNC_CRON]: {},
[SETTING.SERVER_URL]: { kind: 'url', canReset: true },
Expand Down

0 comments on commit 67c2be3

Please sign in to comment.