Rename examples dir to examplelayout.

This commit is contained in:
Jeffrey Regan
2018-06-12 15:03:45 -07:00
parent 0c88c43c67
commit 623e21d1c0
12 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
# This example is from https://docs.google.com/document/d/1cLPGweVEYrVqQvBLJg6sxV-TrE5Rm2MNOBA_cxZP2WU/edit#heading=h.dr88tktf0e99
# Inspired by https://github.com/kubernetes/helm/blob/master/docs/charts.md
# But Kubernetes API style
apiVersion: manifest.k8s.io/v1alpha1
kind: Descriptor
metadata:
name: mungebot
description: Mungegithub package
# These are search keywords
keywords: [github, bot, kubernetes]
home: https://github.com/bgrant0607/mungebot-pkg/blob/master/README.md
sources: https://github.com/bgrant0607/mungebot-pkg
icon: https://github.com/bgrant0607/mungebot-pkg/blob/master/icon.png

View File

@@ -0,0 +1,21 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: mungebot
labels:
app: mungebot
spec:
replicas: 1
template:
metadata:
labels:
app: mungebot
spec:
containers:
- name: nginx
image: nginx
env:
- name: foo
value: bar
ports:
- containerPort: 80

View File

@@ -0,0 +1,8 @@
namePrefix: baseprefix-
commonLabels:
foo: bar
commonAnnotations:
baseAnno: This is an base annotation
resources:
- deployment/deployment.yaml
- service/service.yaml

View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: mungebot-service
labels:
app: mungebot
spec:
ports:
- port: 7002
selector:
app: mungebot