Skip to content

Instantly share code, notes, and snippets.

View agunnerson-ibm's full-sized avatar

Andrew Gunnerson (IBM) agunnerson-ibm

View GitHub Profile
From c3494537eb37842c45da8a7ca52ce70be18b7c33 Mon Sep 17 00:00:00 2001
From: Andrew Gunnerson <andrew.gunnerson@us.ibm.com>
Date: Mon, 8 Oct 2018 12:08:32 -0400
Subject: [PATCH] certificate_manager: Check that template differs from current
cert before rotation
Signed-off-by: Andrew Gunnerson <andrew.gunnerson@us.ibm.com>
---
.../util/certificate/certificate_manager.go | 48 +++++++++++--------
1 file changed, 29 insertions(+), 19 deletions(-)
@agunnerson-ibm
agunnerson-ibm / human_readable.sh
Last active May 30, 2019 16:58
Bash function to convert bytes to human readable size
# Copyright 2015 Andrew Gunnerson <andrewgunnerson@gmail.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
[docker-deps-x86_64]
name=Copr repo for docker-deps owned by andrewexplorys (x86_64)
baseurl=https://copr-be.cloud.fedoraproject.org/results/andrewexplorys/docker-deps/epel-6-x86_64/
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/andrewexplorys/docker-deps/pubkey.gpg
enabled=1
enabled_metadata=1
[docker-deps-i386]
[docker-deps-x86_64]
name=Copr repo for docker-deps owned by andrewexplorys (x86_64)
baseurl=https://copr-be.cloud.fedoraproject.org/results/andrewexplorys/docker-deps/epel-6-x86_64/
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/andrewexplorys/docker-deps/pubkey.gpg
enabled=1
enabled_metadata=1
[docker-deps-i386]