Skip to content

Instantly share code, notes, and snippets.

@calvin-puram
Last active April 11, 2022 16:37
Show Gist options
  • Select an option

  • Save calvin-puram/b32543cb090c7fa6b762ba650b55b89b to your computer and use it in GitHub Desktop.

Select an option

Save calvin-puram/b32543cb090c7fa6b762ba650b55b89b to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
name: faucet
spec:
selector:
matchLabels:
app: faucet
template:
metadata:
labels:
app: faucet
spec:
containers:
- name: faucet-server
image: composablefi/faucet-server:2802770
ports:
- containerPort: 8080
env:
- name: SLACK_SIGNING_KEY
valueFrom:
secretKeyRef:
name: faucet-secret
key: SLACK_SIGNING_KEY
- name: ROOT_KEY
valueFrom:
secretKeyRef:
name: faucet-secret
key: ROOT_KEY
- name: SKIP_WASM_BUILD
value: "1"
- name: RUST_LOG
value: "debug"
---
apiVersion: v1
kind: Service
metadata:
name: faucet-service
spec:
type: ClusterIP
selector:
app: faucet
ports:
- protocol: TCP
port: 8080
targetPort: 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment