Skip to content

Instantly share code, notes, and snippets.

Doug Davis duglin

Block or report user

Report or block duglin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@duglin
duglin / sig-serverless.md
Last active Apr 4, 2020
Proposed SIG-Serverless Charter
View sig-serverless.md

CNCF Serverless SIG Charter

Introduction

This is the charter referred to in “CNCF SIGs” by the CNCF TOC, and consistent with the proposed SIG definition.

Borrowing from the [Serverless

View test.md
  1. line 1
  2. line 2 1.1. line 2.1 1.1. line 2.2

// # (1 - is this really a comment?)

View gist:18ff787f76f7ed0515ce7cce7c2d5f9a
package main
import (
"crypto/sha256"
"crypto/tls"
"encoding/json"
"flag"
"fmt"
"io/ioutil"
"net/http"
@duglin
duglin / params.yaml
Last active Jul 27, 2017
params.yaml
View params.yaml
spec:
serviceClassName: user-provided-service
planName: default
parameters:
- name: username # easy name/value pair case
value: root
- name: password # pull value from a secret's key
valueFrom:
secretKeyRef:
name: mySecret1
@duglin
duglin / PodPreset Ramblings
Last active Jul 12, 2017
PodPreset Ramblings
View PodPreset Ramblings
Some aspects that influence my thinking on this:
- having PodPresets in a Binding is causing problems
- first, because we'll be constantly chasing the real PodPreset definition
- second, because we actually don't want a full PodPreset with all of its features,
we just need the bits related to Secrets
- third, PodPresets (as of now) are immutable
- we need to allow for people to specify more than one LabelSelector at a time to support
upgrading of apps
- as long as the LabelSelector is immutable and embedded in a Binding we should separate the
idea of asking for creds from linking the creds to an app to allow for changing LabelSelectors
View parameters
{
"_id": "apsMyserviceParametersDemo_id",
"catalog": {
"bindable": true,
"name": "apsMyserviceParametersDemo",
"tags": [
"big_data",
"ibm_created"
],
"version": "",
View Testing headers.md

word

two words

with-dashes

with'punct

with ' punct

with . dot

with ... dots

View pvc example
apiVersion: v1
kind: PersistentVolume
metadata:
name: local-volume-test
labels:
type: local
spec:
capacity:
storage: 5Gi
accessModes:
View test.md

Table of Contents

line link

section 1

section

Section

section 1

section 1

View gist:c584ccfa54aca37ac0032b8cbb7d79f8
all: init build test lint
.PHONY: format coverage
# If DOCKER is defined then make it the full docker cmd line we want to use
ifneq ($(origin DOCKER),undefined)
DOCKER=docker run --rm -ti \
-v $(PWD):/go/src/github.com/kubernetes-incubator/service-catalog \
scbuildimage
endif
You can’t perform that action at this time.