Skip to content

Instantly share code, notes, and snippets.

View Callisto13's full-sized avatar
🌊

Claudia Callisto13

🌊
View GitHub Profile
# Title above here
# Use 50 characters maximum.
# Do not use a sentence-ending period.
#
# Prefixes:
#
# bump = bump version
# chore(subtype) = chore
# docs = documentation
# feat = new feature
@Callisto13
Callisto13 / installables.sh
Last active May 29, 2023 13:33
Script to install things (kind, docker, clusterctl, kubectl) ready to run CAPI in kinD
#!/bin/bash -ex
mkdir -p $HOME/installables
pushd $HOME/installables
wget https://github.com/kubernetes-sigs/kind/releases/download/v0.13.0/kind-linux-amd64
chmod +x ./kind-linux-amd64
mv ./kind-linux-amd64 /usr/local/bin/kind
kind --version
@Callisto13
Callisto13 / main.tf
Last active July 14, 2023 12:40
tunnel-demo
terraform {
required_providers {
equinix = {
version = "~> 1.11.1"
source = "equinix/equinix"
}
}
}
provider "equinix" {
@Callisto13
Callisto13 / instructions.md
Last active July 27, 2023 10:41
Pure1 API test

Using this with the Pure1 API

These are linux instructions, bluescreens you are on your own.

  1. Create a private key openssl genrsa -out private.pem
  2. Create a public key openssl rsa -in private.pem -outform PEM -pubout -out public.pem
  3. Log into PureOne, go to Administration, API Registration and fill in the details: paste in your public key and select Viewer role
  4. Copy the generated Application ID
  5. Execute the binary: ./pure1 --app-id APP_ID --private-key PATH_TO_KEY --resource RESOURCE_NAME