Skip to content

Instantly share code, notes, and snippets.

apiVersion: shipa.crossplane.io/v1alpha1
kind: Volume
metadata:
name: mysql-vol1
spec:
forProvider:
name: mysql-vol
capacity: 10G
accessModes: ReadWriteOnce
plan: gke-appcluster-1
echo "apiVersion: v1
kind: ServiceAccount
metadata:
name: shipa-admin
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: shipa-admin
echo "apiVersion: v1
kind: ServiceAccount
metadata:
name: shipa-admin
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: shipa-admin
#!/bin/sh
GOREPLAY_VERSION="1.0.0"
GOREPLAY_URL="https://github.com/buger/goreplay/releases/download/v${GOREPLAY_VERSION}/gor_${GOREPLAY_VERSION}_x64.tar.gz"
case "$1" in
"install") echo "To install, add the following to your shipa.yaml and deploy your app:"
cat << EOF
hooks:
#!/usr/bin/env python
import os
import sys
import httplib
import json
import subprocess
import ConfigParser
import argparse
import time
#!/bin/bash
GOREPLAY_VERSION="0.16.1"
GOREPLAY_URL="https://github.com/buger/goreplay/releases/download/v${GOREPLAY_VERSION}/gor_${GOREPLAY_VERSION}_x64.tar.gz"
case "$1" in
"install") echo "To install, add the following to your shipa.yaml and deploy your app:"
cat << EOF
hooks: