This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: shipa.crossplane.io/v1alpha1 | |
kind: Volume | |
metadata: | |
name: mysql-vol1 | |
spec: | |
forProvider: | |
name: mysql-vol | |
capacity: 10G | |
accessModes: ReadWriteOnce | |
plan: gke-appcluster-1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: shipa-admin | |
namespace: kube-system | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: shipa-admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: shipa-admin | |
namespace: kube-system | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: shipa-admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import sys | |
import httplib | |
import json | |
import subprocess | |
import ConfigParser | |
import argparse | |
import time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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: |