This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Defines our Vagrant environment | |
# | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
nodeCount = 2 | |
image = "debian/buster64" | |
ipRangeStart = 40 | |
Vagrant.configure("2") do |config| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# the leading '.' in the dockerconfigfile key we are interested in | |
# makes the syntax harder then it should be, pay attention to the syntax used here | |
kubectl get secret/regcred -o json | jq -r '.data[".dockerconfigjson"]' | base64 -d | |
# OR | |
kubectl get secret/regcred -o jsonapath="{.data.\.dockerconfigjson}" | base64 -d |