Skip to content
This repository was archived by the owner on Jul 7, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions bin/load-secrets.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/env bash

microk8s kubectl create secret generic deploy-config --from-env-file=secrets.env
26 changes: 26 additions & 0 deletions deployments/web-manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,32 @@ spec:
limits:
cpu: 500m
memory: 500Mi
env:
- name: VITE_REOWN_WALLET_PROJECT_ID
valueFrom:
secretKeyRef:
name: deploy-config
key: VITE_REOWN_WALLET_PROJECT_ID
- name: VITE_ALCHEMY_ID
valueFrom:
secretKeyRef:
name: deploy-config
key: VITE_ALCHEMY_ID
- name: VITE_SERVICE_WEB_PUBLIC_URL
valueFrom:
secretKeyRef:
name: deploy-config
key: VITE_SERVICE_WEB_PUBLIC_URL
- name: WEB_PORT
valueFrom:
secretKeyRef:
name: deploy-config
key: WEB_PORT
- name: SERVICE_WEB_PORT
valueFrom:
secretKeyRef:
name: deploy-config
key: SERVICE_WEB_PORT
restartPolicy: Always
---
apiVersion: v1
Expand Down