-
Notifications
You must be signed in to change notification settings - Fork 787
/
constants.go
34 lines (31 loc) · 1.28 KB
/
constants.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package vault
const (
// SystemVaultNamePrefix name prefix of the system vault used by the jenkins-x platform
SystemVaultNamePrefix = "jx-vault"
// GitOpsSecretsPath the path of secrets generated for GitOps
GitOpsSecretsPath = "gitops/"
// GitOpsTemplatesPath the path of gitops templates secrets
GitOpsTemplatesPath = "templates/"
// AdminSecretsPath the path of admin secrets
AdminSecretsPath = "admin/"
// AuthSecretsPath the path of auth secrets
AuthSecretsPath = "auth/"
// LocalVaultEnvVar defines the address to search for when using kubectl port-forward to access Vault without an ingress
LocalVaultEnvVar = "LOCAL_VAULT_ADDR"
//DefaultVaultPort defines the port to access vault
DefaultVaultPort = "8200"
)
// AdminSecret type for a vault admin secret
type AdminSecret string
const (
// JenkinsAdminSecret the secret name for Jenkins admin password
JenkinsAdminSecret = "jenkins"
// NexusAdminSecret the secret name for Nexus credentials
NexusAdminSecret = "nexus"
// ChartmuseumAdminSecret the secret name for ChartMuseum credentials
ChartmuseumAdminSecret = "chartmuseum"
// GrafanaAdminSecret the secret name for Grafana credentials
GrafanaAdminSecret = "grafana"
// IngressAdminSecret the secret name for Ingress basic authentication
IngressAdminSecret = "ingress"
)