Provisioning Kubernetes Cluster BareMetal with KubeSpray
2x Ubuntu Server 20.04LTS
| #!/bin/bash | |
| # | |
| # https://docs.docker.com/build/buildkit/ | |
| # https://github.com/docker/buildx/releases/ | |
| # https://github.com/docker/buildx | |
| VERSION=v0.14.1 | |
| mkdir -p $HOME/.docker/cli-plugins |
This gist is based on [Kubernetes Dashboard](https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/} deploy docs. I think you have installed the Nginx Iingress Controller.
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml| // https://developer.paddle.com/webhooks/signature-verification shows code using a `Verifier` class | |
| // to check that the message from Paddle is authentic. | |
| // Sadly, it doesn't explain where the value for the `$request` variable comes from. It seems you need to use | |
| // the PSR framework for that, but I was unable to find a way to use it for getting the data for the POST | |
| // I am handling in my webhook handler. | |
| // Fortunately, I was able to resolve this by looking into the code of the Verifier class from the SDK. | |
| // Here's a version that does not rely on PSR. You still haveo to install Paddle's PHP SDK, though, | |
| // see https://github.com/PaddleHQ/paddle-php-sdk/ | |
| require_once 'vendor/autoload.php'; // the path to your vendor dir created with "composer" tool |