Skip to content

Commit

Permalink
Merge pull request #97 from CodeForPhilly/releases/k8s-manifests
Browse files Browse the repository at this point in the history
Deploy releases/k8s-manifests 4691ec4
  • Loading branch information
themightychris committed Jul 20, 2024
2 parents 63f3783 + 4691ec4 commit 4706f02
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code-for-philly/CronJob/code-for-philly-backups.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
labels:
Expand Down
18 changes: 17 additions & 1 deletion code-for-philly/Deployment/code-for-philly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,19 @@ spec:
default_timezone = "America/New_York"
[sites.default]
handle = "code-for-philly"
primary_hostname = "codeforphilly.org"
title = "Code for Philly"
[core]
[limit]
memory = "200M"
post = "200M"
execution_time = "30"
[cache]
size = "512M"
- name: HAB_MYSQL
value: |
app_username = "admin"
Expand All @@ -63,13 +72,20 @@ spec:
name: saml2
- secretRef:
name: slack
image: 'ghcr.io/codeforphilly/codeforphilly.org/site-composite:1.3.5'
image: 'ghcr.io/codeforphilly/codeforphilly.org/site-composite:1.3.8'
imagePullPolicy: Always
name: code-for-philly-site
ports:
- containerPort: 80
name: http
protocol: TCP
- containerPort: 3306
name: mysql
protocol: TCP
resources:
limits: {}
requests:
memory: 300Mi
volumeMounts:
- mountPath: /hab/svc/site/data
name: code-for-philly-site
Expand Down
3 changes: 3 additions & 0 deletions code-for-philly/Service/code-for-philly-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ spec:
- name: http
port: 80
protocol: TCP
- name: mysql
port: 3306
protocol: TCP
selector:
app.kubernetes.io/instance: code-for-philly
app.kubernetes.io/name: code-for-philly

0 comments on commit 4706f02

Please sign in to comment.