Skip to content

Instantly share code, notes, and snippets.

Avatar

Christopher Chase cfchase

View GitHub Profile
@cfchase
cfchase / catalog-partial.json
Created Aug 21, 2017
Partial json showing UI metadata in broker catalog request.
View catalog-partial.json
[
{
"plans": [
{
"metadata": {
"schemas": {
"service_instance": {
"create": {
"form_definition": [
"test_param_1",
@cfchase
cfchase / catalog-full.json
Last active Aug 21, 2017
Sample service catalog with index/grouping/secret in metadata
View catalog-full.json
[
{
"bindable": true,
"description": "A sample APB which deploys Hello World Database",
"id": "c334ab41fc32d3a0b11f0e815da4c7ba",
"metadata": {
"displayName": "Hello World Database (APB)"
},
"name": "dh-cfchase-hello-world-db-apb-latest",
"plans": [
@cfchase
cfchase / ansible-asb-modules.spec
Created Jul 26, 2017
ansible-asb-modules rpm spec
View ansible-asb-modules.spec
Name: ansible-asb-modules
Version: 0.0.1
Release: 1%{?dist}
Summary: Ansible role containing Ansible Service Broker modules
License: ASL 2.0
URL: https://github.com/cfchase/%{name}
Source0: https://github.com/cfchase/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
@cfchase
cfchase / podpreset.json
Last active Jul 12, 2017
podpreset query
View podpreset.json
//curl -X GET -H "Authorization: Bearer ${TOKEN}" https://172.17.0.1:8443/apis/settings.k8s.io/v1alpha1 --insecure
{
"kind": "APIResourceList",
"apiVersion": "v1",
"groupVersion": "settings.k8s.io/v1alpha1",
"resources": [
{
"name": "podpresets",
"namespaced": true,