0.1.8 • Published 4 years ago
@naughtydev/hyde v0.1.8
Example Kubernetes configuration
I built this software to work with kubernetes, so the following is all you need to get your pod up and running. Future updates will include triggering a build on every pod, for right now it only works with a single pod.
apiVersion: apps/v1
kind: Deployment
metadata:
name: hyde
spec:
selector:
matchLabels:
app: hyde
template:
metadata:
labels:
app: hyde
spec:
containers:
- name: hyde
image: rob2600/hyde:dev
env:
- name: HYDE_PORT
value: "8000"
- name: HYDE_REPO
value: git@github.com:example/example.com.git
- name: HYDE_WEBHOOKS_SECRET
value: SuperSecretWebhookPasswordHere
- name: GIT_DEPLOY_KEY
value: |
-----BEGIN RSA PRIVATE KEY-----
... blah blah ...
-----END RSA PRIVATE KEY-----
From this point you will want to load balance with nginx or other proxy of choice.