From 22c940178e8a7f50338bc7ce9b06e95d4cca2ff7 Mon Sep 17 00:00:00 2001 From: Yuri Pastushenko Date: Fri, 28 Dec 2018 12:44:43 +0300 Subject: [PATCH] Fixed kuberneter entities names --- .helm/slack-duty-bot/templates/configmap.yaml | 2 +- .helm/slack-duty-bot/templates/secret.yaml | 2 +- .helm/slack-duty-bot/values.yaml | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.helm/slack-duty-bot/templates/configmap.yaml b/.helm/slack-duty-bot/templates/configmap.yaml index 2727136..3fa41d5 100644 --- a/.helm/slack-duty-bot/templates/configmap.yaml +++ b/.helm/slack-duty-bot/templates/configmap.yaml @@ -1,7 +1,7 @@ kind: ConfigMap apiVersion: v1 metadata: - name: "{{ include "slack-duty-bot.name" . }}-config-map" + name: "{{ include "slack-duty-bot.fullname" . }}" data: config.yaml: |- slack: diff --git a/.helm/slack-duty-bot/templates/secret.yaml b/.helm/slack-duty-bot/templates/secret.yaml index 2597957..bbdc0ca 100644 --- a/.helm/slack-duty-bot/templates/secret.yaml +++ b/.helm/slack-duty-bot/templates/secret.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: Secret metadata: - name: "{{ include "slack-duty-bot.name" . }}-secret" + name: "{{ include "slack-duty-bot.fullname" . }}" type: Opaque data: token: {{ .Values.configuration.slackToken | b64enc }} diff --git a/.helm/slack-duty-bot/values.yaml b/.helm/slack-duty-bot/values.yaml index e26dc60..2abba0d 100644 --- a/.helm/slack-duty-bot/values.yaml +++ b/.helm/slack-duty-bot/values.yaml @@ -2,9 +2,6 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. -nameOverride: "slack-duty-bot" -fullnameOverride: "slack-duty-bot" - replicaCount: 1 image: