Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.
This repository was archived by the owner on Aug 5, 2024. It is now read-only.

Warning: "default_secret_name" is no longer applicable for Kubernetes v1.24.0 and above #8

@mark-webster-catalyst

Description

@mark-webster-catalyst

applying on kubernetes version 1.24 and above gives warning:

╷
│ Warning: "default_secret_name" is no longer applicable for Kubernetes v1.24.0 and above
│ 
│   with module.metrics_server.kubernetes_service_account.metrics_server,
│   on .terraform/modules/metrics_server/main.tf line 79, in resource "kubernetes_service_account" "metrics_server":
│   79: resource "kubernetes_service_account" "metrics_server" {
│ 
│ Starting from version 1.24.0 Kubernetes does not automatically generate a token for service accounts, in this case, "default_secret_name" will be empty
╵

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions