Compare commits
418 Commits
dev
...
priv-redis
| Author | SHA1 | Date | |
|---|---|---|---|
| 2e00aceed1 | |||
| 1eb0e6c630 | |||
| bcf6d5b582 | |||
| 2bc0748ab8 | |||
| dbc230de9c | |||
| 58abecc074 | |||
| aac2b7bd2c | |||
| c4b8ed8185 | |||
| b5a3585fa7 | |||
| 2a37d6d182 | |||
| 0f6f5cf14e | |||
| 50d2c88be2 | |||
| 06b5b3e4a4 | |||
| a1c6852173 | |||
| 7d044764cb | |||
| 74d429ee49 | |||
| de4e9b9b22 | |||
| bfbf4ffba7 | |||
| 1ecd8eeb91 | |||
| 02ea91bb03 | |||
| 9115931e76 | |||
| 3896e1ec4f | |||
| 625b0bf319 | |||
| 0b99b54825 | |||
| 00f02e5067 | |||
| 2affcfb103 | |||
| ee491e25c0 | |||
| 189a6546f8 | |||
| a5175488f6 | |||
| 7fda8cecd9 | |||
| e4bb425944 | |||
| d235a3cdea | |||
| 74936fe9b7 | |||
| 9dbedbcf75 | |||
| 5c95f39c84 | |||
| 055aa404aa | |||
| a24e467991 | |||
| 2c7a1baffe | |||
| b23305c5d9 | |||
| ba56ee5dac | |||
| 2316c661b0 | |||
| 91407d6ff4 | |||
| acd2f17076 | |||
| 898fa6e0c6 | |||
| d7df338c95 | |||
| f9796e5208 | |||
| a839bb48ec | |||
| e536345fe1 | |||
| 070220a26c | |||
| 1b44b49a4b | |||
| 4419f911af | |||
| 696755f2dc | |||
| 2b473364be | |||
| 52514f32b8 | |||
| ed71d76790 | |||
| 29fc43f796 | |||
| a78ebd1a96 | |||
| dcfd063be4 | |||
| 56ada0e393 | |||
| e50d16dfec | |||
| 6f239fe48c | |||
| a7b722b616 | |||
| 3636f2eea4 | |||
| 818f037feb | |||
| 1b7e0e6635 | |||
| c4b8cee3f8 | |||
| 7851681c35 | |||
| 2a2e23b79f | |||
| 1dcac4767d | |||
| e5b086f973 | |||
| 3bce847954 | |||
| e2a3ad50cb | |||
| 7146d19f3c | |||
| 823fabfae4 | |||
| 17a4fb1622 | |||
| e8f70357bf | |||
| 8b48106f06 | |||
| 7f08fefd56 | |||
| e922693b52 | |||
| da2ceeed52 | |||
| a278190fd3 | |||
| 032f4701b9 | |||
| d8e5b48488 | |||
| 394d035969 | |||
| a8e17b0bca | |||
| 83a2e97568 | |||
| 5cb15f3a87 | |||
| 5b72f938ba | |||
| 2f2d5ba787 | |||
| 5e3dbe5e6d | |||
| ef1136f16d | |||
| df481c0cd2 | |||
| f7a704cf84 | |||
| 30191b1491 | |||
| 6422c7e7f2 | |||
| 7b42000743 | |||
| ee9b8c0e10 | |||
| 4c4edc285c | |||
| ed486baefd | |||
| cb80883161 | |||
| b61f29d8ee | |||
| e462f0b4ec | |||
| b3fa5bac98 | |||
| 306a223592 | |||
| e9da4a9ab6 | |||
| 1e90a6bfab | |||
| c243de22c8 | |||
| 00c0873eed | |||
| c6b66cf363 | |||
| ff584303c4 | |||
| bbcf79aeb3 | |||
| 4bce2dd19f | |||
| 8fd46c5362 | |||
| 2e096f77c8 | |||
| 621120aa03 | |||
| 27b6edb2f8 | |||
| ac213969e1 | |||
| 91bb327f25 | |||
| 09f6bd9e11 | |||
| daefa1130d | |||
| 2b4b619236 | |||
| a70ca81fb3 | |||
| f297475534 | |||
| 3eaf3d61fc | |||
| 0b50437b9b | |||
| 2112d3decc | |||
| 3b0b261092 | |||
| 8827153ac3 | |||
| 423d6c7a63 | |||
| 05295eafe7 | |||
| fd2d757504 | |||
| 9b7dc4d51b | |||
| a7382d8cdf | |||
| 63dabec1b9 | |||
| 2a4ff8ce59 | |||
| f2ee92c78f | |||
| 5d9930cba2 | |||
| 7a53370c6c | |||
| bfef95f5ec | |||
| 569e12ad59 | |||
| 3229012a3c | |||
| 73a828c8e9 | |||
| 21323e0b37 | |||
| 9dbfde76bd | |||
| 832eb5766b | |||
| 351939706a | |||
| 06affea347 | |||
| 4c35c489b3 | |||
| eebfe4e583 | |||
| 4b7337677b | |||
| 3457879466 | |||
| c7338b4dce | |||
| 148170c3ed | |||
| 156da412f3 | |||
| 1fad11992f | |||
| 50925f3f9e | |||
| 2fc4249a22 | |||
| 75a61bfd60 | |||
| 3430c02d40 | |||
| 8966224736 | |||
| 3b4c727619 | |||
| 2cdab2c5c9 | |||
| 80742c41dc | |||
| a2f066ac28 | |||
| 178c1310ad | |||
| 8fb71916b1 | |||
| 052b06843d | |||
| e146a67afd | |||
| dd769158ae | |||
| d07fdbe356 | |||
| 956838404b | |||
| 07bc85ee48 | |||
| 5fef65774a | |||
| 3166dc921a | |||
| 713e9f1fc4 | |||
| accd4d3e4e | |||
| e0af3046ca | |||
| 9939db5afb | |||
| a45351700e | |||
| 501d6bbe7d | |||
| 1fd1c78eb9 | |||
| dee2082624 | |||
| 317ebe4403 | |||
| 0c53cc454f | |||
| c0f9f38207 | |||
| 351fce65f5 | |||
| 10ee204d98 | |||
| 84d6a8a401 | |||
| e4cfba439a | |||
| f37c8654e4 | |||
| 01a1893a4a | |||
| c71a991a8d | |||
| e102552fdc | |||
| ae15aed80b | |||
| e1ae63a355 | |||
| c8c827d59d | |||
| 32c18be199 | |||
| 81ca527d9d | |||
| becb14d9f0 | |||
| 7ea9b64fd3 | |||
| 03fe52f4d9 | |||
| 5d597499ea | |||
| 9e52ab30c1 | |||
| 68f32481ba | |||
| 5678309d12 | |||
| dcd1c6c7de | |||
| 71efeaff2b | |||
| 9acb343ee4 | |||
| 8489c19069 | |||
| 3338eff2ab | |||
| d7226d1493 | |||
| 131ffc99ad | |||
| 8d61a21ef3 | |||
| bf288d1820 | |||
| 01743a0422 | |||
| 637336630b | |||
| 2ed24b105a | |||
| 9f8871197f | |||
| 4a10713f43 | |||
| 3a3a1e949d | |||
| c58c71f2af | |||
| 60e0a02ff1 | |||
| c687beeb67 | |||
| 8eb6749eb8 | |||
| 79ff024dfb | |||
| 0ca373930e | |||
| 8851c07257 | |||
| 9bc56bdcb9 | |||
| 36bf5a667e | |||
| e0c0f144d1 | |||
| 0673b6699a | |||
| bbe6a13229 | |||
| 973dcdf490 | |||
| 876f7cf55b | |||
| be3be3c816 | |||
| 9c489ab651 | |||
| 17aeae836f | |||
| 7220cad121 | |||
| b4499db3ea | |||
| 10be10574e | |||
| 5af465c307 | |||
| bd036bb4e8 | |||
| 1548508954 | |||
| 13bf08aebd | |||
| 69a7bd2943 | |||
| 0714cefb2b | |||
| 665d23c7e4 | |||
| c4ff6923a5 | |||
| dc2012b083 | |||
| 95e8e5940c | |||
| 65ee4efd62 | |||
| af1b0d7ee0 | |||
| 9e4457cae4 | |||
| 06e963ddc6 | |||
| 6eb95bfd3f | |||
| d69c2069b5 | |||
| 9b8d50c00d | |||
| e6e5d074e8 | |||
| 90e2d0a20d | |||
| 6b66bc23a3 | |||
| 6ad2b10fe0 | |||
| e188378eb8 | |||
| e782577311 | |||
| 7e58e93184 | |||
| 8a02bd8f84 | |||
| e643eecb7a | |||
| 545e8657c1 | |||
| e993393f88 | |||
| e1f68b3942 | |||
| 1f63af30ad | |||
| 72a7b18da6 | |||
| b82cb90e53 | |||
| 486a2ea8e1 | |||
| 5eca3281c9 | |||
| 92fc9996a4 | |||
| d94981a81d | |||
| 3bc988c2d9 | |||
| 22ba3b81a9 | |||
| 1ffe86c69b | |||
| fdbe5c0d3d | |||
| feabf3edf2 | |||
| 0db89c5c92 | |||
| 36b954b9f7 | |||
| 426f049af5 | |||
| 0894be86f4 | |||
| 7c18a9bfdb | |||
| ba2b1d9b2c | |||
| 62d65e5573 | |||
| 39b254637c | |||
| d435b1c42a | |||
| b5983a23ca | |||
| 44223c5ed1 | |||
| c96a86a141 | |||
| 3b44b6040f | |||
| 32dbc9b4d2 | |||
| 361d067638 | |||
| 6b749bc975 | |||
| 1b76b76f1f | |||
| b91f4b829b | |||
| 74181b06b9 | |||
| 1fdf1e0cf8 | |||
| cd0eb2455b | |||
| cb135c9eba | |||
| d14799703d | |||
| fc771cd38e | |||
| eda80a5ff5 | |||
| e498f85302 | |||
| 48776c52af | |||
| 3cbd136ce7 | |||
| bc13003c33 | |||
| ec935572ba | |||
| c7fc1c7c32 | |||
| 86a49dbd5c | |||
| 6d288c37be | |||
| 9ea8ce6315 | |||
| da9ce1dfb2 | |||
| e2359cdaf3 | |||
| 7dabdf2846 | |||
| 2d834c44a1 | |||
| 16b98ca445 | |||
| 608cf98661 | |||
| 40b0ff7a41 | |||
| 4549005ada | |||
| e66dc910c7 | |||
| c7f624b33d | |||
| db42092f47 | |||
| 064c953d45 | |||
| 497ee084e6 | |||
| 48bc79853f | |||
| d7a3658c5b | |||
| 2e34c48c7a | |||
| debfb1e3b1 | |||
| 6bfc37c723 | |||
| 39f9f70a70 | |||
| 7fc84977b1 | |||
| 2aa6de5d99 | |||
| 467a3b5545 | |||
| 920defbaaf | |||
| 5bbc37277c | |||
| ca428222ad | |||
| e45d4cb473 | |||
| c44fa90d5e | |||
| 50b4cb669a | |||
| f3e9d171c0 | |||
| 09d1387ff7 | |||
| ec0733d54f | |||
| 46279ece77 | |||
| 77b7ec0037 | |||
| 017463a330 | |||
| 72f1abb06e | |||
| 61ce347927 | |||
| e3ce874d50 | |||
| 62a5b0860c | |||
| 0d224acda3 | |||
| ebf4b140b2 | |||
| e7161a6666 | |||
| a4ac65c40a | |||
| 39d6c6ee7d | |||
| 33891cd20e | |||
| e7629a49d3 | |||
| 085ffb523e | |||
| 89827a4399 | |||
| 4f21bc07bf | |||
| b03f196727 | |||
| 0449e904b4 | |||
| 656ae05253 | |||
| 06cc2561a1 | |||
| 758ef9adde | |||
| afb6e3914d | |||
| 72a41d732e | |||
| 9866036272 | |||
| 017f14e95f | |||
| 5467bcdd79 | |||
| 97157e5911 | |||
| e68d39e883 | |||
| 944e19a8de | |||
| 020efc1627 | |||
| 5f4b7c413a | |||
| 8cefc5fa10 | |||
| 1c56a7127a | |||
| b00af494fd | |||
| a035db6c72 | |||
| fcdc019cb5 | |||
| 6a1400b106 | |||
| e8de9a6780 | |||
| 1132a9f58a | |||
| 57fb261a66 | |||
| 00ad12d88a | |||
| f42f311ac9 | |||
| 5b538414e2 | |||
| e81af536c3 | |||
| 62ae4bd74b | |||
| 6914a3762c | |||
| 4e15e8357f | |||
| b9a84f8682 | |||
| 8c59ebc5b4 | |||
| ec8ec832ec | |||
| f9886a5f76 | |||
| 2410295c03 | |||
| 8d94406425 | |||
| 547c5b2eae | |||
| 3a552e5206 | |||
| 54a5313131 | |||
| b20cca5b57 | |||
| 976967e1dd | |||
| f33eea3044 | |||
| 38898cd7bd | |||
| 3caaf20d45 | |||
| 4e9eed9004 | |||
| e1e9cddea4 | |||
| b1817e8690 | |||
| ff5ff14d49 | |||
| ea3b0b71b9 | |||
| 4dd5e2f4db | |||
| 5627b3e332 | |||
| f3b77e91b3 | |||
| 70755932b2 | |||
| 12a6b001e5 |
+4
-4
@@ -14,8 +14,8 @@ release:
|
||||
script:
|
||||
- |
|
||||
cd $CI_PROJECT_DIR
|
||||
for i in $(git show --pretty="" --name-only | grep '^[^/]*/chart/Chart.yaml' | cut -d/ -f1); do
|
||||
pack=$(helm package $i/chart | sed 's/Success.*: \(.*\)/\1/')
|
||||
for i in $(git show --pretty="" --name-only | grep '^charts/.*/Chart.yaml' | cut -d/ -f2); do
|
||||
pack=$(helm package ./charts/$i | sed 's/Success.*: \(.*\)/\1/')
|
||||
if [ ! -z $pack ]; then
|
||||
chart=$(basename $pack)
|
||||
curl --request POST \
|
||||
@@ -33,8 +33,8 @@ rebuild:
|
||||
script:
|
||||
- |
|
||||
cd $CI_PROJECT_DIR
|
||||
for i in $(find -maxdepth 3 -name Chart.yaml | cut -d/ -f2); do
|
||||
pack=$(helm package $i/chart | sed 's/Success.*: \(.*\)/\1/')
|
||||
for i in $(find ./charts -maxdepth 2 -name Chart.yaml | cut -d/ -f3); do
|
||||
pack=$(helm package ./charts/$i | sed 's/Success.*: \(.*\)/\1/')
|
||||
if [ ! -z $pack ]; then
|
||||
chart=$(basename $pack)
|
||||
curl --request POST \
|
||||
|
||||
@@ -13,7 +13,7 @@ spec:
|
||||
hostname: archmeister.srv.oceanbox.io
|
||||
autoSync: false
|
||||
prune: true
|
||||
- cluster: https://staging-vcluster.staging-vcluster:443
|
||||
- cluster: https://staging-vcluster.staging-vcluster
|
||||
env: staging
|
||||
hostname: archmeister.beta.oceanbox.io
|
||||
autoSync: true
|
||||
@@ -28,8 +28,8 @@ spec:
|
||||
server: "{{ .cluster }}"
|
||||
sources:
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
path: charts/archmeister
|
||||
targetRevision: main
|
||||
path: kustomizations/archmeister
|
||||
plugin:
|
||||
name: kustomize-helm-with-rewrite
|
||||
parameters:
|
||||
@@ -43,4 +43,5 @@ spec:
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: {{ .prune }}
|
||||
selfHeal: false
|
||||
{{- end }}
|
||||
|
||||
@@ -3,14 +3,34 @@ kind: Application
|
||||
metadata:
|
||||
name: atlantis-host-cluster-resources
|
||||
namespace: argocd
|
||||
# annotations: # close, but no cigar
|
||||
# argocd.argoproj.io/compare-options: ServerSideDiff=true,IncludeMutationWebhook=true
|
||||
spec:
|
||||
project: atlantis
|
||||
project: aux
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
syncPolicy:
|
||||
automated: {}
|
||||
source:
|
||||
repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: false
|
||||
ignoreDifferences:
|
||||
- kind: Secret
|
||||
name: prod-rabbitmq
|
||||
jqPathExpressions:
|
||||
- '.data'
|
||||
- '.metadata.annotations.clone'
|
||||
- '.metadata.labels'
|
||||
- kind: Secret
|
||||
name: prod-redis
|
||||
jqPathExpressions:
|
||||
- '.data'
|
||||
- '.metadata.annotations.clone'
|
||||
- '.metadata.labels'
|
||||
sources:
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: main
|
||||
path: resources/atlantis/host-manifests
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: main
|
||||
path: 'resources/atlantis/manifests/prod'
|
||||
|
||||
|
||||
@@ -1,27 +1,41 @@
|
||||
# Currently not in use. Configured via the create-vcluster script.
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: atlantis-resources
|
||||
namespace: argocd
|
||||
spec:
|
||||
goTemplate: true
|
||||
generators:
|
||||
- list:
|
||||
elements:
|
||||
- cluster: https://kubernetes.default.svc
|
||||
env: prod
|
||||
- cluster: https://staging-vcluster.staging-vcluster:443
|
||||
env: staging
|
||||
autoSync: false
|
||||
prune: false
|
||||
# - cluster: https://staging-vcluster.staging-vcluster
|
||||
# env: staging
|
||||
# autoSync: false
|
||||
# prune: false
|
||||
template:
|
||||
metadata:
|
||||
name: '{{ env }}-atlantis-resources'
|
||||
name: "{{ .env }}-atlantis-resources"
|
||||
spec:
|
||||
project: atlantis
|
||||
project: aux
|
||||
syncPolicy:
|
||||
automated: {}
|
||||
destination:
|
||||
server: '{{ cluster }}'
|
||||
server: "{{ .cluster }}"
|
||||
namespace: atlantis
|
||||
sources:
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
path: 'resources/atlantis/manifests/{{ env }}'
|
||||
sources: {}
|
||||
# - repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
# targetRevision: main
|
||||
# path: 'resources/atlantis/manifests/{{ env }}'
|
||||
templatePatch: |
|
||||
{{- if .autoSync }}
|
||||
spec:
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: {{ .prune }}
|
||||
selfHeal: false
|
||||
{{- end }}
|
||||
|
||||
@@ -13,7 +13,7 @@ spec:
|
||||
hostname: atlantis.srv.oceanbox.io
|
||||
autoSync: false
|
||||
prune: true
|
||||
- cluster: https://staging-vcluster.staging-vcluster:443
|
||||
- cluster: https://staging-vcluster.staging-vcluster
|
||||
env: staging
|
||||
hostname: atlantis.beta.oceanbox.io
|
||||
autoSync: true
|
||||
@@ -28,8 +28,8 @@ spec:
|
||||
server: '{{ .cluster }}'
|
||||
sources:
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
path: charts/atlantis
|
||||
targetRevision: main
|
||||
path: kustomizations/atlantis
|
||||
plugin:
|
||||
name: kustomize-helm-with-rewrite
|
||||
parameters:
|
||||
@@ -37,13 +37,11 @@ spec:
|
||||
string: '{{ .env }}'
|
||||
- name: hostname
|
||||
string: '{{ .hostname }}'
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
path: charts/atlantis/manifests
|
||||
templatePatch: |
|
||||
{{- if .autoSync }}
|
||||
spec:
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: {{ .prune }}
|
||||
selfHeal: false
|
||||
{{- end }}
|
||||
|
||||
@@ -7,24 +7,24 @@ spec:
|
||||
generators:
|
||||
- list:
|
||||
elements:
|
||||
- cluster: https://kubernetes.default.svc
|
||||
env: prod
|
||||
hostname: busynix.srv.oceanbox.io
|
||||
- cluster: https://staging-vcluster.staging-vcluster:443
|
||||
# - cluster: https://kubernetes.default.svc
|
||||
# env: prod
|
||||
# hostname: busynix.srv.oceanbox.io
|
||||
- cluster: https://staging-vcluster.staging-vcluster
|
||||
env: staging
|
||||
hostname: busynix.beta.oceanbox.io
|
||||
template:
|
||||
metadata:
|
||||
name: '{{ env }}-busynix'
|
||||
spec:
|
||||
project: atlantis
|
||||
project: aux
|
||||
destination:
|
||||
namespace: default
|
||||
server: '{{ cluster }}'
|
||||
source:
|
||||
repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
path: charts/busynix
|
||||
targetRevision: main
|
||||
path: kustomizations/busynix
|
||||
plugin:
|
||||
name: kustomize-helm-with-rewrite
|
||||
parameters:
|
||||
|
||||
@@ -9,13 +9,13 @@ spec:
|
||||
elements:
|
||||
- cluster: https://kubernetes.default.svc
|
||||
env: prod
|
||||
- cluster: https://staging-vcluster.staging-vcluster:443
|
||||
- cluster: https://staging-vcluster.staging-vcluster
|
||||
env: staging
|
||||
template:
|
||||
metadata:
|
||||
name: '{{ env }}-cerbos'
|
||||
spec:
|
||||
project: atlantis
|
||||
project: aux
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: idp
|
||||
@@ -25,8 +25,8 @@ spec:
|
||||
chart: cerbos
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/charts/cerbos/values.yaml
|
||||
- $values/charts/cerbos/values-{{ env }}.yaml
|
||||
- $values/kustomizations/cerbos/values.yaml
|
||||
- $values/kustomizations/cerbos/values-{{ env }}.yaml
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
targetRevision: main
|
||||
ref: values
|
||||
|
||||
@@ -4,12 +4,12 @@ metadata:
|
||||
name: dex
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: atlantis
|
||||
project: aux
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: idp
|
||||
source:
|
||||
repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
path: charts/dex/manifests
|
||||
targetRevision: main
|
||||
path: kustomizations/dex/manifests
|
||||
|
||||
|
||||
@@ -17,14 +17,14 @@ spec:
|
||||
metadata:
|
||||
name: '{{ env }}-geoserver'
|
||||
spec:
|
||||
project: atlantis
|
||||
project: aux
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: geoserver
|
||||
sources:
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
path: charts/geoserver
|
||||
targetRevision: main
|
||||
path: kustomizations/geoserver
|
||||
plugin:
|
||||
name: kustomize-helm-with-rewrite
|
||||
parameters:
|
||||
|
||||
@@ -13,7 +13,7 @@ spec:
|
||||
hostname: hipster.srv.oceanbox.io
|
||||
autoSync: false
|
||||
prune: true
|
||||
- cluster: https://staging-vcluster.staging-vcluster:443
|
||||
- cluster: https://staging-vcluster.staging-vcluster
|
||||
env: staging
|
||||
hostname: hipster.beta.oceanbox.io
|
||||
autoSync: true
|
||||
@@ -28,8 +28,8 @@ spec:
|
||||
server: '{{ .cluster }}'
|
||||
sources:
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
path: charts/hipster
|
||||
targetRevision: main
|
||||
path: kustomizations/hipster
|
||||
plugin:
|
||||
name: kustomize-helm-with-rewrite
|
||||
parameters:
|
||||
@@ -43,4 +43,5 @@ spec:
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: {{ .prune }}
|
||||
selfHeal: false
|
||||
{{- end }}
|
||||
|
||||
@@ -10,13 +10,13 @@ spec:
|
||||
namespace: jaeger
|
||||
sources:
|
||||
- repoURL: https://jaegertracing.github.io/helm-charts
|
||||
targetRevision: 2.50.1
|
||||
targetRevision: 2.54.0
|
||||
chart: jaeger-operator
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/charts/jaeger/values.yaml
|
||||
- $values/kustomizations/jaeger/values.yaml
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
# path: charts/jaeger/manifests
|
||||
targetRevision: main
|
||||
# path: kustomizations/jaeger/manifests
|
||||
ref: values
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ metadata:
|
||||
name: keycloak
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: atlantis
|
||||
project: aux
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: idp
|
||||
@@ -14,8 +14,8 @@ spec:
|
||||
chart: keycloak
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/charts/keycloak/values.yaml
|
||||
- $values/kustomizations/keycloak/values.yaml
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
targetRevision: main
|
||||
ref: values
|
||||
|
||||
|
||||
@@ -0,0 +1,150 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: loki
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
namespace: loki
|
||||
server: 'https://kubernetes.default.svc'
|
||||
project: aux
|
||||
ignoreDifferences:
|
||||
- group: apps
|
||||
kind: StatefulSet
|
||||
jsonPointers:
|
||||
- /spec/persistentVolumeClaimRetentionPolicy
|
||||
syncPolicy:
|
||||
managedNamespaceMetadata:
|
||||
labels:
|
||||
component: aux
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ApplyOutOfSyncOnly=true
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
sources:
|
||||
- repoURL: https://gitlab.com/serit/k8s/serit-platform-manifests.git
|
||||
path: network-policies/netpol-loki
|
||||
targetRevision: HEAD
|
||||
- repoURL: 'https://grafana.github.io/helm-charts'
|
||||
targetRevision: 6.12.0
|
||||
chart: loki
|
||||
helm:
|
||||
values: |
|
||||
loki:
|
||||
auth_enabled: false
|
||||
storage:
|
||||
bucketNames:
|
||||
chunks: loki-chunks
|
||||
ruler: loki-chunks
|
||||
admin: loki-chunks
|
||||
s3:
|
||||
endpoint: http://10.255.241.30:30080
|
||||
region: tos
|
||||
secretAccessKey: ${S3SECRET}
|
||||
accessKeyId: ${S3KEY}
|
||||
s3ForcePathStyle: true
|
||||
http_config:
|
||||
insecure_skip_verify: true
|
||||
schemaConfig:
|
||||
configs:
|
||||
- from: "2024-04-01"
|
||||
index:
|
||||
period: 24h
|
||||
prefix: loki_index_
|
||||
object_store: s3
|
||||
schema: v13
|
||||
store: tsdb
|
||||
compactor:
|
||||
compaction_interval: 10m
|
||||
working_directory: /tmp/loki/compactor
|
||||
retention_enabled: true
|
||||
retention_delete_delay: 2h
|
||||
retention_delete_worker_count: 150
|
||||
delete_request_store: s3
|
||||
limits_config:
|
||||
retention_period: 744h
|
||||
write:
|
||||
extraArgs:
|
||||
- -config.expand-env=true
|
||||
extraEnv:
|
||||
- name: S3KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: loki-s3
|
||||
key: AWS_ACCESS_KEY_ID
|
||||
- name: S3SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: loki-s3
|
||||
key: AWS_ACCESS_KEY_SECRET
|
||||
tolerations:
|
||||
- effect: "NoSchedule"
|
||||
operator: "Equal"
|
||||
key: "unschedulable"
|
||||
value: "true"
|
||||
read:
|
||||
extraArgs:
|
||||
- -config.expand-env=true
|
||||
extraEnv:
|
||||
- name: S3KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: loki-s3
|
||||
key: AWS_ACCESS_KEY_ID
|
||||
- name: S3SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: loki-s3
|
||||
key: AWS_ACCESS_KEY_SECRET
|
||||
tolerations:
|
||||
- effect: "NoSchedule"
|
||||
operator: "Equal"
|
||||
key: "unschedulable"
|
||||
value: "true"
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: nginx
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-staging
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
atlantis.oceanbox.io/expose: internal
|
||||
hosts:
|
||||
- loki.adm.oceanbox.io
|
||||
tls:
|
||||
- hosts:
|
||||
- loki.adm.oceanbox.io
|
||||
secretName: loki-distributed-tls
|
||||
compactor:
|
||||
extraArgs:
|
||||
- -config.expand-env=true
|
||||
extraEnv:
|
||||
- name: S3KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: loki-s3
|
||||
key: AWS_ACCESS_KEY_ID
|
||||
- name: S3SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: loki-s3
|
||||
key: AWS_ACCESS_KEY_SECRET
|
||||
backend:
|
||||
extraArgs:
|
||||
- -config.expand-env=true
|
||||
extraEnv:
|
||||
- name: S3KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: loki-s3
|
||||
key: AWS_ACCESS_KEY_ID
|
||||
- name: S3SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: loki-s3
|
||||
key: AWS_ACCESS_KEY_SECRET
|
||||
@@ -0,0 +1,47 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: openfga
|
||||
namespace: argocd
|
||||
spec:
|
||||
goTemplate: true
|
||||
generators:
|
||||
- list:
|
||||
elements:
|
||||
- cluster: https://kubernetes.default.svc
|
||||
env: prod
|
||||
hostname: openfga.adm.oceanbox.io
|
||||
autoSync: false
|
||||
prune: true
|
||||
- cluster: https://kubernetes.default.svc
|
||||
env: staging
|
||||
hostname: openfga.dev.oceanbox.io
|
||||
autoSync: true
|
||||
prune: true
|
||||
template:
|
||||
metadata:
|
||||
name: '{{ .env }}-openfga'
|
||||
spec:
|
||||
project: aux
|
||||
destination:
|
||||
namespace: idp
|
||||
server: '{{ .cluster }}'
|
||||
sources:
|
||||
- repoURL: https://openfga.github.io/helm-charts
|
||||
targetRevision: 0.2.12
|
||||
chart: openfga
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/kustomizations/openfga/values.yaml
|
||||
- $values/kustomizations/openfga/values-{{ .env }}.yaml
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: main
|
||||
ref: values
|
||||
templatePatch: |
|
||||
{{- if .autoSync }}
|
||||
spec:
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: {{ .prune }}
|
||||
selfHeal: false
|
||||
{{- end }}
|
||||
@@ -0,0 +1,106 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: opentelemetry-collector
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
namespace: otel
|
||||
server: 'https://kubernetes.default.svc'
|
||||
project: aux
|
||||
syncPolicy:
|
||||
# managedNamespaceMetadata:
|
||||
# labels:
|
||||
# component: aux
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ApplyOutOfSyncOnly=true
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
sources:
|
||||
- repoURL: 'https://open-telemetry.github.io/opentelemetry-helm-charts'
|
||||
targetRevision: 0.107.0
|
||||
chart: opentelemetry-collector
|
||||
helm:
|
||||
values: |
|
||||
mode: deployment
|
||||
image:
|
||||
repository: otel/opentelemetry-collector-k8s
|
||||
config:
|
||||
receivers:
|
||||
prometheus/collector:
|
||||
config:
|
||||
scrape_configs:
|
||||
- job_name: 'opentelemetry-collector'
|
||||
static_configs:
|
||||
- targets:
|
||||
- ${env:MY_POD_IP}:8888
|
||||
zipkin:
|
||||
endpoint: ${env:MY_POD_IP}:9411
|
||||
exporters:
|
||||
otlp:
|
||||
endpoint: "tempo.tempo.svc:4317"
|
||||
tls:
|
||||
insecure: true
|
||||
otlphttp/metrics:
|
||||
endpoint: http://prom-prometheus.prometheus:9090/api/v1/otlp
|
||||
tls:
|
||||
insecure: true
|
||||
otlphttp/logs:
|
||||
endpoint: http://loki-write-headless.loki:3100/otlp
|
||||
tls:
|
||||
insecure: true
|
||||
debug/metrics:
|
||||
verbosity: detailed
|
||||
debug/traces:
|
||||
verbosity: detailed
|
||||
debug/logs:
|
||||
verbosity: detailed
|
||||
service:
|
||||
telemetry:
|
||||
logs:
|
||||
level: "info"
|
||||
pipelines:
|
||||
traces:
|
||||
receivers: [otlp,zipkin]
|
||||
processors: [batch]
|
||||
exporters: [otlp]
|
||||
# exporters: [otlphttp/traces,debug/traces]
|
||||
metrics:
|
||||
receivers: [otlp,prometheus/collector]
|
||||
processors: [batch]
|
||||
exporters: [otlphttp/metrics]
|
||||
# exporters: [otlphttp/metrics,debug/metrics]
|
||||
logs:
|
||||
receivers: [otlp]
|
||||
processors: [batch]
|
||||
exporters: [otlphttp/logs]
|
||||
# exporters: [otlphttp/logs,debug/logs]
|
||||
ports:
|
||||
metrics:
|
||||
enabled: true
|
||||
# presets:
|
||||
# logsCollection:
|
||||
# enabled: true
|
||||
ingress:
|
||||
enabled: true
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-staging
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
atlantis.oceanbox.io/expose: internal
|
||||
ingressClassName: nginx
|
||||
hosts:
|
||||
- host: collector.adm.oceanbox.io
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
port: 4318
|
||||
tls:
|
||||
- secretName: collector-tls
|
||||
hosts:
|
||||
- collector.adm.oceanbox.io
|
||||
@@ -10,21 +10,21 @@ spec:
|
||||
- cluster: https://kubernetes.default.svc
|
||||
env: prod
|
||||
hostname: osm.srv.oceanbox.io
|
||||
- cluster: https://staging-vcluster.staging-vcluster:443
|
||||
- cluster: https://staging-vcluster.staging-vcluster
|
||||
env: staging
|
||||
hostname: osm.beta.oceanbox.io
|
||||
template:
|
||||
metadata:
|
||||
name: '{{ env }}-osm-tile-server'
|
||||
spec:
|
||||
project: atlantis
|
||||
project: aux
|
||||
destination:
|
||||
namespace: oceanbox
|
||||
server: '{{ cluster }}'
|
||||
source:
|
||||
repoURL: https://gitlab.com/oceanbox/charts.git
|
||||
repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: HEAD
|
||||
path: charts/osm-tile-server
|
||||
path: kustomizations/osm-tile-server
|
||||
plugin:
|
||||
name: kustomize-helm-with-rewrite
|
||||
parameters:
|
||||
|
||||
@@ -13,7 +13,7 @@ spec:
|
||||
hostname: petimeter.srv.oceanbox.io
|
||||
autoSync: false
|
||||
prune: true
|
||||
- cluster: https://staging-vcluster.staging-vcluster:443
|
||||
- cluster: https://staging-vcluster.staging-vcluster
|
||||
env: staging
|
||||
hostname: petimeter.beta.oceanbox.io
|
||||
autoSync: true
|
||||
@@ -28,8 +28,8 @@ spec:
|
||||
server: '{{ .cluster }}'
|
||||
sources:
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
path: charts/petimeter
|
||||
targetRevision: main
|
||||
path: kustomizations/petimeter
|
||||
plugin:
|
||||
name: kustomize-helm-with-rewrite
|
||||
parameters:
|
||||
@@ -38,12 +38,13 @@ spec:
|
||||
- name: hostname
|
||||
string: '{{ .hostname }}'
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
path: charts/petimeter/manifests
|
||||
targetRevision: main
|
||||
path: kustomizations/petimeter/manifests
|
||||
templatePatch: |
|
||||
{{- if .autoSync }}
|
||||
spec:
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: {{ .prune }}
|
||||
selfHeal: false
|
||||
{{- end }}
|
||||
|
||||
@@ -17,7 +17,7 @@ spec:
|
||||
metadata:
|
||||
name: '{{ env }}-rabbitmq'
|
||||
spec:
|
||||
project: atlantis
|
||||
project: aux
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: rabbitmq
|
||||
@@ -27,8 +27,8 @@ spec:
|
||||
chart: rabbitmq
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/charts/rabbitmq/values-{{ env }}.yaml
|
||||
- $values/kustomizations/rabbitmq/values-{{ env }}.yaml
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
path: charts/rabbitmq/{{ env }}
|
||||
targetRevision: main
|
||||
path: kustomizations/rabbitmq/{{ env }}
|
||||
ref: values
|
||||
|
||||
+17
-24
@@ -9,38 +9,31 @@ spec:
|
||||
elements:
|
||||
- cluster: https://kubernetes.default.svc
|
||||
env: prod
|
||||
hostname: redis.srv.oceanbox.io
|
||||
- cluster: https://kubernetes.default.svc
|
||||
env: staging
|
||||
hostname: redis.beta.oceanbox.io
|
||||
template:
|
||||
metadata:
|
||||
name: '{{ env }}-redis'
|
||||
spec:
|
||||
project: atlantis
|
||||
project: aux
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: redis
|
||||
sources:
|
||||
# - repoURL: https://charts.bitnami.com/bitnami
|
||||
# targetRevision: 18.9.1
|
||||
# chart: redis
|
||||
# helm:
|
||||
# valueFiles:
|
||||
# - $values/redis/values.yaml
|
||||
# - repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
# targetRevision: HEAD
|
||||
# path: charts/redis/{{ env }}
|
||||
# ref: values
|
||||
- repoURL: https://charts.bitnami.com/bitnami
|
||||
targetRevision: 19.5.2
|
||||
chart: redis
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/kustomizations/redis/values-{{ env }}.yaml
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
path: charts/redis
|
||||
plugin:
|
||||
name: kustomize-helm-with-rewrite
|
||||
parameters:
|
||||
- name: env
|
||||
string: '{{ env }}'
|
||||
- name: hostname
|
||||
string: '{{ hostname }}'
|
||||
- name: chart
|
||||
string: bitnami/redis
|
||||
targetRevision: HEAD
|
||||
ref: values
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: main
|
||||
path: kustomizations/redis/{{ env }}
|
||||
ignoreDifferences:
|
||||
- group: apps
|
||||
kind: StatefulSet
|
||||
jqPathExpressions:
|
||||
- '.spec.template.spec.containers[].resources.limits.cpu'
|
||||
|
||||
@@ -4,7 +4,7 @@ metadata:
|
||||
name: seq
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: atlantis
|
||||
project: aux
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: seq
|
||||
@@ -14,7 +14,7 @@ spec:
|
||||
chart: seq
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/charts/seq/values.yaml
|
||||
- $values/kustomizations/seq/values.yaml
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
targetRevision: main
|
||||
ref: values
|
||||
|
||||
@@ -10,12 +10,12 @@ spec:
|
||||
elements:
|
||||
- cluster: https://10.255.241.99:4443
|
||||
env: prod
|
||||
hostname: sorcerer.srv.archive.oceanbox.io
|
||||
hostname: sorcerer.data.oceanbox.io
|
||||
autoSync: false
|
||||
prune: true
|
||||
- cluster: https://10.255.241.99:4443
|
||||
env: staging
|
||||
hostname: sorcerer.beta.archive.oceanbox.io
|
||||
hostname: sorcerer.ekman.oceanbox.io
|
||||
autoSync: true
|
||||
prune: true
|
||||
template:
|
||||
@@ -24,12 +24,12 @@ spec:
|
||||
spec:
|
||||
project: atlantis
|
||||
destination:
|
||||
namespace: oceanbox
|
||||
namespace: sorcerer
|
||||
server: '{{ .cluster }}'
|
||||
sources:
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
path: charts/sorcerer
|
||||
targetRevision: main
|
||||
path: kustomizations/sorcerer
|
||||
plugin:
|
||||
name: kustomize-helm-with-rewrite
|
||||
parameters:
|
||||
@@ -43,4 +43,5 @@ spec:
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: {{ .prune }}
|
||||
selfHeal: false
|
||||
{{- end }}
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: tempo
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
namespace: tempo
|
||||
server: 'https://kubernetes.default.svc'
|
||||
project: aux
|
||||
syncPolicy:
|
||||
# managedNamespaceMetadata:
|
||||
# labels:
|
||||
# component: aux
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ApplyOutOfSyncOnly=true
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
sources:
|
||||
- repoURL: 'https://grafana.github.io/helm-charts'
|
||||
targetRevision: 1.10.3
|
||||
chart: tempo
|
||||
helm:
|
||||
values: |
|
||||
tempo:
|
||||
storage:
|
||||
trace:
|
||||
backend: s3
|
||||
s3:
|
||||
bucket: tempo-traces
|
||||
endpoint: http://10.255.241.30:30080
|
||||
access_key: ${S3SECRET}
|
||||
secret_key: ${S3KEY}
|
||||
insecure: true
|
||||
backend: local
|
||||
local:
|
||||
path: /var/tempo/traces
|
||||
wal:
|
||||
path: /var/tempo/wal
|
||||
metricsGenerator:
|
||||
enabled: true
|
||||
remoteWriteUrl: "http://prom-prometheus.prometheus:9090/api/v1/write"
|
||||
extraEnv:
|
||||
- name: S3KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: tempo-s3
|
||||
key: AWS_ACCESS_KEY_ID
|
||||
- name: S3SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: tempo-s3
|
||||
key: AWS_ACCESS_KEY_SECRET
|
||||
tempoQuery:
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: nginx
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-staging
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
atlantis.oceanbox.io/expose: internal
|
||||
path: /
|
||||
pathType: Prefix
|
||||
hosts:
|
||||
- query.tempo.adm.oceanbox.io
|
||||
tls:
|
||||
- secretName: tempo-query-tls
|
||||
hosts:
|
||||
- query.tempo.adm.oceanbox.io
|
||||
@@ -0,0 +1,14 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: yolo-dl
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: aux
|
||||
destination:
|
||||
server: https://10.255.241.99:4443
|
||||
namespace: oceanbox
|
||||
sources:
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: main
|
||||
path: charts/yolo-dl
|
||||
@@ -1,18 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
annotations:
|
||||
managed-by: argocd.argoproj.io
|
||||
labels:
|
||||
argocd.argoproj.io/secret-type: cluster
|
||||
name: staging-vcluster
|
||||
namespace: argocd
|
||||
stringData:
|
||||
config: |
|
||||
{"bearerToken":"eyJhbGciOiJSUzI1NiIsImtpZCI6IlVrakhGancyRzVMajNvQ3Jjb2FEU0kwRnlQeGsxc0Z3OThzLWV6akljVzAifQ.eyJhdWQiOlsiaHR0cHM6Ly9rdWJlcm5ldGVzLmRlZmF1bHQuc3ZjLmNsdXN0ZXIubG9jYWwiLCJodHRwczovL2t1YmVybmV0ZXMuZGVmYXVsdC5zdmMiLCJodHRwczovL2t1YmVybmV0ZXMuZGVmYXVsdCJdLCJleHAiOjIwMjM3MjEwMDksImlhdCI6MTcwODM2MTAwOSwiaXNzIjoiaHR0cHM6Ly9rdWJlcm5ldGVzLmRlZmF1bHQuc3ZjLmNsdXN0ZXIubG9jYWwiLCJrdWJlcm5ldGVzLmlvIjp7Im5hbWVzcGFjZSI6Imt1YmUtc3lzdGVtIiwic2VydmljZWFjY291bnQiOnsibmFtZSI6ImFkbWluIiwidWlkIjoiMDRlOGJlZDQtYWUwNy00MTBiLWI4NTYtNzg3MTkzNDAzYjcyIn19LCJuYmYiOjE3MDgzNjEwMDksInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDprdWJlLXN5c3RlbTphZG1pbiJ9.TJuQb9dpgOU6w42-WSJQmu39CZ7NyXWks6itH5qtUUkOvkwRwEtChV-53epM1HNOpK3mj2IWlJ7MaUb5AVFMx0alUJthBX_kL3mjdvUdn2MbPl-S0UFPclp8JoYeALjwtSFkuch1HqlMT7s-BbhXowo8AVFXDJE3rUJBrzzFqQ_e1IIf327qUfyo_TidwVoiya7q6cRU1n-XsP6sE0cgOxnScHXZ-DpysydjKCqXFYbnz9KYVagsOdK4LPb3x-Qb6Ae4PGJAfo3myzmiha3bTGO8HFF4WmMTWrlqeCXTPjER1vVJ_RQMY_LF4G8Of9zIX-8gvTZLcQAQ6BnlmY4QxQ","tlsClientConfig":{"insecure":true}}
|
||||
name: staging-vcluster
|
||||
server: https://staging-vcluster.staging-vcluster:443
|
||||
type: Opaque
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
stringData:
|
||||
config: |
|
||||
{"bearerToken":"","tlsClientConfig":{"insecure":true}}
|
||||
name: ekman
|
||||
server: https://10.255.241.99:4443
|
||||
kind: Secret
|
||||
metadata:
|
||||
labels:
|
||||
argocd.argoproj.io/secret-type: cluster
|
||||
name: cluster-10.255.241.99-4046803085
|
||||
namespace: argocd
|
||||
type: Opaque
|
||||
|
||||
+2
-5
@@ -1,10 +1,7 @@
|
||||
FROM alpine/k8s:1.28.3
|
||||
FROM alpine/k8s:1.28.9
|
||||
|
||||
RUN mkdir -p /home/argocd/cmp-server/config/
|
||||
COPY plugin.yaml /home/argocd/cmp-server/config/
|
||||
|
||||
WORKDIR /plugin
|
||||
COPY init.sh get-values.sh generate.sh ./
|
||||
|
||||
|
||||
|
||||
COPY init-helm-repos.sh init.sh get-values.sh generate.sh ./
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
img=registry.gitlab.com/oceanbox/gitops-manifests/kustomize-helm-with-rewrite
|
||||
img=registry.gitlab.com/oceanbox/manifests/kustomize-helm-with-rewrite
|
||||
tag=${1:-latest}
|
||||
|
||||
docker build -t $img:$tag .
|
||||
+7
-6
@@ -1,23 +1,24 @@
|
||||
#!/bin/sh
|
||||
|
||||
export HOME=/tmp
|
||||
export HOME=/helm-working-dir
|
||||
|
||||
env > /tmp/$ARGOCD_APP_NAME.env
|
||||
|
||||
echo "$ARGOCD_APP_PARAMETERS" | jq '.[] | select(.name == "helm-parameters") | .map' | yq -P -oy > parameters.yaml
|
||||
cp parameters.yaml /tmp/$ARGOCD_APP_NAME-parameters.yaml
|
||||
|
||||
if [ -d chart ]; then
|
||||
CHART=chart
|
||||
elif [ -f chart -a "$PARAM_CHART" = "." ]; then
|
||||
CHART=$(cat chart)
|
||||
elif [ -n "$PARAM_CHART" ]; then
|
||||
if [ -n "$PARAM_CHART" -a "$PARAM_CHART" != "." ]; then
|
||||
CHART=$PARAM_CHART
|
||||
elif [ -d chart ]; then
|
||||
CHART=chart
|
||||
elif [ -f chart ]; then
|
||||
CHART=$(cat chart)
|
||||
else
|
||||
CHART="."
|
||||
fi
|
||||
|
||||
[ -f chart/values.yaml ] && VALUES="-f chart/values.yaml"
|
||||
[ -f values-chart.yaml ] && VALUES="$VALUES -f values-chart.yaml"
|
||||
[ -f values.yaml ] && VALUES="$VALUES -f values.yaml"
|
||||
[ -f values-$PARAM_ENV.yaml ] && VALUES="$VALUES -f values-$PARAM_ENV.yaml"
|
||||
VALUES="$VALUES -f parameters.yaml"
|
||||
+2
@@ -2,6 +2,8 @@
|
||||
|
||||
if [ -f values.yaml ]; then
|
||||
VALUES="values.yaml"
|
||||
elif [ -f values-chart.yaml ]; then
|
||||
VALUES="values-chart.yaml"
|
||||
elif [ -f chart/values.yaml ]; then
|
||||
VALUES="chart/values.yaml"
|
||||
else
|
||||
+5
-2
@@ -1,12 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
export HOME=/tmp
|
||||
export HOME=/helm-working-dir
|
||||
|
||||
helm repo add --username argocd-helm --password "$OCEANBOX_HELM_ACCESS_TOKEN" oceanbox \
|
||||
https://gitlab.com/api/v4/projects/54396343/packages/helm/stable
|
||||
|
||||
helm repo add bitnami https://charts.bitnami.com/bitnami
|
||||
helm repo add cerbos https://download.cerbos.dev/helm-charts
|
||||
helm repo add dapr https://dapr.github.io/helm-charts/
|
||||
helm repo add ncsa https://opensource.ncsa.illinois.edu/charts
|
||||
helm repo add dex https://charts.dexidp.io
|
||||
helm repo add openfga https://openfga.github.io/helm-charts
|
||||
|
||||
helm repo update
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
export HOME=/helm-working-dir
|
||||
|
||||
helm repo update oceanbox
|
||||
|
||||
if [ -n "$PARAM_CHART" -a "$PARAM_CHART" != "." ]; then
|
||||
helm show values $PARAM_CHART > values-chart.yaml
|
||||
elif [ -f chart ]; then
|
||||
CHART=$(cat chart)
|
||||
helm show values $CHART > values-chart.yaml
|
||||
fi
|
||||
@@ -0,0 +1,16 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
annotations:
|
||||
managed-by: argocd.argoproj.io
|
||||
labels:
|
||||
argocd.argoproj.io/secret-type: cluster
|
||||
name: cluster-staging-vcluster
|
||||
namespace: argocd
|
||||
stringData:
|
||||
config: |
|
||||
{"bearerToken":"","tlsClientConfig":{"insecure":true}}
|
||||
name: staging-vcluster
|
||||
server: https://staging-vcluster.staging-vcluster
|
||||
type: Opaque
|
||||
|
||||
@@ -12,7 +12,7 @@ description: Archive management for Atlantis
|
||||
type: application
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
version: v6.17.0
|
||||
version: v6.20.0
|
||||
# This is the version number of the application being deployed. This version number should be
|
||||
# incremented each time you make changes to the application.
|
||||
appVersion: v6.17.0
|
||||
appVersion: v6.20.0
|
||||
@@ -1,47 +0,0 @@
|
||||
{
|
||||
"connString": "Username=app;Password=secret;Host=prod-archmeister-rw;Port=5432;Database=app;Pooling=true;",
|
||||
"oidc": {
|
||||
"issuer": "https://idp.srv.oceanbox.io/dex",
|
||||
"authorization_endpoint": "https://idp.srv.oceanbox.io/dex/auth",
|
||||
"token_endpoint": "https://idp.srv.oceanbox.io/dex/token",
|
||||
"jwks_uri": "https://idp.srv.oceanbox.io/dex/keys",
|
||||
"userinfo_endpoint": "https://idp.srv.oceanbox.io/dex/userinfo",
|
||||
"device_authorization_endpoint": "https://idp.srv.oceanbox.io/dex/device/code",
|
||||
"clientId": "archmeister",
|
||||
"clientSecret": "",
|
||||
"scopes": [
|
||||
"openid",
|
||||
"email",
|
||||
"offline_access",
|
||||
"profile"
|
||||
]
|
||||
},
|
||||
"sso": {
|
||||
"cookieDomain": ".oceanbox.io",
|
||||
"signedOutRedirectUri": "https://idp.srv.oceanbox.io/dex/static/logout.html",
|
||||
"redis": "prod-redis-master.redis.svc,user=default,password=secret",
|
||||
"appDomain": "atlantis",
|
||||
"dataProtectionKeys": "DataProtection-Keys"
|
||||
},
|
||||
"allowedOrigins": [
|
||||
"https://maps.oceanbox.io",
|
||||
"https://atlantis.srv.oceanbox.io",
|
||||
"https://maps.relic.oceanbox.io",
|
||||
"https://sorcerer.data.oceanbox.io",
|
||||
"https://sorcerer.hpc.oceanbox.io",
|
||||
"https://jonas-sorcerer.ekman.oceanbox.io",
|
||||
"https://beta.sorcerer.ekman.oceanbox.io",
|
||||
"https://simkir-sorcerer.ekman.oceanbox.io",
|
||||
"https://stig-sorcerer.ekman.oceanbox.io",
|
||||
"https://atlantis.beta.oceanbox.io",
|
||||
"https://jonas-atlantis.beta.oceanbox.io",
|
||||
"https://simkir-atlantis.beta.oceanbox.io",
|
||||
"https://stig-atlantis.beta.oceanbox.io",
|
||||
"https://a.local.oceanbox.io:8080"
|
||||
],
|
||||
"logService" : "https://seq.oceanbox.io",
|
||||
"logApiKey": "",
|
||||
"cliUsers": [
|
||||
"admin:en-to-tre-fire"
|
||||
]
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
{
|
||||
"connString": "Username=app;Password=secret;Host=staging-archmeister-rw;Port=5432;Database=app;Pooling=true;",
|
||||
"oidc": {
|
||||
"issuer": "https://idp.srv.oceanbox.io/dex",
|
||||
"authorization_endpoint": "https://idp.srv.oceanbox.io/dex/auth",
|
||||
"token_endpoint": "https://idp.srv.oceanbox.io/dex/token",
|
||||
"jwks_uri": "https://idp.srv.oceanbox.io/dex/keys",
|
||||
"userinfo_endpoint": "https://idp.srv.oceanbox.io/dex/userinfo",
|
||||
"device_authorization_endpoint": "https://idp.srv.oceanbox.io/dex/device/code",
|
||||
"clientId": "archmeister_dev",
|
||||
"clientSecret": "",
|
||||
"scopes": [
|
||||
"openid",
|
||||
"email",
|
||||
"offline_access",
|
||||
"profile"
|
||||
]
|
||||
},
|
||||
"sso": {
|
||||
"cookieDomain": ".oceanbox.io",
|
||||
"signedOutRedirectUri": "https://idp.srv.oceanbox.io/dex/static/logout.html",
|
||||
"redis": "staging-redis-master.redis.svc,user=default,password=secret",
|
||||
"appDomain": "atlantis",
|
||||
"dataProtectionKeys": "DataProtection-Keys"
|
||||
},
|
||||
"allowedOrigins": [
|
||||
"https://atlantis.beta.oceanbox.io",
|
||||
"https://sorcerer.beta.data.oceanbox.io",
|
||||
"https://sorcerer.hpc.oceanbox.io",
|
||||
"https://s.local.oceanbox.io:8080",
|
||||
"https://maps.oceanbox.io",
|
||||
"https://jonas-atlantis.beta.oceanbox.io",
|
||||
"https://simkir-atlantis.beta.oceanbox.io",
|
||||
"https://stig-atlantis.beta.oceanbox.io",
|
||||
"https://atlantis.local.oceanbox.io:8080"
|
||||
],
|
||||
"logService" : "https://seq.oceanbox.io",
|
||||
"logApiKey": "",
|
||||
"cliUsers": [
|
||||
"admin:en-to-tre-fire"
|
||||
]
|
||||
}
|
||||
+2
-2
@@ -84,8 +84,8 @@ spec:
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
- name: appsettings
|
||||
secret:
|
||||
secretName: {{ template "Archmeister.fullname" . }}-appsettings
|
||||
configMap:
|
||||
name: {{ template "Archmeister.fullname" . }}-appsettings
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
@@ -1,26 +0,0 @@
|
||||
ingress:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
hosts:
|
||||
- host: archmeister.srv.oceanbox.io
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
tls:
|
||||
- hosts:
|
||||
- archmeister.srv.oceanbox.io
|
||||
secretName: prod-archmeister-tls
|
||||
|
||||
cluster:
|
||||
backupEnabled: true
|
||||
backupRetention: 60d
|
||||
instances: 2
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 1Gi
|
||||
requests:
|
||||
cpu: 200m
|
||||
memory: 1Gi
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
image:
|
||||
tag: 04ca077a-debug
|
||||
|
||||
ingress:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
atlantis.oceanbox.io/expose: global
|
||||
hosts:
|
||||
- host: archmeister.beta.oceanbox.io
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
tls:
|
||||
- hosts:
|
||||
- archmeister.beta.oceanbox.io
|
||||
secretName: staging-archmeister-tls
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 1Gi
|
||||
requests:
|
||||
cpu: 200m
|
||||
memory: 1Gi
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
replicaCount: 1
|
||||
image:
|
||||
repository: registry.gitlab.com/oceanbox/oceanbox.dataagent
|
||||
tag: v6.17.0
|
||||
tag: v6.20.0
|
||||
pullPolicy: IfNotPresent
|
||||
init:
|
||||
enabled: false
|
||||
@@ -52,13 +52,12 @@ ingress:
|
||||
secretName: archmeister-tls
|
||||
internal:
|
||||
annotations: {}
|
||||
# nginx.ingress.kubernetes.io/whitelist-source-range: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
|
||||
# nginx.ingress.kubernetes.io/whitelist-source-range: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
|
||||
persistence:
|
||||
enabled: false
|
||||
# size: 10G
|
||||
# storageClass: ""
|
||||
# accessMode: ReadWriteMany
|
||||
|
||||
cluster:
|
||||
enabled: true
|
||||
instances: 1
|
||||
@@ -74,7 +73,6 @@ cluster:
|
||||
- CREATE EXTENSION fuzzystrmatch;
|
||||
- CREATE EXTENSION postgis_tiger_geocoder;
|
||||
- ALTER USER app WITH SUPERUSER;
|
||||
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
@@ -0,0 +1,6 @@
|
||||
dependencies:
|
||||
- name: redis-stack-server
|
||||
repository: https://redis-stack.github.io/helm-redis-stack/
|
||||
version: 0.4.14
|
||||
digest: sha256:ed6bf447567c0d92030bffebc947801c67cb4e9b4dd95680c35a0b5f6b23d71f
|
||||
generated: "2024-10-04T11:54:47.575418518+02:00"
|
||||
@@ -0,0 +1,12 @@
|
||||
apiVersion: v2
|
||||
name: atlantis
|
||||
description: Atlantis map and simulation service
|
||||
type: application
|
||||
version: v2.87.1
|
||||
appVersion: v2.87.1
|
||||
dependencies:
|
||||
- name: redis-stack-server
|
||||
version: 0.4.14
|
||||
repository: https://redis-stack.github.io/helm-redis-stack/
|
||||
condition: redis.enabled
|
||||
alias: redis
|
||||
@@ -1,21 +0,0 @@
|
||||
apiVersion: v2
|
||||
name: atlantis
|
||||
description: Atlantis map and simulation service
|
||||
|
||||
# A chart can be either an 'application' or a 'library' chart.
|
||||
#
|
||||
# Application charts are a collection of templates that can be packaged into versioned archives
|
||||
# to be deployed.
|
||||
#
|
||||
# Library charts provide useful utilities or functions for the chart developer. They're included as
|
||||
# a dependency of application charts to inject those utilities and functions into the rendering
|
||||
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
|
||||
type: application
|
||||
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
version: 1.0.1
|
||||
|
||||
# This is the version number of the application being deployed. This version number should be
|
||||
# incremented each time you make changes to the application.
|
||||
appVersion: 0.0.0
|
||||
@@ -1,26 +0,0 @@
|
||||
{{- if .Values.cluster.enabled -}}
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: {{ include "Atlantis.fullname" . }}
|
||||
annotations:
|
||||
linkerd.io/inject: disabled
|
||||
labels:
|
||||
{{- include "Atlantis.labels" . | nindent 4 }}
|
||||
spec:
|
||||
instances: {{ .Values.cluster.instances | default "2" }}
|
||||
|
||||
# Example of rolling update strategy:
|
||||
# - unsupervised: automated update of the primary once all
|
||||
# replicas have been upgraded (default)
|
||||
# - supervised: requires manual supervision to perform
|
||||
# the switchover of the primary
|
||||
primaryUpdateStrategy: unsupervised
|
||||
backup:
|
||||
retentionPolicy: {{ .Values.cluster.backupRetention | default "60d" }}
|
||||
|
||||
storage:
|
||||
size: {{ .Values.cluster.size | default "5Gi" }}
|
||||
{{- end }}
|
||||
|
||||
|
||||
Binary file not shown.
@@ -1,21 +0,0 @@
|
||||
apiVersion: dapr.io/v1alpha1
|
||||
kind: Subscription
|
||||
metadata:
|
||||
name: hipster-events
|
||||
spec:
|
||||
topic: hipster
|
||||
route: /hipster-events
|
||||
pubsubname: pubsub
|
||||
scopes:
|
||||
- atlantis
|
||||
---
|
||||
apiVersion: dapr.io/v1alpha1
|
||||
kind: Subscription
|
||||
metadata:
|
||||
name: inbox-events
|
||||
spec:
|
||||
topic: inbox
|
||||
route: /inbox-events
|
||||
pubsubname: pubsub
|
||||
scopes:
|
||||
- atlantis
|
||||
@@ -1,35 +0,0 @@
|
||||
{
|
||||
"oidc": {
|
||||
"issuer": "https://idp.srv.oceanbox.io/dex",
|
||||
"authorization_endpoint": "https://idp.srv.oceanbox.io/dex/auth",
|
||||
"token_endpoint": "https://idp.srv.oceanbox.io/dex/token",
|
||||
"jwks_uri": "https://idp.srv.oceanbox.io/dex/keys",
|
||||
"userinfo_endpoint": "https://idp.srv.oceanbox.io/dex/userinfo",
|
||||
"device_authorization_endpoint": "https://idp.srv.oceanbox.io/dex/device/code",
|
||||
"clientId": "atlantis",
|
||||
"clientSecret": "",
|
||||
"scopes": [
|
||||
"openid",
|
||||
"email",
|
||||
"offline_access",
|
||||
"profile"
|
||||
]
|
||||
},
|
||||
"sso": {
|
||||
"cookieDomain": ".oceanbox.io",
|
||||
"signedOutRedirectUri": "https://idp.srv.oceanbox.io/dex/static/logout.html",
|
||||
"redis": "prod-redis-master.redis.svc,user=default,password=secret",
|
||||
"appDomain": "atlantis",
|
||||
"dataProtectionKeys": "DataProtection-Keys"
|
||||
},
|
||||
"archmeister" : "https://archmeister.srv.oceanbox.io",
|
||||
"sorcerer" : "https://sorcerer.data.oceanbox.io",
|
||||
"allowedOrigins": [
|
||||
"http://maps.oceanbox.io",
|
||||
"https://maps.oceanbox.io",
|
||||
"http://atlantis.srv.oceanbox.io",
|
||||
"https://atlantis.srv.oceanbox.io"
|
||||
],
|
||||
"logService" : "https://seq.oceanbox.io",
|
||||
"logApiKey": ""
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
OIDC_CLIENT_SECRET=KOJ6bDHzE5vdyfSrzgwLjtM5PzA809Zm
|
||||
SEQ_APIKEY=WmZplDeFoxIHpJQ5BiDk
|
||||
@@ -1,33 +0,0 @@
|
||||
{
|
||||
"oidc": {
|
||||
"issuer": "https://idp.srv.oceanbox.io/dex",
|
||||
"authorization_endpoint": "https://idp.srv.oceanbox.io/dex/auth",
|
||||
"token_endpoint": "https://idp.srv.oceanbox.io/dex/token",
|
||||
"jwks_uri": "https://idp.srv.oceanbox.io/dex/keys",
|
||||
"userinfo_endpoint": "https://idp.srv.oceanbox.io/dex/userinfo",
|
||||
"device_authorization_endpoint": "https://idp.srv.oceanbox.io/dex/device/code",
|
||||
"clientId": "atlantis_dev",
|
||||
"clientSecret": "",
|
||||
"scopes": [
|
||||
"openid",
|
||||
"email",
|
||||
"offline_access",
|
||||
"profile"
|
||||
]
|
||||
},
|
||||
"sso": {
|
||||
"cookieDomain": ".oceanbox.io",
|
||||
"signedOutRedirectUri": "https://idp.srv.oceanbox.io/dex/static/logout.html",
|
||||
"redis": "staging-redis-master.redis.svc,user=default,password=secret",
|
||||
"appDomain": "atlantis",
|
||||
"dataProtectionKeys": "DataProtection-Keys"
|
||||
},
|
||||
"archmeister" : "https://archmeister.beta.oceanbox.io",
|
||||
"sorcerer" : "https://sorcerer.beta.data.oceanbox.io",
|
||||
"allowedOrigins": [
|
||||
"http://atlantis.beta.oceanbox.io",
|
||||
"https://atlantis.beta.oceanbox.io"
|
||||
],
|
||||
"logService" : "https://seq.oceanbox.io",
|
||||
"logApiKey": ""
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
OIDC_CLIENT_SECRET=3QjfSPmAemjn34XVA2o1fvoS7I4gKvOR
|
||||
SEQ_APIKEY=WmZplDeFoxIHpJQ5BiDk
|
||||
@@ -0,0 +1,53 @@
|
||||
{{- if .Values.cluster.enabled -}}
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: {{ include "Atlantis.fullname" . }}-db
|
||||
annotations:
|
||||
linkerd.io/inject: disabled
|
||||
labels:
|
||||
{{- include "Atlantis.labels" . | nindent 4 }}
|
||||
spec:
|
||||
instances: {{ .Values.cluster.instances | default "1" }}
|
||||
imageName: ghcr.io/cloudnative-pg/postgis:15-3.3
|
||||
# Example of rolling update strategy:
|
||||
# - unsupervised: automated update of the primary once all
|
||||
# replicas have been upgraded (default)
|
||||
# - supervised: requires manual supervision to perform
|
||||
# the switchover of the primary
|
||||
primaryUpdateStrategy: unsupervised
|
||||
backup:
|
||||
retentionPolicy: {{ .Values.cluster.backupRetention | default "60d" }}
|
||||
storage:
|
||||
size: {{ .Values.cluster.size | default "5Gi" }}
|
||||
{{- with .Values.cluster.bootstrap }}
|
||||
bootstrap:
|
||||
{{- if .enabled }}
|
||||
pg_basebackup:
|
||||
source: archmaester
|
||||
externalClusters:
|
||||
- name: archmaester
|
||||
connectionParameters:
|
||||
host: {{ .source.db }}-rw.{{ .source.namespace }}
|
||||
user: streaming_replica
|
||||
sslmode: verify-full
|
||||
sslKey:
|
||||
name: {{ .source.db }}-replication
|
||||
key: tls.key
|
||||
sslCert:
|
||||
name: {{ .source.db }}-replication
|
||||
key: tls.crt
|
||||
sslRootCert:
|
||||
name: {{ .source.db }}-ca
|
||||
key: ca.crt
|
||||
{{- else }}
|
||||
initdb:
|
||||
postInitTemplateSQL:
|
||||
- CREATE EXTENSION postgis;
|
||||
- CREATE EXTENSION postgis_topology;
|
||||
- CREATE EXTENSION fuzzystrmatch;
|
||||
- CREATE EXTENSION postgis_tiger_geocoder;
|
||||
- ALTER USER app WITH SUPERUSER;
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
+2
-2
@@ -83,8 +83,8 @@ spec:
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
- name: appsettings
|
||||
secret:
|
||||
secretName: {{ template "Atlantis.fullname" . }}-appsettings
|
||||
configMap:
|
||||
name: {{ template "Atlantis.fullname" . }}-appsettings
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
@@ -0,0 +1,54 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
annotations:
|
||||
kyverno/clone: "true"
|
||||
name: {{ .Release.Name }}-rabbitmq
|
||||
type: Opaque
|
||||
data:
|
||||
---
|
||||
{{- if not .Values.redis.enabled }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
annotations:
|
||||
kyverno/clone: "true"
|
||||
name: {{ .Release.Name }}-redis
|
||||
type: Opaque
|
||||
data:
|
||||
{{- end }}
|
||||
---
|
||||
{{- if not .Values.cluster.enabled }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
annotations:
|
||||
kyverno/clone: "true"
|
||||
name: {{ include "Atlantis.fullname" . }}-db-superuser
|
||||
type: kubernetes.io/basic-auth
|
||||
data:
|
||||
username:
|
||||
password:
|
||||
{{- else }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
annotations:
|
||||
kyverno/clone: "true"
|
||||
name: {{ .Values.cluster.bootstrap.source.db }}-replication
|
||||
type: kubernetes.io/tls
|
||||
data:
|
||||
tls.crt: ""
|
||||
tls.key: ""
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
type: Opaque
|
||||
metadata:
|
||||
annotations:
|
||||
kyverno/clone: "true"
|
||||
name: {{ .Values.cluster.bootstrap.source.db }}-ca
|
||||
data:
|
||||
ca.crt: ""
|
||||
ca.key: ""
|
||||
{{- end }}
|
||||
@@ -1,27 +0,0 @@
|
||||
ingress:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
||||
hosts:
|
||||
- host: atlantis.srv.oceanbox.io
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
- host: maps.srv.oceanbox.io
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
tls:
|
||||
- hosts:
|
||||
- atlantis.srv.oceanbox.io
|
||||
- maps.srv.oceanbox.io
|
||||
secretName: atlantis-tls
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 250m
|
||||
memory: 1Gi
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: 1Gi
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
image:
|
||||
tag: a41b6229-debug
|
||||
|
||||
ingress:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
||||
# atlantis.oceanbox.io/expose: internal
|
||||
hosts:
|
||||
- host: atlantis.beta.oceanbox.io
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
tls:
|
||||
- hosts:
|
||||
- atlantis.beta.oceanbox.io
|
||||
secretName: staging-atlantis-tls
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 250m
|
||||
memory: 1Gi
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: 1Gi
|
||||
|
||||
@@ -3,27 +3,21 @@
|
||||
# Declare variables to be passed into your templates.
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
image:
|
||||
repository: registry.gitlab.com/oceanbox/atlantis
|
||||
tag: v2.77.5
|
||||
tag: v2.87.1
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
init:
|
||||
enabled: false
|
||||
image: ubuntu:rolling
|
||||
command: [ "/bin/sh", "-c", "true" ]
|
||||
|
||||
command: ["/bin/sh", "-c", "true"]
|
||||
env:
|
||||
- name: LOG_LEVEL
|
||||
value: "3"
|
||||
|
||||
imagePullSecrets:
|
||||
- name: gitlab-pull-secret
|
||||
|
||||
nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
|
||||
serviceAccount:
|
||||
create: true
|
||||
# Annotations to add to the service account
|
||||
@@ -31,26 +25,21 @@ serviceAccount:
|
||||
# The name of the service account to use.
|
||||
# If not set and create is true, a name is generated using the fullname template
|
||||
name: ""
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
podSecurityContext:
|
||||
fsGroup: 2000
|
||||
|
||||
securityContext:
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
- ALL
|
||||
readOnlyRootFilesystem: false
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1000
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 8085
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
enabled: false
|
||||
className: "nginx"
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
@@ -62,33 +51,44 @@ ingress:
|
||||
pathType: ImplementationSpecific
|
||||
tls:
|
||||
- hosts:
|
||||
- atlantis.srv.oceanbox.io
|
||||
- atlantis.srv.oceanbox.io
|
||||
secretName: atlantis-tls
|
||||
|
||||
persistence:
|
||||
enabled: false
|
||||
size: 1G
|
||||
storageClass: ""
|
||||
accessMode: ReadWriteOnce
|
||||
|
||||
cluster:
|
||||
enabled: false
|
||||
instances: 2
|
||||
enabled: true
|
||||
instances: 1
|
||||
backupEnabled: true
|
||||
backupRetention: 60d
|
||||
size: 5Gi
|
||||
|
||||
bootstrap:
|
||||
enabled: true
|
||||
source:
|
||||
db: prod-archmeister
|
||||
namespace: atlantis
|
||||
redis:
|
||||
enabled: true
|
||||
name: redis-stack
|
||||
redis_stack_server:
|
||||
image: "redis/redis-stack-server"
|
||||
tag: "7.4.0-v1"
|
||||
replicas: 1
|
||||
storage_class: ceph-rbd
|
||||
storage: 1Gi
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
autoscaling:
|
||||
enabled: false
|
||||
@@ -96,9 +96,6 @@ autoscaling:
|
||||
maxReplicas: 100
|
||||
targetCPUUtilizationPercentage: 80
|
||||
# targetMemoryUtilizationPercentage: 80
|
||||
|
||||
nodeSelector: {}
|
||||
|
||||
tolerations: []
|
||||
|
||||
affinity: {}
|
||||
@@ -36,7 +36,7 @@ service:
|
||||
type: ClusterIP
|
||||
port: 8000
|
||||
ingress:
|
||||
enabled: true
|
||||
enabled: false
|
||||
className: nginx
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
@@ -20,3 +20,7 @@
|
||||
.idea/
|
||||
*.tmproj
|
||||
.vscode/
|
||||
base/
|
||||
prod/
|
||||
staging/
|
||||
review/
|
||||
@@ -1,7 +1,6 @@
|
||||
apiVersion: v2
|
||||
name: hipster
|
||||
description: A Helm chart for Kubernetes
|
||||
|
||||
# A chart can be either an 'application' or a 'library' chart.
|
||||
#
|
||||
# Application charts are a collection of templates that can be packaged into versioned archives
|
||||
@@ -11,11 +10,9 @@ description: A Helm chart for Kubernetes
|
||||
# a dependency of application charts to inject those utilities and functions into the rendering
|
||||
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
|
||||
type: application
|
||||
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
version: 0.2.0
|
||||
|
||||
version: v2.7.0
|
||||
# This is the version number of the application being deployed. This version number should be
|
||||
# incremented each time you make changes to the application.
|
||||
appVersion: 1.10.0
|
||||
appVersion: v2.7.0
|
||||
+2
-2
@@ -81,8 +81,8 @@ spec:
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
- name: appsettings
|
||||
secret:
|
||||
secretName: {{ template "Hipster.fullname" . }}-appsettings
|
||||
configMap:
|
||||
name: {{ template "Hipster.fullname" . }}-appsettings
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
@@ -1,4 +0,0 @@
|
||||
ingress:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
atlantis.oceanbox.io/expose: internal
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user