From 37b9c2c7b55c11c2754350c6802d1f1bef7f6965 Mon Sep 17 00:00:00 2001 From: Pete Birley Date: Sat, 8 Jul 2017 09:34:16 -0500 Subject: [PATCH] Keystone: Chart cleanup This PS cleans up the values file, and renames some manifests to better reflect their function. Change-Id: Ia48db0b583b2236d554e2f12532601413fb1a01e --- keystone/templates/{deployment.yaml => deployment-api.yaml} | 2 +- keystone/templates/{ingress.yaml => ingress-api.yaml} | 0 keystone/templates/{service.yaml => service-api.yaml} | 0 .../{service-ingress.yaml => service-ingress-api.yaml} | 0 keystone/values.yaml | 6 ++---- 5 files changed, 3 insertions(+), 5 deletions(-) rename keystone/templates/{deployment.yaml => deployment-api.yaml} (99%) rename keystone/templates/{ingress.yaml => ingress-api.yaml} (100%) rename keystone/templates/{service.yaml => service-api.yaml} (100%) rename keystone/templates/{service-ingress.yaml => service-ingress-api.yaml} (100%) diff --git a/keystone/templates/deployment.yaml b/keystone/templates/deployment-api.yaml similarity index 99% rename from keystone/templates/deployment.yaml rename to keystone/templates/deployment-api.yaml index 217a02f178..d1622e8dc1 100644 --- a/keystone/templates/deployment.yaml +++ b/keystone/templates/deployment-api.yaml @@ -22,7 +22,7 @@ kind: Deployment metadata: name: keystone-api spec: - replicas: {{ .Values.replicas }} + replicas: {{ .Values.replicas.api }} {{ tuple $envAll | include "helm-toolkit.snippets.kubernetes_upgrades_deployment" | indent 2 }} template: metadata: diff --git a/keystone/templates/ingress.yaml b/keystone/templates/ingress-api.yaml similarity index 100% rename from keystone/templates/ingress.yaml rename to keystone/templates/ingress-api.yaml diff --git a/keystone/templates/service.yaml b/keystone/templates/service-api.yaml similarity index 100% rename from keystone/templates/service.yaml rename to keystone/templates/service-api.yaml diff --git a/keystone/templates/service-ingress.yaml b/keystone/templates/service-ingress-api.yaml similarity index 100% rename from keystone/templates/service-ingress.yaml rename to keystone/templates/service-ingress-api.yaml diff --git a/keystone/values.yaml b/keystone/values.yaml index eca697cb55..53da11ddc7 100644 --- a/keystone/values.yaml +++ b/keystone/values.yaml @@ -17,7 +17,8 @@ # Declare name/value pairs to be passed into your templates. # name: value -replicas: 1 +replicas: + api: 1 labels: node_selector_key: openstack-control-plane @@ -48,9 +49,6 @@ termination_grace_period: api: timeout: 30 -keystone: - - bootstrap: enabled: true script: |