github.com/verrazzano/verrazzano@v1.7.0/pkg/mcconstants/secret_keys.go (about) 1 // Copyright (c) 2021, 2023, Oracle and/or its affiliates. 2 // Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. 3 4 // Package mcconstants - Constants in this file are keys in MultiCluster related secrets 5 package mcconstants 6 7 // CaCrtKey is the CA cert key in the tls secret 8 const CaCrtKey = "ca.crt" 9 10 // ESCaBundleKey is the ES CA cert key in the registration secret 11 const ESCaBundleKey = "es-ca-bundle" 12 13 // AdminCaBundleKey is the admin CA cert key in the registration secret 14 const AdminCaBundleKey = "ca-bundle" 15 16 // FluentdESCaBundleKey is the CA cert key in the Verrazzano CRD fluentd Opensearch secret 17 const FluentdESCaBundleKey = "ca-bundle" 18 19 // JaegerOSTLSKey is the key in registration secret containing TLS key used by Jaeger to connect to OpenSearch storage 20 // when using mutual TLS 21 const JaegerOSTLSKey = "jaeger-os-tls.key" 22 23 // JaegerOSTLSCertKey is the key in registration secret containing TLS cert used by Jaeger to connect to OpenSearch storage 24 // when using mutual TLS 25 const JaegerOSTLSCertKey = "jaeger-os-tls.cert" 26 27 // JaegerOSTLSCAKey is the key in registration secret containing TLS CA used by Jaeger to connect to OpenSearch storage 28 const JaegerOSTLSCAKey = "jaeger-os-ca.crt" 29 30 // JaegerManagedClusterSecretName is the name of the Jaeger secret in the managed cluster 31 // #nosec 32 const JaegerManagedClusterSecretName = "verrazzano-jaeger-managed-cluster" 33 34 // KubeconfigKey is the kubeconfig key 35 const KubeconfigKey = "admin-kubeconfig" 36 37 // ManagedClusterNameKey is the key for the managed cluster name 38 const ManagedClusterNameKey = "managed-cluster-name" 39 40 // RegistrationPasswordKey is the password key in registration secret 41 const RegistrationPasswordKey = "password" 42 43 // RegistrationUsernameKey is the username key in registration secret 44 const RegistrationUsernameKey = "username" 45 46 // VerrazzanoPasswordKey is the password key in Verrazzano secret 47 const VerrazzanoPasswordKey = "password" 48 49 // VerrazzanoUsernameKey is the username key in Verrazzano secret 50 const VerrazzanoUsernameKey = "username" 51 52 // JaegerOSPasswordKey is the password key in Jaeger secret to connect to the OpenSearch storage 53 const JaegerOSPasswordKey = "ES_PASSWORD" 54 55 // JaegerOSUsernameKey is the username key in Jaeger secret to connect to the OpenSearch storage 56 const JaegerOSUsernameKey = "ES_USERNAME" 57 58 // TokenKey is the key for the service account token 59 const TokenKey = "token" 60 61 // ESURLKey is the key for Opensearch URL 62 const ESURLKey = "es-url" 63 64 // JaegerOSURLKey is the key in registration secret containing Jaeger OpenSearch URL 65 const JaegerOSURLKey = "jaeger-os-url" 66 67 // YamlKey is the key for YAML that can be applied using kubectl 68 const YamlKey = "yaml" 69 70 // KeycloakURLKey is the key for Keycloak URL 71 const KeycloakURLKey = "keycloak-url" 72 73 // DexURLKey is the key for Dex URL 74 const DexURLKey = "dex-url" 75 76 // OidcProviderKey is the key for OIDC Provider 77 const OidcProviderKey = "oidc-provider"