Skip to content

Instantly share code, notes, and snippets.

Avatar
👉
building Kubernetes tools in https://github.com/k14s

Dmitriy Kalinin cppforlife

👉
building Kubernetes tools in https://github.com/k14s
View GitHub Profile
View config.yml
kind: Deployment
containers:
- name: first
args:
- something
- name: second
args:
- something
- second
@cppforlife
cppforlife / iad_default.yaml
Last active Feb 27, 2020 — forked from jrboelens/iad_default.yaml
ytt data/values example
View iad_default.yaml
#@data/values
---
pop:
name: iad
nodes:
foo:
autostart: true
pop: ""
bar:
autostart: true
@cppforlife
cppforlife / config.yaml
Last active Feb 18, 2020 — forked from tommituura/config.yaml
ytt templating, how to combine values from two yamls into third? NOT WORKING, HELP NEEDED.
View config.yaml
#@ load("@ytt:data", "data")
metadata: #@ data.values.cluster_metadata
platform: #@ data.values.platform
@cppforlife
cppforlife / config.yml
Last active Jan 25, 2020 — forked from strophy/config.yml
ytt docker-dash configuration templating
View config.yml
#@data/values
---
network: testnet
View gist:ffcdc1761f92fd317ef06867e82404ce
https://github.com/cloudfoundry/bosh-agent/commit/032c79bdfc82bb58c94b46069c66a946117b8c78
https://www.pivotaltracker.com/n/projects/956238/stories/150308840
cake layering approach
View gist:0d8db09f65b71bf23316106b5f481e1f
diff --git a/src/bosh-dns/dns/internal/datatests/prodlike20180124/aliases.json b/src/bosh-dns/dns/internal/datatests/prodlike20180124/aliases.json
index b943537..1ba39e2 100644
--- a/src/bosh-dns/dns/internal/datatests/prodlike20180124/aliases.json
+++ b/src/bosh-dns/dns/internal/datatests/prodlike20180124/aliases.json
@@ -1,4 +1,7 @@
{
+ "test.bosh": [
+ "*.ig-5fc2278*.net-79382b0e.dep-966b6cac.bosh"
+ ],
"_.cell.service.cf.internal": [
View redis-micro.yml
---
name: redis-from-scratch
resource_pools:
- name: default
network: default
cloud_properties:
instance_type: m3.medium
networks:
View gist:7d91d9995aeab3baba7e
---
name: cf
director_uuid: REPLACE_WITH_DIRECTOR_ID
releases:
- {name: cf, version: latest}
networks:
- name: cf_private
type: manual
View gist:d50c7e16f13f0ee4d76a
GET v2/service_instances/abc123
{
"metadata": {
"guid":"abc123",
"url": "v2/service_instances/abc123"
},
"entity": {
"name":"myservice-instance",
View gist:03fcc812373c02a9740e
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AddPerm",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",