istio: Index | Files

package secret

import ""


Package Files



const (

    // CASecret stores the key/cert of self-signed CA for persistency purpose.
    CASecret = "istio-ca-secret"
    // CertChainID is the ID/name for the certificate chain file.
    CertChainID = "cert-chain.pem"
    // PrivateKeyID is the ID/name for the private key file.
    PrivateKeyID = "key.pem"
    // RootCertID is the ID/name for the CA root certificate file.
    RootCertID = "root-cert.pem"
    // ServiceAccountNameAnnotationKey is the key to specify corresponding service account in the annotation of K8s secrets.
    ServiceAccountNameAnnotationKey = ""

func BuildSecret Uses

func BuildSecret(saName, scrtName, namespace string, certChain, privateKey, rootCert, caCert, caPrivateKey []byte, secretType v1.SecretType) *v1.Secret

BuildSecret returns a secret struct, contents of which are filled with parameters passed in.

Package secret imports 2 packages (graph) and is imported by 3 packages. Updated 2020-06-02. Refresh now. Tools for package owners.