Skip to content

Instantly share code, notes, and snippets.

@jmrobles
Created May 10, 2020 17:39
Show Gist options
  • Save jmrobles/946f2a46b84a3cbac6885e731b965fdb to your computer and use it in GitHub Desktop.
Save jmrobles/946f2a46b84a3cbac6885e731b965fdb to your computer and use it in GitHub Desktop.
cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: ConfigMap
metadata:
name: config
data:
config: |
address-pools:
- name: default
protocol: layer2
addresses:
- 123.123.123.123
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment