Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions kubernetes/create_operationcode.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/env bash

# DEPRECATED, ONLY HERE FOR HISTORICAL REFERENCE
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the deets?

# Ask @ohaiwalt for more info

set -euf -o pipefail

# This is a quick hacky script to standup operationcode.org on kubernetes
Expand All @@ -15,17 +18,6 @@ function add_k8s_resources(){
if [[ -f "daemonset.yml" ]]; then $KUBECTL create -f daemonset.yml; fi
}

# This function assumes you have the required secrets for an app
# defined as env vars at ${app_name}_secret.sh
function create_secrets_for(){
app_name=$1
cd secrets
. ~/bin/${app_name}_secrets.sh
./create_secrets.sh
$KUBECTL create -f secret.yml
cd ..
}

# Create namespace
echo $KUBECTL create -f operationcode-namespace.yml

Expand Down
1 change: 0 additions & 1 deletion kubernetes/operationcode_backend/secrets/.gitignore

This file was deleted.

17 changes: 0 additions & 17 deletions kubernetes/operationcode_backend/secrets/create_secrets.sh

This file was deleted.

25 changes: 0 additions & 25 deletions kubernetes/operationcode_backend/secrets/secret.yml.tpl

This file was deleted.