Skip to content

Instantly share code, notes, and snippets.

@devasat
Last active May 30, 2018 17:35
Show Gist options
  • Save devasat/2781a13dd2a485b203814400fe9f307e to your computer and use it in GitHub Desktop.
Save devasat/2781a13dd2a485b203814400fe9f307e to your computer and use it in GitHub Desktop.
K8s - process chart.yaml
apiVersion: v1
version: 0.1.1
name: ${APP_NAME}
appVersion: ${APP_VERSION}
description: ${APP_DESCRIPTION}
.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
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