Skip to content

Instantly share code, notes, and snippets.

@rossf7
rossf7 / scaphandre-dashboard.json
Created February 6, 2021 14:47
Scaphandre Dashboard
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
@rossf7
rossf7 / app.yaml
Created January 29, 2019 11:56
app-operator CRs
apiVersion: application.giantswarm.io/v1alpha1
kind: App
metadata:
name: "test-app"
namespace: "default"
labels:
app: "test-app"
giantswarm.io/managed-by: "app-operator"
app-operator.giantswarm.io/version: "1.0.0"
@rossf7
rossf7 / gist:925dd2c05f4908b5ba4fdceac1cc8594
Created June 7, 2018 13:17
Test case for mounting configmaps with a subpath
apiVersion: v1
kind: ConfigMap
metadata:
name: resolv-conf-configmap
labels:
app: configmap-test
data:
resolv.conf: |
nameserver 8.8.8.8
@rossf7
rossf7 / Gopkg.lock
Created March 28, 2018 15:07
Gopkg.lock using Helm portforwarder package
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
[[projects]]
name = "cloud.google.com/go"
packages = ["compute/metadata"]
revision = "4b98a6370e36d7a85192e7bad08a4ebd82eac2a8"
version = "v0.20.0"
[[projects]]
@rossf7
rossf7 / vault.yaml
Created May 16, 2017 06:32
Run Vault 0.6.4 in Kubernetes for giantswarm/cert-operator development
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: vault
namespace: default
labels:
app: vault
spec:
replicas: 1
strategy:

Keybase proof

I hereby claim:

  • I am rossf7 on github.
  • I am rossf7 (https://keybase.io/rossf7) on keybase.
  • I have a public key ASBOoTnaZKxkeSsQ53BwxbYVUQTUAqBQSKLct8VW-3YDoAo

To claim this, I am signing this object:

{
"ImageName" : "microscaling/microscaling",
"WebhookURL" : "/images/microscaling/microscaling/iG_hT0DFI2z0AmA9EjeiADlfnJU=",
"Labels" : {
"org.label-schema.version" : "0.7.4",
"org.label-schema.vcs-url" : "https://github.com/microscaling/microscaling.git",
"org.label-schema.vcs-ref" : "ef36cfe",
"org.label-schema.name" : "Microscaling Engine",
"org.label-schema.build-date" : "2016-09-09T14:34:47Z",
}
Building in Docker Cloud's infrastructure...
Cloning into '.'...
Executing build hook...
Build hook running
Sending build context to Docker daemon 76.8 kB
@rossf7
rossf7 / build_hook.sh
Last active January 14, 2019 07:02
Build hook for a Docker Hub automated build
#!/bin/bash
# File needs to be called /hooks/build relative to the Dockerfile.
# $IMAGE_NAME var is injected into the build so the tag is correct.
echo "Build hook running"
docker build --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
--build-arg VCS_REF=`git rev-parse --short HEAD` \
-t $IMAGE_NAME .
@rossf7
rossf7 / production.yml
Created May 26, 2015 11:29
force12-ecs-launch-config
#cloud-config
coreos:
units:
-
name: amazon-ecs-agent.service
command: start
runtime: true
content: |
[Unit]