kubernetes_secret

    0

    0

    lucycodes42

    Terraform snippets

    The code defines a resource named "kubernetes_secret" with the following properties:

    name: "my-metadata-name"

    data:

    username: "admin"

    password: "P4ssw0rd"

    Shortcut: tf_kubernetes_secret

    resource "kubernetes_secret" "kubernetes_secret_id" {
       metadata {
           name = "my-metadata-name"
       }
    
       data {
           username = "admin"
           password = "P4ssw0rd"
       }
    
       type = "kubernetes.io/basic-auth"
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.