Skip to content

Instantly share code, notes, and snippets.

@JeanMertz
Last active May 12, 2017 12:19
Show Gist options
  • Save JeanMertz/ce62a6ff623ef6be6389bea0f48c49f8 to your computer and use it in GitHub Desktop.
Save JeanMertz/ce62a6ff623ef6be6389bea0f48c49f8 to your computer and use it in GitHub Desktop.
# apiVersion defines the version of the charts.yaml structure. Currently,
# only "v1" is supported.
apiVersion: v1
# name is the .Release.Name template value that charts can use in their
# templates, which can be overridden by the "--name" CLI flag. If omitted,
# "--name" is required.
name: my-bundled-apps
# namespace is the .Release.Namespace template value that charts can use in
# their templates. Note that since kubecrt does not communicate with
# Kubernetes in any way, it is up to you to also use this namespace when
# doing kubectl apply [...]. Can be overridden using "--namespace", see
# "name" for more details.
namespace: apps
# charts is an array of chart names/locations that you want to compile into
# Kubernetes resource files.
charts:
# A Chart can either be in the format REPO/NAME, or a PATH to a local chart.
#
# If using REPO/FORMAT, kubecrt knows by-default where to locate the
# "stable" repository, all other repositories require the "repo"
# configuration (see below).
- stable/factorio:
# config is a map of key/value pairs used when compiling the chart. This
# uses the same format as in regular chart "values.yaml" files.
#
# see: https://git.io/v9Tyr
config:
resources:
requests:
memory: 1024Mi
cpu: 750m
factorioServer:
# charts.yaml supports the same templating as chart templates do,
# using the "sprig" library.
#
# see: https://masterminds.github.io/sprig/
name: {{ env "MY_SERVER_NAME" | default "hello world!" }}
- stable/minecraft:
# version is a semantic version constraint.
#
# see: https://github.com/Masterminds/semver#basic-comparisons
version: ~> 0.1.0
config:
minecraftServer:
difficulty: hard
- opsgoodness/prometheus-operator:
# repo is the location of a repositry, if other than "stable". This is
# the URL you would normally add using "helm repo add NAME URL".
repo: http://charts.opsgoodness.com
config:
sendAnalytics: false
# For the above charts, see here for the default configurations:
#
# * stable/factorio: https://git.io/v9Tyr
# * stable/minecraft: https://git.io/v9Tya
# * opsgoodness/prometheus-operator: https://git.io/v9SAY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment