Skip to content

Instantly share code, notes, and snippets.

View cppforlife's full-sized avatar
👉
building Kubernetes tools in https://github.com/k14s

Dmitriy Kalinin cppforlife

👉
building Kubernetes tools in https://github.com/k14s
View GitHub Profile
@cppforlife
cppforlife / _cmd
Last active July 30, 2021 00:05 — forked from warroyo/cluster.yaml
ytt example
$ ytt -f rebase.yml -f input.yml -f cluster.yaml
@cppforlife
cppforlife / config.yml
Created May 22, 2020 20:27
append args
kind: Deployment
containers:
- name: first
args:
- something
- name: second
args:
- something
- second
@cppforlife
cppforlife / iad_default.yaml
Last active February 27, 2020 19:19 — forked from jrboelens/iad_default.yaml
ytt data/values example
#@data/values
---
pop:
name: iad
nodes:
foo:
autostart: true
pop: ""
bar:
autostart: true
@cppforlife
cppforlife / config.yaml
Last active February 18, 2020 15:30 — forked from tommituura/config.yaml
ytt templating, how to combine values from two yamls into third? NOT WORKING, HELP NEEDED.
#@ load("@ytt:data", "data")
metadata: #@ data.values.cluster_metadata
platform: #@ data.values.platform
@cppforlife
cppforlife / config.yml
Last active January 25, 2020 00:29 — forked from strophy/config.yml
ytt docker-dash configuration templating
#@data/values
---
network: testnet
https://github.com/cloudfoundry/bosh-agent/commit/032c79bdfc82bb58c94b46069c66a946117b8c78
https://www.pivotaltracker.com/n/projects/956238/stories/150308840
cake layering approach
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": [
---
name: redis-from-scratch
resource_pools:
- name: default
network: default
cloud_properties:
instance_type: m3.medium
networks:
---
name: cf
director_uuid: REPLACE_WITH_DIRECTOR_ID
releases:
- {name: cf, version: latest}
networks:
- name: cf_private
type: manual
@cppforlife
cppforlife / gist:d50c7e16f13f0ee4d76a
Created November 27, 2014 00:41
service instance ops
GET v2/service_instances/abc123
{
"metadata": {
"guid":"abc123",
"url": "v2/service_instances/abc123"
},
"entity": {
"name":"myservice-instance",