Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| #!/bin/bash | |
| # set up some variables | |
| NOW_DATE=$(date '+%Y-%m-%d-%H-%M') | |
| RESTORE_FROM_INSTANCE_ID=<source name> | |
| TARGET_INSTANCE_ID=<target name> | |
| TARGET_INSTANCE_CLASS=db.m4.large | |
| VPC_ID=<vpc subnet id> | |
| NEW_MASTER_PASS=<root password> |
abs(float) - Returns the absolute value of a given float.
Example: abs(1) returns 1, and abs(-1) would also return 1,
whereas abs(-3.14) would return 3.14. See also the signum function.
basename(path) - Returns the last element of a path.
base64decode(string) - Given a base64-encoded string, decodes it and
returns the original string.
| ########################################## | |
| # Gatekeeper # | |
| # Open Policy Agent (OPA) For Kubernetes # | |
| # https://youtu.be/14lGc7xMAe4 # | |
| ########################################## | |
| # Referenced videos: | |
| # - How to run local multi-node Kubernetes clusters using kind: https://youtu.be/C0v5gJSWuSo | |
| # - Kustomize - How to Simplify Kubernetes Configuration Management: https://youtu.be/Twtbg6LFnAg |