Skip to content

Instantly share code, notes, and snippets.

View pixie79's full-sized avatar

Mark Olliver pixie79

  • UK
  • 00:33 (UTC +01:00)
View GitHub Profile
## Global Docker image parameters
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
## Current available global Docker image parameters: imageRegistry and imagePullSecrets
##
# global:
# imageRegistry: myRegistryName
# imagePullSecrets:
# - myRegistryKeySecretName
# storageClass: myStorageClass
## Override the namespace for resource deployed by the chart, but can itself be overridden by the local namespaceOverride
---
apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
name: mongo-pod-cert
spec:
secretName: mongo-pod-cert
duration: 2160h # 90d
renewBefore: 360h # 15d
isCA: false
def walk(f):
. as $in
| if type == "object" then
reduce keys[] as $key
( {}; . + { ($key): ($in[$key] | walk(f)) } ) | f
elif type == "array" then map( walk(f) ) | f
else f
end;
walk(if type == "object" then . | del(.id) | del(.label) | del(.path) | del(.maxSelectedCountMessage) | del(.isNew) | del(.dataSrc) | del(.disableLimit) | del(.filter) | del(.fuseOptions) | del(.autoAdjust) | del(.offset) | del(.pull) | del(.push) | del(.width) | del(.createdOn) | del(.onvrdisplayactivatelatest) | del(.updatedOn) | del(.access) | del(.className) | del(.content) | del(.refreshOnChange) | del(.tag) | del(.html) | del(.inputMasks) | del(.collapsed) | del(.addAnother) | del(.addAnotherPosition) | del(.dayFirst) | del(.maxDate) | del(.minDate) | del(.as) | del(.case) | del(.inputMasks) | del(.isUploadEnabled) | del(.uploadDir) | del(.uploadOptions) | del(.uploadStorage) | del(.uploadUrl) | del(.inDataGrid) | del(.groupToggle) | del(.rowGroups) | del(.authenticate) | del(.clearOnRefresh) | del(.cus
<dbSystemConfig type="POSTGRESQL">
<schemas>
<schema name="public" />
</schemas>
<extensions>
<extension name="uuid-ossp" />
</extensions>
<environments>
<dbEnvironment
name="docker"

Keybase proof

I hereby claim:

  • I am pixie79 on github.
  • I am markolliverkeao (https://keybase.io/markolliverkeao) on keybase.
  • I have a public key whose fingerprint is 6E7E 9E84 5F66 F29B 44C1 F096 4B0E 06A8 A473 73EF

To claim this, I am signing this object:

#!/usr/bin/env bash
# Copyright 2016 The Kubernetes Authors. All rights reserved.
#
# 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
#
#!/usr/bin/env bash
#
# Script to remove GPG key from git-crypt
#
# It will re-initialize git-crypt for the repository and re-add all keys except
# the one requested for removal.
#
# Note: You still need to change all your secrets to fully protect yourself.
# Removing a user will prevent them from reading future changes but they will
# still have a copy of the data up to the point of their removal.
@pixie79
pixie79 / chown_usb
Last active January 23, 2017 15:36
#!/bin/bash
set -eux -o pipefail
USBDISK="${NONE:-$1}"
if [[ "${USER}" == root ]]
then
USER="${SUDO_USER}"
fi

Keybase proof

I hereby claim:

  • I am pixie79 on github.
  • I am markolliverkeao (https://keybase.io/markolliverkeao) on keybase.
  • I have a public key whose fingerprint is 6E7E 9E84 5F66 F29B 44C1 F096 4B0E 06A8 A473 73EF

To claim this, I am signing this object:

{% for x in groups['elasticsearch_masters'] %}
- name: {{ x }}
container_ip: "172.16.7.7"
{% endfor %}