Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sample Steward manifest
kind: ConfigMap
apiVersion: v1
metadata:
name: claim-1
namespace: default
labels:
type: service-plan-claim
data:
service-id: "helm-alpine"
plan-id: "standard"
claim-id: "asdasd7234213"
action: "provision"
target-name: "helm-alpine-creds"
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: helm-steward
namespace: steward
labels:
app: helm-steward
spec:
replicas: 1
template:
metadata:
labels:
app: helm-steward
spec:
containers:
- name: helm-steward
image: quay.io/arschles/steward:devel
imagePullPolicy: Always
env:
- name: STEWARD_MODE
value: helm
- name: LOG_LEVEL
value: trace
- name: HELM_TILLER_IP
value: "tiller.kube-system"
- name: HELM_TILLER_PORT
value: "44134"
- name: HELM_CHART_URL
value: "https://storage.googleapis.com/arschles-charts/alpine-0.1.1.tgz"
- name: HELM_CHART_INSTALL_NAMESPACE
value: steward-helm-installs
- name: HELM_PROVISION_BEHAVIOR
value: active
- name: HELM_SERVICE_ID
value: helm-alpine
- name: HELM_SERVICE_NAME
value: alpine-server
- name: HELM_SERVICE_DESCRIPTION
value: "an alpine pod provisioned with a backing Tiller server"
- name: HELM_PLAN_ID
value: standard
- name: HELM_PLAN_NAME
value: standard
- name: HELM_PLAN_DESCRIPTION
value: "there is only 1 plan for this chart"
livenessProbe:
httpGet:
path: /healthz
port: 8080
failureThreshold: 3
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 2
readinessProbe:
httpGet:
path: /healthz
port: 8080
failureThreshold: 1
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 2
apiVersion: v1
kind: Service
metadata:
name: helm-steward
namespace: steward
labels:
app: helm-steward
spec:
ports:
- port: 80
targetPort: 8080
selector:
app: helm-steward
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.