-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
431 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: app-config | ||
data: | ||
website: "localhost" | ||
hg-domain: "hg-staging.languageforge.org" | ||
hg-protocol: "https" | ||
hg-username: "lf-merge" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# template, copy into env folder and change the values, then add as a patch to the kustomization.yaml file | ||
|
||
- op: replace | ||
path: /spec/rules/0/host | ||
value: localhost | ||
- op: replace | ||
path: /spec/tls/0/hosts | ||
value: | ||
- localhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: languageforge | ||
|
||
resources: | ||
- app-deployment.yaml | ||
- db-deployment.yaml | ||
- lfmerge-deployment.yaml | ||
- lfmerge-pvcs.yaml | ||
- mail-deployment.yaml | ||
- next-app-deployment.yaml | ||
- next-proxy-deployment.yaml | ||
- app-config.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
# https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
name: lf-project-assets | ||
spec: | ||
accessModes: | ||
- ReadWriteMany | ||
resources: | ||
requests: | ||
storage: 10Gi | ||
storageClassName: weekly-snapshots-retain-4 # provided by LTOps | ||
|
||
--- | ||
|
||
# https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
name: lfmerge-sendreceive-data | ||
spec: | ||
accessModes: | ||
- ReadWriteMany | ||
resources: | ||
requests: | ||
storage: 50Gi | ||
storageClassName: weekly-snapshots-retain-4 # provided by LTOps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: app-config | ||
data: | ||
website: "languageforge.org" | ||
hg-domain: "hg-public.languagforge.org" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# template, copy into env folder and change the values, then add as a patch to the kustomization.yaml file | ||
|
||
- op: replace | ||
path: /spec/rules/0/host | ||
value: languageforge.org | ||
- op: replace | ||
path: /spec/tls/0/hosts | ||
value: | ||
- languageforge.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: languageforge | ||
|
||
resources: | ||
- ../base | ||
|
||
# both next app and next proxy require their own images, but the image name web-languageforge was reused for them | ||
# with a different tag to select the correct image instead of making a new image name | ||
# because of that we have to do a bit of a workaround to allow setting the image tag for the correct container | ||
images: | ||
- name: sillsdev/web-languageforge | ||
newTag: 2023-09-21 | ||
- name: sillsdev/web-languageforge-next-proxy | ||
newName: sillsdev/web-languageforge | ||
newTag: next-proxy-2023-09-21 | ||
- name: sillsdev/web-languageforge-next-app | ||
newName: sillsdev/web-languageforge | ||
newTag: next-app-2023-09-21 | ||
- name: ghcr.io/sillsdev/lfmerge | ||
newTag: 2.0.135 | ||
|
||
patches: | ||
- path: app-config-patch.yaml | ||
- path: lfmerge-pvcs-patch.yaml | ||
- path: ingress-config-patch.yaml | ||
target: | ||
kind: Ingress | ||
name: languageforge-app | ||
namespace: languageforge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
name: lfmerge-sendreceive-data | ||
spec: | ||
resources: | ||
requests: | ||
storage: 70Gi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: app-config | ||
data: | ||
website: "staging.languageforge.org" | ||
hg-domain: "lexbox.languagedepot:5158" #reference lexbox service in the same cluster | ||
hg-protocol: "http" |
Oops, something went wrong.