Skip to content

Deploy releases/k8s-manifests ac2e70b #111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 25, 2025
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
96 changes: 95 additions & 1 deletion choose-native-plants/Deployment/choose-native-plants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ spec:
key: password
name: mongo
optional: false
envFrom:
- secretRef:
name: pac-api
image: 'mongo:5.0.6'
imagePullPolicy: IfNotPresent
name: choose-native-plants-db
Expand Down Expand Up @@ -87,6 +90,18 @@ spec:
key: IMAGE_URLS_SHEET_ID
name: app
optional: false
- name: PAC_API_BASE_URL
valueFrom:
secretKeyRef:
key: PAC_API_BASE_URL
name: pac-api
optional: false
- name: PAC_API_KEY
valueFrom:
secretKeyRef:
key: PAC_API_KEY
name: pac-api
optional: false
- name: SUPERPLANTS_CSV_URL
valueFrom:
secretKeyRef:
Expand Down Expand Up @@ -123,6 +138,80 @@ spec:
key: SERVICE_ACCOUNT
name: app
optional: false
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
key: AWS_ACCESS_KEY_ID
name: linode-storage
optional: false
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
key: AWS_SECRET_ACCESS_KEY
name: linode-storage
optional: false
- name: AWS_DEFAULT_REGION
valueFrom:
secretKeyRef:
key: AWS_DEFAULT_REGION
name: linode-storage
optional: false
- name: LINODE_BUCKET_NAME
valueFrom:
secretKeyRef:
key: LINODE_BUCKET_NAME
name: linode-storage
optional: false
- name: LINODE_ENDPOINT_URL
valueFrom:
secretKeyRef:
key: LINODE_ENDPOINT_URL
name: linode-storage
optional: false
- name: PAC_API_BASE_URL
valueFrom:
secretKeyRef:
key: PAC_API_BASE_URL
name: pac-api
optional: false
- name: PAC_API_KEY
valueFrom:
secretKeyRef:
key: PAC_API_KEY
name: pac-api
optional: false
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
key: AWS_ACCESS_KEY_ID
name: linode-storage
optional: false
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
key: AWS_SECRET_ACCESS_KEY
name: linode-storage
optional: false
- name: AWS_DEFAULT_REGION
valueFrom:
secretKeyRef:
key: AWS_DEFAULT_REGION
name: linode-storage
optional: false
- name: LINODE_BUCKET_NAME
valueFrom:
secretKeyRef:
key: LINODE_BUCKET_NAME
name: linode-storage
optional: false
- name: LINODE_ENDPOINT_URL
valueFrom:
secretKeyRef:
key: LINODE_ENDPOINT_URL
name: linode-storage
optional: false
- name: NODE_OPTIONS
value: '--openssl-legacy-provider --max-old-space-size=768'
envFrom:
- configMapRef:
name: app-config
Expand All @@ -139,6 +228,11 @@ spec:
- containerPort: 3000
name: http
protocol: TCP
resources:
limits:
memory: 1Gi
requests:
memory: 512Mi
volumeMounts:
- mountPath: /app/images
name: choose-native-plants-app-images
Expand All @@ -147,7 +241,7 @@ spec:
volumes:
- name: choose-native-plants-app-images
persistentVolumeClaim:
claimName: choose-native-plants-app-images
claimName: choose-native-plants-app-images-v2
- name: choose-native-plants-mongo-data
persistentVolumeClaim:
claimName: choose-native-plants-mongo-data

This file was deleted.

This file was deleted.