Skip to content

Instantly share code, notes, and snippets.

View coolsvap's full-sized avatar
😊

Swapnil Kulkarni coolsvap

😊
View GitHub Profile
{
"authorization-plugins": [],
"dns": [],
"dns-opts": [],
"dns-search": [],
"exec-opts": [],
"storage-driver": "",
"storage-opts": [],
"labels": [],
"log-driver": "",
#!/bin/bash
LANGUAGE=golang
CC_SRC_PATH=github.com/project-name/go
CC_VERSION=1.0
TEMP_CC_VERSION+=$(date +".%I.%M.%S") # Appending with temporary timestamp.
# Replace the chaincode with our new updated code.
rm -rf $GOPATH/src/github.com/project-name/go & mkdir -p $GOPATH/src/github.com/project-name/go
cp -Rf chaincode/\\\* $GOPATH/src/github.com/project-name/go/
apiVersion: v1
kind: ServiceAccount
metadata:
name: tiller
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: tiller
@coolsvap
coolsvap / rdo-liberty-neutron-heat-answers-txt
Created September 23, 2015 11:50
rdo-liberty-neutron-heat-answers-txt
[general]
# Path to a public key to install on servers. If a usable key has not
# been installed on the remote servers, the user is prompted for a
# password and this key is installed so the password will not be
# required again.
CONFIG_SSH_KEY=/root/.ssh/id_rsa.pub
# Default password to be used everywhere (overridden by passwords set
# for individual services or users).
@coolsvap
coolsvap / rdo-liberty-cinder-glusterfs-answer-txt
Created September 23, 2015 07:39
rdo-liberty-cinder-glusterfs-answer-txt
[general]
# Path to a public key to install on servers. If a usable key has not
# been installed on the remote servers, the user is prompted for a
# password and this key is installed so the password will not be
# required again.
CONFIG_SSH_KEY=/root/.ssh/id_rsa.pub
# Default password to be used everywhere (overridden by passwords set
# for individual services or users).
@coolsvap
coolsvap / rdo-liberty-glance-localfs-cinder-lvm-answers.txt
Created September 23, 2015 06:43
rdo-liberty-glance-localfs-cinder-lvm-answers.txt
[general]
# Path to a public key to install on servers. If a usable key has not
# been installed on the remote servers, the user is prompted for a
# password and this key is installed so the password will not be
# required again.
CONFIG_SSH_KEY=/home/centos/.ssh/id_rsa.pub
# Default password to be used everywhere (overridden by passwords set
# for individual services or users).
@coolsvap
coolsvap / rdo-liberty-glance-swift-answers-txt
Created September 23, 2015 06:33
rdo-liberty-glance-swift-answers-txt
[general]
# Path to a public key to install on servers. If a usable key has not
# been installed on the remote servers, the user is prompted for a
# password and this key is installed so the password will not be
# required again.
CONFIG_SSH_KEY=/root/.ssh/id_rsa.pub
# Default password to be used everywhere (overridden by passwords set
# for individual services or users).
@coolsvap
coolsvap / localrc
Last active August 29, 2015 14:05
Devstack localrc
###IP Configuration
HOST_IP=<<IP_ADDRESS>>
#Credentials
ADMIN_PASSWORD=<<password>>
DATABASE_PASSWORD=<<password>>
RABBIT_PASSWORD=<<password>>
SERVICE_PASSWORD=<<password>>
SERVICE_TOKEN=<<password>>