imfreedom/k8s-cluster
Move 50-ci.imfreedom.org to kustomize
--- a/50-ci.imfreedom.org.yaml Thu Jun 17 02:27:31 2021 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,324 +0,0 @@
-# teamcity is a continuous integration system from jetbrains. This manifest
-# sets it up as well as a postgres instance.
----
----
-apiVersion: networking.k8s.io/v1
----
- imagePullPolicy: Always
- - name: POSTGRES_PASSWORD
- - mountPath: /var/lib/postgresql/data
----
-kind: PersistentVolumeClaim
----
-apiVersion: gemini.fairwinds.com/v1beta1
----
-apiVersion: traefik.containo.us/v1alpha1
- - match: Host(`ci.imfreedom.org`) || Host(`artifacts.imfreedom.org`)
----
-apiVersion: traefik.containo.us/v1alpha1
- maxRequestBodyBytes: 16777216
- memRequestBodyBytes: 209715
----
-apiVersion: traefik.containo.us/v1alpha1
- - match: Host(`ci.imfreedom.org`) || Host(`artifacts.imfreedom.org`)
----
-apiVersion: cert-manager.io/v1alpha2
- commonName: ci.imfreedom.org
- - artifacts.imfreedom.org
----
----
-apiVersion: networking.k8s.io/v1
----
- image: docker.io/rwgrim/teamcity-server:latest
- imagePullPolicy: Always
- - name: TEAMCITY_SERVER_MEM_OPTS
- value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Xmx3g -XX:ReservedCodeCacheSize=350m
- - name: TEAMCITY_HTTPS_PROXY_ENABLED
- - mountPath: /data/teamcity_server/datadir/
- - mountPath: /opt/teamcity/logs/
- - mountPath: /opt/teamcity/temp/
----
-kind: PersistentVolumeClaim
----
-apiVersion: gemini.fairwinds.com/v1beta1
----
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/50-ci.imfreedom.org/postgres/kustomization.yaml Thu Jun 17 02:40:36 2021 -0500
@@ -0,0 +1,14 @@
+ disableNameSuffixHash: true --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/50-ci.imfreedom.org/postgres/manifest.yaml Thu Jun 17 02:40:36 2021 -0500
@@ -0,0 +1,113 @@
+apiVersion: networking.k8s.io/v1 + imagePullPolicy: Always + - name: POSTGRES_PASSWORD + - mountPath: /var/lib/postgresql/data +kind: PersistentVolumeClaim +apiVersion: gemini.fairwinds.com/v1beta1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/50-ci.imfreedom.org/teamcity/kustomization.yaml Thu Jun 17 02:40:36 2021 -0500
@@ -0,0 +1,8 @@
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/50-ci.imfreedom.org/teamcity/manifest.yaml Thu Jun 17 02:40:36 2021 -0500
@@ -0,0 +1,176 @@
+apiVersion: traefik.containo.us/v1alpha1 + - match: Host(`ci.imfreedom.org`) || Host(`artifacts.imfreedom.org`) +apiVersion: traefik.containo.us/v1alpha1 + maxRequestBodyBytes: 16777216 + memRequestBodyBytes: 209715 +apiVersion: traefik.containo.us/v1alpha1 + - match: Host(`ci.imfreedom.org`) || Host(`artifacts.imfreedom.org`) +apiVersion: cert-manager.io/v1alpha2 + commonName: ci.imfreedom.org + - artifacts.imfreedom.org +apiVersion: networking.k8s.io/v1 + image: docker.io/rwgrim/teamcity-server:latest + imagePullPolicy: Always + - name: TEAMCITY_SERVER_MEM_OPTS + value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Xmx3g -XX:ReservedCodeCacheSize=350m + - name: TEAMCITY_HTTPS_PROXY_ENABLED + - mountPath: /data/teamcity_server/datadir/ + - mountPath: /opt/teamcity/logs/ + - mountPath: /opt/teamcity/temp/ +kind: PersistentVolumeClaim +apiVersion: gemini.fairwinds.com/v1beta1