minor tweaks

This commit is contained in:
Clint Shryock 2018-10-04 15:07:41 -05:00
parent 8a4ab899d8
commit 95024c4d3f
No known key found for this signature in database
GPG key ID: B7C8F9C70EC5CD29
3 changed files with 7 additions and 3 deletions

View file

@ -76,9 +76,12 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
env:
- name: VAULT_ADDR
value: "http://localhost:8200"
- name: HOST_IP
valueFrom:
fieldRef:
fieldPath: status.hostIP
command:
- "vault"
- "server"
@ -122,6 +125,7 @@ spec:
name: data
spec:
accessModes:
#- ReadWriteMany
- ReadWriteOnce
resources:
requests:

View file

@ -20,7 +20,7 @@ resource "google_container_cluster" "cluster" {
name = "vault-helm-dev-${random_id.suffix.dec}"
project = "${var.project}"
enable_legacy_abac = true
initial_node_count = 5
initial_node_count = 3
zone = "${var.zone}"
min_master_version = "${data.google_container_engine_versions.main.latest_master_version}"
node_version = "${data.google_container_engine_versions.main.latest_node_version}"

View file

@ -30,7 +30,7 @@ global:
server:
enabled: "-"
image: null
replicas: 1
replicas: 3
# storage and storageClass are the settings for configuring stateful
# storage for the server pods. storage should be set to the disk size of