Last active
May 30, 2018 17:35
-
-
Save devasat/2781a13dd2a485b203814400fe9f307e to your computer and use it in GitHub Desktop.
K8s - process chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
version: 0.1.1 | |
name: ${APP_NAME} | |
appVersion: ${APP_VERSION} | |
description: ${APP_DESCRIPTION} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.EXPORT_ALL_VARIABLES: | |
build-chart: clean ## Build project's chart | |
mkdir -p build/ | |
cp -r service-k8s-config build/ | |
cp -r env-overrides build/service-k8s-config/ | |
envsubst < build/service-k8s-config/Chart.yaml > build/service-k8s-config/Chart.yaml.out && mv build/service-k8s-config/Chart.yaml.out build/service-k8s-config/Chart.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include makefiles/Makefile | |
APP_NAME=service-name | |
APP_VERSION=0.1.0 | |
APP_DESCRIPTION=Service description |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment