@naughtydev/hyde

0.1.8 • Public • Published

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.

/@naughtydev/hyde/

    Package Sidebar

    Install

    npm i @naughtydev/hyde

    Weekly Downloads

    0

    Version

    0.1.8

    License

    none

    Unpacked Size

    7.44 kB

    Total Files

    5

    Last publish

    Collaborators

    • xnite