helm tiller run $(CHART_NAMESPACE) -- bash -c "helm install \
--name $(CHART_NAME) \
--namespace=$(CHART_NAMESPACE) \
-f <(kubectl get secrets helm-secret-values -o jsonpath='{.data.app}' | base64 --decode) \
$(CHART)"
This file contains 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
BREW_HOME=$HOME/.homebrew | |
$ brew install libxml2 | |
$ brew link libxml2 | |
$ brew install https://github.com/adamv/homebrew-alt/raw/master/duplicates/libxslt.rb | |
$ brew link libxslt | |
$ brew install libiconv | |
$ brew link libiconv | |
$ gem install nokogiri -- --with-xml2-dir=$BREW_HOME/Cellar/libxml2/2.7.8 --with-xslt-dir=$BREW_HOME/Cellar/libxslt/1.1.26 --with-iconv-dir=$BREW_HOME/Cellar/libiconv/1.13.1/ |
This file contains 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
git checkout develop | |
git pull engx develop # now your develop branch is up to date with what is currently checked in on develop in github | |
git checkout <name of your feature branch> | |
hack hack hack | |
git commit |
This file contains 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
- name: Install Helm chart | |
include_role: | |
name: k8s.helm | |
tasks_from: install | |
apply: | |
tags: | |
- never | |
- helm-install | |
loop: | |
- chart: "{{ _helm_chart }}" |
Creating a self-signed CA
$ openssl req -new -x509 -nodes -days 365 -out CA.crt -keyout CA.key -subj '/CN=Test CA'
$ openssl req -new -nodes -out cert.req -keyout cert.key -subj '/CN=*.openstack.local'
$ openssl x509 -req -in cert.req -CA CA.crt -CAkey CA.key -CAcreateserial -days 365 -out cert.crt
View the expiration date for an x509 certificate. Unless passing the -days
flag when creating the CA cert, it will default to '30', as defined by the default_crl_days
option in /etc/ssl/openssl.cnf.
$ openssl x509 -text -in CA.crt
I hereby claim:
- I am retr0h on github.
- I am retr0h (https://keybase.io/retr0h) on keybase.
- I have a public key whose fingerprint is 6D96 1F4A 1864 CE9C 5ED9 D99B D312 9167 EFCA 1072
To claim this, I am signing this object:
This file contains 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
bindkey -M vicmd "k" history-search-backward | |
bindkey -M vicmd "j" history-search-forward | |
bindkey -M vicmd "?" history-incremental-search-backward | |
bindkey -M vicmd "/" history-incremental-search-forward | |
bindkey -M isearch "k" history-search-backward | |
bindkey -M isearch "j" history-search-forward |
This file contains 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
[xxx@mcp1 ~]$ ip addr a | |
Not enough information: "dev" argument is required. | |
[metacloud@mcp1 ~]$ ip a | |
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1 | |
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 | |
inet 127.0.0.1/8 scope host lo | |
valid_lft forever preferred_lft forever | |
2: eth0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 state UP qlen 1000 | |
link/ether de:56:82:80:aa:37 brd ff:ff:ff:ff:ff:ff | |
3: eth1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 state UP qlen 1000 |
This file contains 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
#!/usr/bin/env sh | |
### Download and install megaraidcli; | |
FILE="megacli_8.02.16.orig.tar.gz" | |
LINK="http://hwraid.le-vert.net/ubuntu/sources/$FILE" | |
wget $LINK -O /tmp/$FILE | |
( | |
cd /tmp |
This file contains 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
[jodewey:~/git/molecule_2/test/scenarios/driver/docker] [molecule2-env-2.7.13] master(+4/-0)+ ± git diff | |
diff --git a/test/scenarios/driver/docker/molecule/default/tests/test_default.py b/test/scenarios/driver/docker/molecule/default/tests/test_default.py | |
index 5143d9b..6b77b07 100644 | |
--- a/test/scenarios/driver/docker/molecule/default/tests/test_default.py | |
+++ b/test/scenarios/driver/docker/molecule/default/tests/test_default.py | |
@@ -26,3 +26,7 @@ def test_etc_molecule_ansible_hostname_file(host): | |
assert f.user == 'root' | |
assert f.group == 'root' | |
assert f.mode == 0o644 | |
+ |
NewerOlder