forked from cyberark/kubernetes-conjur-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dev-bootstrap.env
executable file
·86 lines (69 loc) · 2.94 KB
/
dev-bootstrap.env
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# For more details on the required environment
# variables, please see the README
# Make sure you comment out the section for the
# platform you're not using, and fill in the
# appropriate values for each env var
export CONJUR_APPLIANCE_IMAGE="conjur-appliance:5.0-stable"
# We generate a random namespace suffix if you don't provide one
if [ -z "${CONJUR_NAMESPACE_SUFFIX}" ]; then
export CONJUR_NAMESPACE_SUFFIX="$(head /dev/urandom | LC_ALL=C tr -dc a-z0-9 | head -c 4)"
fi
export CONJUR_NAMESPACE_NAME="conjur-${CONJUR_NAMESPACE_SUFFIX}"
export AUTHENTICATOR_ID=dev
export CONJUR_FOLLOWER_COUNT=2
####################################################################
# WARNING: Use only one of these configuration options
#######
# IF DEPLOYING MASTER CLUSTER WITH FOLLOWERS (uncomment all lines if using this configuration)
#######
export DEPLOY_MASTER_CLUSTER="true"
export CONJUR_ADMIN_PASSWORD=ADmin123!!!!
#######
# IF ONLY DEPLOYING FOLLOWERS (uncomment all lines if using this configuration)
#######
# export DEPLOY_MASTER_CLUSTER="false"
## Only needed if FOLLOWER_SEED is a url to a remote seed service
# export CONJUR_ACCOUNT=[name of conjur account with which to authenticate to seed service]
# export FOLLOWER_SEED=[absolute path to local follower seed file or a URL to the seed service]
####################################################################
####################################################################
# WARNING: Use only one of these configuration options
#######
# OPENSHIFT CONFIG (uncomment all lines if using this configuration)
#######
# export PLATFORM=openshift
# export OSHIFT_CLUSTER_ADMIN_USERNAME=[username of cluster admin]
# export OSHIFT_CONJUR_ADMIN_USERNAME=[username of Conjur namespace admin]
# export DOCKER_REGISTRY_PATH=docker-registry-<registry-namespace>.<routing-domain>
#######
# KUBERNETES CONFIG (uncomment all lines if using this configuration)
#######
# export PLATFORM=kubernetes
# export DOCKER_REGISTRY_URL=<registry-domain>
# export DOCKER_REGISTRY_PATH=<registry-domain>/<additional-pathing>
#######
# LOCAL DEV CONFIG USING DOCKER DESKTOP (uncomment all lines if using this configuration)
#######
# export PLATFORM=kubernetes
# export DEV=true
# export DEPLOY_MASTER_CLUSTER=true
# export STOP_RUNNING_ENV=true
# export CONJUR_APPLIANCE_IMAGE=registry.tld/conjur-appliance:5.0-stable
# export CONJUR_ACCOUNT=cucumber
#######
# MINISHIFT CONFIG (uncomment all lines if using this configuration)
#######
# export PLATFORM=openshift
# export MINI_ENV=true
# export OSHIFT_CLUSTER_ADMIN_USERNAME="system:admin"
# export OSHIFT_CONJUR_ADMIN_USERNAME="developer"
# eval $(minishift docker-env)
# eval $(minishift oc-env)
# export DOCKER_REGISTRY_PATH="$(minishift openshift registry)"
#######
# MINIKUBE CONFIG (uncomment all lines if using this configuration)
#######
# export PLATFORM=kubernetes
# export MINI_ENV=true
# eval $(minikube docker-env)
####################################################################