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
| cat /jffs/scripts/ddns-start | |
| ################### | |
| #!/bin/sh | |
| inadyn --cache-dir "/tmp/mnt/diversion/inadyn" --once -f "/jffs/inadyn.conf" -e "/sbin/ddns_custom_updated 1" --continue-on-error "/sbin/ddns_custom_updated 1" | |
| ################### | |
| cat /jffs/inadyn.conf | |
| ################### | |
| provider duckdns.org { | |
| username = <token> |
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
| heat_template_version: queens | |
| description: > | |
| Software Config to drive os-net-config to configure VLANs for the Controller role. | |
| parameters: | |
| ControlPlaneIp: | |
| default: '' | |
| description: IP address/subnet on the ctlplane network | |
| type: string | |
| StorageIpSubnet: | |
| default: '' |
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
| apiVersion: v1 | |
| kind: Template | |
| labels: | |
| template: "openshift-routes-and-services" | |
| metadata: | |
| name: httpd-cert-tests | |
| annotations: | |
| description: "Demo of secret signing for certs, routes, and service types" | |
| tags: "httpd" | |
| objects: |
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
| apiVersion: v1 | |
| kind: Template | |
| labels: | |
| template: "httpd-cert-tests" | |
| metadata: | |
| name: httpd-cert-tests | |
| annotations: | |
| description: "Demo of secret signing for certs" | |
| tags: "httpd" | |
| objects: |
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
| apiVersion: v1 | |
| kind: Template | |
| labels: | |
| template: "httpd-cert-tests" | |
| metadata: | |
| name: envoy-test-template | |
| annotations: | |
| description: "Demo of secret signing for certs" | |
| tags: "httpd" | |
| objects: |
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
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| labels: | |
| app: hello | |
| version: v1 | |
| name: hello | |
| namespace: istio-test | |
| spec: | |
| progressDeadlineSeconds: 600 |
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
| #!/bin/bash | |
| #pass project name argument while running this shell script | |
| kubectl proxy & | |
| echo "Deleting the namespace $1" | |
| oc project $1 | |
| oc delete --all all,secret,pvc > /dev/null | |
| oc get ns $1 -o json > tempfile | |
| sed -i 's/"kubernetes"//g' tempfile |
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
| # to test: | |
| # curl http://envoy-test.apps.86cc.example.opentlc.com/config-server | |
| # apache output: | |
| # 127.0.0.1 - - [27/Feb/2020:01:33:48 +0000] "GET / HTTP/1.1" 403 3985 "-" "curl/7.29.0" | |
| # | |
| # curl http://envoy-test.apps.86cc.example.opentlc.com/config-server/foo | |
| # 127.0.0.1 - - [27/Feb/2020:01:35:58 +0000] "GET /foo HTTP/1.1" 404 196 "-" "curl/7.29.0" | |
| # | |
| # curl http://envoy-test.apps.86cc.example.opentlc.com/config-server/foo/bar | |
| # 127.0.0.1 - - [27/Feb/2020:01:36:35 +0000] "GET /foo/bar HTTP/1.1" 404 196 "-" "curl/7.29.0" |
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
| yum -y install bash-completion | |
| https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest-4.2/openshift-client-linux-4.2.13.tar.gz | |
| oc completion bash >> /etc/bash_completion.d/oc_completion | |
| https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest-4.2/openshift-install-linux-4.2.13.tar.gz | |
| openshift-install completion bash >> /etc/bash_completion.d/openshift-install_completion |
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
| defaults | |
| mode http | |
| log global | |
| option httplog | |
| option dontlognull | |
| option forwardfor except 127.0.0.0/8 | |
| option redispatch | |
| retries 3 | |
| timeout http-request 10s | |
| timeout queue 1m |
NewerOlder