Update Labels - Application/Component

1) Kubernetes Template (Bootstrap)
2) Other charts within Promenade Repo

Change-Id: I872802112587bdff84d3630a5b2542dc4b3f77f8
This commit is contained in:
anthony.lin
2018-05-18 23:07:43 +08:00
parent a48dcacecc
commit 6e81ed7b40
13 changed files with 37 additions and 4 deletions

View File

@@ -13,6 +13,9 @@ 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.
*/}}
{{- if .Values.manifests.pod_test }}
{{- $envAll := . }}
---
apiVersion: v1
kind: Pod
@@ -20,6 +23,8 @@ metadata:
name: {{ print .Release.Name "-test" }}
annotations:
"helm.sh/hook": test-success
labels:
{{ tuple $envAll "coredns" "test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
spec:
restartPolicy: Never
containers:
@@ -44,3 +49,4 @@ spec:
echo "Test failed to resolve all names."
exit 1
fi
{{- end }}