From a6322a5521789145168126449fa77477b9a98ffd Mon Sep 17 00:00:00 2001 From: Pete Birley Date: Thu, 3 May 2018 20:02:06 -0500 Subject: [PATCH] Magnum: basic chart enhancement This ps provides several basic enhancements to the magnum chart. Change-Id: I50bbb5f1db1490be6844970b2715fa05abb56ea2 --- .../bin/_magnum-conductor-init.sh.tpl | 24 ++++++++++ magnum/templates/bin/_magnum-conductor.sh.tpl | 3 +- magnum/templates/configmap-bin.yaml | 2 + magnum/templates/deployment-api.yaml | 4 ++ magnum/templates/statefulset-conductor.yaml | 31 +++++++++++-- magnum/values.yaml | 44 +++++++++++++++++++ 6 files changed, 104 insertions(+), 4 deletions(-) create mode 100644 magnum/templates/bin/_magnum-conductor-init.sh.tpl diff --git a/magnum/templates/bin/_magnum-conductor-init.sh.tpl b/magnum/templates/bin/_magnum-conductor-init.sh.tpl new file mode 100644 index 0000000000..0efbad9611 --- /dev/null +++ b/magnum/templates/bin/_magnum-conductor-init.sh.tpl @@ -0,0 +1,24 @@ +#!/bin/bash + +{{/* +Copyright 2017 The Openstack-Helm Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/}} + +set -ex + +tee /tmp/pod-shared/magnum.conf <