Compare commits
196 Commits
wip
...
otel-policy
| Author | SHA1 | Date | |
|---|---|---|---|
| f9838604e8 | |||
| 993612f3bd | |||
| b45432c826 | |||
| 414c993fe1 | |||
| 5c044cbbfe | |||
| 8510a9b8a2 | |||
| 77ed76758e | |||
| f8d82f4f46 | |||
| 50bf3814a5 | |||
| a8da4c1198 | |||
| 01b9bc4465 | |||
| ef6282ca17 | |||
| 15dae312ef | |||
| 7b046c343f | |||
| 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 | |||
| 01743a0422 |
@@ -29,7 +29,7 @@ spec:
|
|||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/archmeister
|
path: kustomizations/archmeister
|
||||||
plugin:
|
plugin:
|
||||||
name: kustomize-helm-with-rewrite
|
name: kustomize-helm-with-rewrite
|
||||||
parameters:
|
parameters:
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: atlantis-host-cluster-resources
|
name: atlantis-host-cluster-resources
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
# annotations: # close, but no cigar
|
||||||
|
# argocd.argoproj.io/compare-options: ServerSideDiff=true,IncludeMutationWebhook=true
|
||||||
spec:
|
spec:
|
||||||
project: aux
|
project: aux
|
||||||
destination:
|
destination:
|
||||||
@@ -11,6 +13,19 @@ spec:
|
|||||||
automated:
|
automated:
|
||||||
prune: false
|
prune: false
|
||||||
selfHeal: 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:
|
sources:
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
# Currently not in use. Configured via the create-vcluster script.
|
||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: ApplicationSet
|
kind: ApplicationSet
|
||||||
metadata:
|
metadata:
|
||||||
@@ -14,6 +15,8 @@ spec:
|
|||||||
prune: false
|
prune: false
|
||||||
# - cluster: https://staging-vcluster.staging-vcluster
|
# - cluster: https://staging-vcluster.staging-vcluster
|
||||||
# env: staging
|
# env: staging
|
||||||
|
# autoSync: false
|
||||||
|
# prune: false
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: "{{ .env }}-atlantis-resources"
|
name: "{{ .env }}-atlantis-resources"
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ spec:
|
|||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/atlantis
|
path: kustomizations/atlantis
|
||||||
plugin:
|
plugin:
|
||||||
name: kustomize-helm-with-rewrite
|
name: kustomize-helm-with-rewrite
|
||||||
parameters:
|
parameters:
|
||||||
|
|||||||
@@ -7,9 +7,9 @@ spec:
|
|||||||
generators:
|
generators:
|
||||||
- list:
|
- list:
|
||||||
elements:
|
elements:
|
||||||
- cluster: https://kubernetes.default.svc
|
# - cluster: https://kubernetes.default.svc
|
||||||
env: prod
|
# env: prod
|
||||||
hostname: busynix.srv.oceanbox.io
|
# hostname: busynix.srv.oceanbox.io
|
||||||
- cluster: https://staging-vcluster.staging-vcluster
|
- cluster: https://staging-vcluster.staging-vcluster
|
||||||
env: staging
|
env: staging
|
||||||
hostname: busynix.beta.oceanbox.io
|
hostname: busynix.beta.oceanbox.io
|
||||||
@@ -24,7 +24,7 @@ spec:
|
|||||||
source:
|
source:
|
||||||
repoURL: https://gitlab.com/oceanbox/manifests.git
|
repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/busynix
|
path: kustomizations/busynix
|
||||||
plugin:
|
plugin:
|
||||||
name: kustomize-helm-with-rewrite
|
name: kustomize-helm-with-rewrite
|
||||||
parameters:
|
parameters:
|
||||||
|
|||||||
@@ -25,8 +25,8 @@ spec:
|
|||||||
chart: cerbos
|
chart: cerbos
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/manifests/cerbos/values.yaml
|
- $values/kustomizations/cerbos/values.yaml
|
||||||
- $values/manifests/cerbos/values-{{ env }}.yaml
|
- $values/kustomizations/cerbos/values-{{ env }}.yaml
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
ref: values
|
||||||
|
|||||||
@@ -11,5 +11,5 @@ spec:
|
|||||||
source:
|
source:
|
||||||
repoURL: https://gitlab.com/oceanbox/manifests.git
|
repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/dex/manifests
|
path: kustomizations/dex/manifests
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ spec:
|
|||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/geoserver
|
path: kustomizations/geoserver
|
||||||
plugin:
|
plugin:
|
||||||
name: kustomize-helm-with-rewrite
|
name: kustomize-helm-with-rewrite
|
||||||
parameters:
|
parameters:
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ spec:
|
|||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/hipster
|
path: kustomizations/hipster
|
||||||
plugin:
|
plugin:
|
||||||
name: kustomize-helm-with-rewrite
|
name: kustomize-helm-with-rewrite
|
||||||
parameters:
|
parameters:
|
||||||
|
|||||||
@@ -14,9 +14,9 @@ spec:
|
|||||||
chart: jaeger-operator
|
chart: jaeger-operator
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/manifests/jaeger/values.yaml
|
- $values/kustomizations/jaeger/values.yaml
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
# path: manifests/jaeger/manifests
|
# path: kustomizations/jaeger/manifests
|
||||||
ref: values
|
ref: values
|
||||||
|
|
||||||
|
|||||||
@@ -10,11 +10,11 @@ spec:
|
|||||||
namespace: idp
|
namespace: idp
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://charts.bitnami.com/bitnami
|
- repoURL: https://charts.bitnami.com/bitnami
|
||||||
targetRevision: 18.3.4
|
targetRevision: 24.0.2
|
||||||
chart: keycloak
|
chart: keycloak
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/manifests/keycloak/values.yaml
|
- $values/kustomizations/keycloak/values.yaml
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
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-production
|
||||||
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
|
atlantis.oceanbox.io/expose: internal
|
||||||
|
ingressClassName: nginx
|
||||||
|
hosts:
|
||||||
|
- host: opentelemetry-collector.adm.oceanbox.io
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
port: 4318
|
||||||
|
tls:
|
||||||
|
- secretName: collector-tls
|
||||||
|
hosts:
|
||||||
|
- opentelemetry-collector.adm.oceanbox.io
|
||||||
@@ -22,9 +22,9 @@ spec:
|
|||||||
namespace: oceanbox
|
namespace: oceanbox
|
||||||
server: '{{ cluster }}'
|
server: '{{ cluster }}'
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitlab.com/oceanbox/charts.git
|
repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: manifests/osm-tile-server
|
path: kustomizations/osm-tile-server
|
||||||
plugin:
|
plugin:
|
||||||
name: kustomize-helm-with-rewrite
|
name: kustomize-helm-with-rewrite
|
||||||
parameters:
|
parameters:
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ spec:
|
|||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/petimeter
|
path: kustomizations/petimeter
|
||||||
plugin:
|
plugin:
|
||||||
name: kustomize-helm-with-rewrite
|
name: kustomize-helm-with-rewrite
|
||||||
parameters:
|
parameters:
|
||||||
@@ -39,7 +39,7 @@ spec:
|
|||||||
string: '{{ .hostname }}'
|
string: '{{ .hostname }}'
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/petimeter/manifests
|
path: kustomizations/petimeter/manifests
|
||||||
templatePatch: |
|
templatePatch: |
|
||||||
{{- if .autoSync }}
|
{{- if .autoSync }}
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@@ -27,8 +27,8 @@ spec:
|
|||||||
chart: rabbitmq
|
chart: rabbitmq
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/manifests/rabbitmq/values-{{ env }}.yaml
|
- $values/kustomizations/rabbitmq/values-{{ env }}.yaml
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/rabbitmq/{{ env }}
|
path: kustomizations/rabbitmq/{{ env }}
|
||||||
ref: values
|
ref: values
|
||||||
|
|||||||
+15
-22
@@ -9,10 +9,8 @@ spec:
|
|||||||
elements:
|
elements:
|
||||||
- cluster: https://kubernetes.default.svc
|
- cluster: https://kubernetes.default.svc
|
||||||
env: prod
|
env: prod
|
||||||
hostname: redis.srv.oceanbox.io
|
|
||||||
- cluster: https://kubernetes.default.svc
|
- cluster: https://kubernetes.default.svc
|
||||||
env: staging
|
env: staging
|
||||||
hostname: redis.beta.oceanbox.io
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: '{{ env }}-redis'
|
name: '{{ env }}-redis'
|
||||||
@@ -22,25 +20,20 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: redis
|
namespace: redis
|
||||||
sources:
|
sources:
|
||||||
# - repoURL: https://charts.bitnami.com/bitnami
|
- repoURL: https://charts.bitnami.com/bitnami
|
||||||
# targetRevision: 18.9.1
|
targetRevision: 19.5.2
|
||||||
# chart: redis
|
chart: redis
|
||||||
# helm:
|
helm:
|
||||||
# valueFiles:
|
valueFiles:
|
||||||
# - $values/redis/values.yaml
|
- $values/kustomizations/redis/values-{{ env }}.yaml
|
||||||
# - repoURL: https://gitlab.com/oceanbox/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
# targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
# path: manifests/redis/{{ env }}
|
ref: values
|
||||||
# ref: values
|
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/redis
|
path: kustomizations/redis/{{ env }}
|
||||||
plugin:
|
ignoreDifferences:
|
||||||
name: kustomize-helm-with-rewrite
|
- group: apps
|
||||||
parameters:
|
kind: StatefulSet
|
||||||
- name: env
|
jqPathExpressions:
|
||||||
string: '{{ env }}'
|
- '.spec.template.spec.containers[].resources.limits.cpu'
|
||||||
- name: hostname
|
|
||||||
string: '{{ hostname }}'
|
|
||||||
- name: chart
|
|
||||||
string: bitnami/redis
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ spec:
|
|||||||
chart: seq
|
chart: seq
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/manifests/seq/values.yaml
|
- $values/kustomizations/seq/values.yaml
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
ref: values
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ spec:
|
|||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/sorcerer
|
path: kustomizations/sorcerer
|
||||||
plugin:
|
plugin:
|
||||||
name: kustomize-helm-with-rewrite
|
name: kustomize-helm-with-rewrite
|
||||||
parameters:
|
parameters:
|
||||||
|
|||||||
@@ -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,16 +0,0 @@
|
|||||||
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":"eyJhbGciOiJSUzI1NiIsImtpZCI6InhKNmNNemw4V01jR0cxUHJ4ajE3bTdQRDlKd1ZyQUQ0cDFPcXRuVDBFbWsifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJrdWJlLXN5c3RlbSIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJhZG1pbi10b2tlbiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJhZG1pbiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50LnVpZCI6ImUyNjQ2MDgzLTNjMDMtNDc0Ni1iMGIxLWViOGRmMzY3NTNiMiIsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDprdWJlLXN5c3RlbTphZG1pbiJ9.hXQzh4mus2yPwXz-EyowgSpOKgOk7uDU8z-dH-sZJ-UgzxQFOxABfkjD4Kb4JYlXrr_zkMO7n_zkaDOl3iFDCDS2Pury7hsIlJNKETYk-_llH0RYI9DYzAB5PkeOyuKhmRq8eklynq5ObPtk7WVuj3Bp-64uSqfX-WvxqoE0dfh0erSVcU7BwwjRdeDnO01xzv5zXXAYkOmk6e5DGOLBdUMD8kDZE0_NEa-MKCVkl78sc2mCsOMOUhzXoCduvc92hfnoFEfoTKe7xHwLeUim4HvVfD9czXOpRtHKXgEsk0UGtj0xg7D70uftUIxpr4a8rbWceM4eyGtXpjPUm1mh1Q","tlsClientConfig":{"insecure":true}}
|
|
||||||
name: staging-vcluster
|
|
||||||
server: https://staging-vcluster.staging-vcluster
|
|
||||||
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
|
||||||
|
|
||||||
+1
-1
@@ -4,4 +4,4 @@ RUN mkdir -p /home/argocd/cmp-server/config/
|
|||||||
COPY plugin.yaml /home/argocd/cmp-server/config/
|
COPY plugin.yaml /home/argocd/cmp-server/config/
|
||||||
|
|
||||||
WORKDIR /plugin
|
WORKDIR /plugin
|
||||||
COPY init.sh get-values.sh generate.sh ./
|
COPY init-helm-repos.sh init.sh get-values.sh generate.sh ./
|
||||||
+7
-6
@@ -1,23 +1,24 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
export HOME=/tmp
|
export HOME=/helm-working-dir
|
||||||
|
|
||||||
env > /tmp/$ARGOCD_APP_NAME.env
|
env > /tmp/$ARGOCD_APP_NAME.env
|
||||||
|
|
||||||
echo "$ARGOCD_APP_PARAMETERS" | jq '.[] | select(.name == "helm-parameters") | .map' | yq -P -oy > parameters.yaml
|
echo "$ARGOCD_APP_PARAMETERS" | jq '.[] | select(.name == "helm-parameters") | .map' | yq -P -oy > parameters.yaml
|
||||||
cp parameters.yaml /tmp/$ARGOCD_APP_NAME-parameters.yaml
|
cp parameters.yaml /tmp/$ARGOCD_APP_NAME-parameters.yaml
|
||||||
|
|
||||||
if [ -d chart ]; then
|
if [ -n "$PARAM_CHART" -a "$PARAM_CHART" != "." ]; then
|
||||||
CHART=chart
|
|
||||||
elif [ -f chart -a "$PARAM_CHART" = "." ]; then
|
|
||||||
CHART=$(cat chart)
|
|
||||||
elif [ -n "$PARAM_CHART" ]; then
|
|
||||||
CHART=$PARAM_CHART
|
CHART=$PARAM_CHART
|
||||||
|
elif [ -d chart ]; then
|
||||||
|
CHART=chart
|
||||||
|
elif [ -f chart ]; then
|
||||||
|
CHART=$(cat chart)
|
||||||
else
|
else
|
||||||
CHART="."
|
CHART="."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -f chart/values.yaml ] && VALUES="-f chart/values.yaml"
|
[ -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.yaml ] && VALUES="$VALUES -f values.yaml"
|
||||||
[ -f values-$PARAM_ENV.yaml ] && VALUES="$VALUES -f values-$PARAM_ENV.yaml"
|
[ -f values-$PARAM_ENV.yaml ] && VALUES="$VALUES -f values-$PARAM_ENV.yaml"
|
||||||
VALUES="$VALUES -f parameters.yaml"
|
VALUES="$VALUES -f parameters.yaml"
|
||||||
+2
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
if [ -f values.yaml ]; then
|
if [ -f values.yaml ]; then
|
||||||
VALUES="values.yaml"
|
VALUES="values.yaml"
|
||||||
|
elif [ -f values-chart.yaml ]; then
|
||||||
|
VALUES="values-chart.yaml"
|
||||||
elif [ -f chart/values.yaml ]; then
|
elif [ -f chart/values.yaml ]; then
|
||||||
VALUES="chart/values.yaml"
|
VALUES="chart/values.yaml"
|
||||||
else
|
else
|
||||||
+5
-2
@@ -1,12 +1,15 @@
|
|||||||
#!/bin/sh
|
#!/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 bitnami https://charts.bitnami.com/bitnami
|
||||||
helm repo add cerbos https://download.cerbos.dev/helm-charts
|
helm repo add cerbos https://download.cerbos.dev/helm-charts
|
||||||
helm repo add dapr https://dapr.github.io/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 ncsa https://opensource.ncsa.illinois.edu/charts
|
||||||
helm repo add dex https://charts.dexidp.io
|
helm repo add dex https://charts.dexidp.io
|
||||||
|
helm repo add openfga https://openfga.github.io/helm-charts
|
||||||
|
|
||||||
helm repo update
|
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,8 +12,7 @@ description: Archive management for Atlantis
|
|||||||
type: application
|
type: application
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# 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.
|
# to the chart and its templates, including the app version.
|
||||||
version: v6.19.5
|
version: v6.20.0
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application.
|
# incremented each time you make changes to the application.
|
||||||
appVersion: v6.19.5
|
appVersion: v6.20.0
|
||||||
|
|
||||||
|
|||||||
@@ -84,8 +84,8 @@ spec:
|
|||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: appsettings
|
- name: appsettings
|
||||||
secret:
|
configMap:
|
||||||
secretName: {{ template "Archmeister.fullname" . }}-appsettings
|
name: {{ template "Archmeister.fullname" . }}-appsettings
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|||||||
@@ -5,12 +5,23 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
repository: registry.gitlab.com/oceanbox/oceanbox.dataagent
|
repository: registry.gitlab.com/oceanbox/oceanbox.dataagent
|
||||||
tag: v6.19.5
|
tag: v6.20.0
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
init:
|
init:
|
||||||
enabled: false
|
enabled: false
|
||||||
image: ubuntu:rolling
|
image: ubuntu:rolling
|
||||||
command: ["/bin/sh", "-c", "true"]
|
command: ["/bin/sh", "-c", "true"]
|
||||||
|
env:
|
||||||
|
- name: LOG_LEVEL
|
||||||
|
value: "3"
|
||||||
|
- name: APP_NAME
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.name
|
||||||
|
- name: APP_NAMESPACE
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: gitlab-pull-secret
|
- name: gitlab-pull-secret
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ description: Atlantis map and simulation service
|
|||||||
type: application
|
type: application
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# 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.
|
# to the chart and its templates, including the app version.
|
||||||
version: v2.78.15
|
version: v2.87.1
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application.
|
# incremented each time you make changes to the application.
|
||||||
appVersion: v2.78.15
|
appVersion: v2.87.1
|
||||||
|
|||||||
@@ -83,8 +83,8 @@ spec:
|
|||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: appsettings
|
- name: appsettings
|
||||||
secret:
|
configMap:
|
||||||
secretName: {{ template "Atlantis.fullname" . }}-appsettings
|
name: {{ template "Atlantis.fullname" . }}-appsettings
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
repository: registry.gitlab.com/oceanbox/atlantis
|
repository: registry.gitlab.com/oceanbox/atlantis
|
||||||
tag: v2.78.15
|
tag: v2.87.1
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
init:
|
init:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -14,6 +14,14 @@ init:
|
|||||||
env:
|
env:
|
||||||
- name: LOG_LEVEL
|
- name: LOG_LEVEL
|
||||||
value: "3"
|
value: "3"
|
||||||
|
- name: APP_NAME
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.name
|
||||||
|
- name: APP_NAMESPACE
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: gitlab-pull-secret
|
- name: gitlab-pull-secret
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ description: A Helm chart for Kubernetes
|
|||||||
type: application
|
type: application
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# 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.
|
# to the chart and its templates, including the app version.
|
||||||
version: v2.6.4
|
version: v2.7.0
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application.
|
# incremented each time you make changes to the application.
|
||||||
appVersion: v2.6.4
|
appVersion: v2.7.0
|
||||||
|
|||||||
@@ -81,8 +81,8 @@ spec:
|
|||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: appsettings
|
- name: appsettings
|
||||||
secret:
|
configMap:
|
||||||
secretName: {{ template "Hipster.fullname" . }}-appsettings
|
name: {{ template "Hipster.fullname" . }}-appsettings
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|||||||
@@ -5,12 +5,23 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
repository: registry.gitlab.com/oceanbox/hipster
|
repository: registry.gitlab.com/oceanbox/hipster
|
||||||
tag: v2.6.4
|
tag: v2.7.0
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
init:
|
init:
|
||||||
enabled: false
|
enabled: false
|
||||||
image: ubuntu:rolling
|
image: ubuntu:rolling
|
||||||
command: ["/bin/sh", "-c", "true"]
|
command: ["/bin/sh", "-c", "true"]
|
||||||
|
env:
|
||||||
|
- name: LOG_LEVEL
|
||||||
|
value: "3"
|
||||||
|
- name: APP_NAME
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.name
|
||||||
|
- name: APP_NAMESPACE
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: gitlab-pull-secret
|
- name: gitlab-pull-secret
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ description: A Helm chart for Kubernetes
|
|||||||
type: application
|
type: application
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# 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.
|
# to the chart and its templates, including the app version.
|
||||||
version: v1.9.8
|
version: v1.9.9
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application.
|
# incremented each time you make changes to the application.
|
||||||
appVersion: v1.9.8
|
appVersion: v1.9.9
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
- op: replace
|
|
||||||
path: /spec/template/spec/containers/0/livenessProbe/httpGet/path
|
|
||||||
value: /healthz
|
|
||||||
- op: replace
|
|
||||||
path: /spec/template/spec/containers/0/readinessProbe/httpGet/path
|
|
||||||
value: /healthz
|
|
||||||
- op: add
|
|
||||||
path: /spec/template/spec/containers/0/volumeMounts/-
|
|
||||||
value:
|
|
||||||
name: acl
|
|
||||||
mountPath: /app/acl.json
|
|
||||||
subPath: acl.json
|
|
||||||
readOnly: true
|
|
||||||
- op: add
|
|
||||||
path: /spec/template/spec/volumes/-
|
|
||||||
value:
|
|
||||||
name: acl
|
|
||||||
configMap:
|
|
||||||
name: petimeter-acl
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
namespace: oceanbox
|
|
||||||
patches:
|
|
||||||
- target:
|
|
||||||
version: v1
|
|
||||||
group: apps
|
|
||||||
kind: Deployment
|
|
||||||
name: petimeter
|
|
||||||
path: deployment_patch.yaml
|
|
||||||
# configMapGenerator:
|
|
||||||
# - name: petimeter-acl
|
|
||||||
# files:
|
|
||||||
# - acl.json
|
|
||||||
resources:
|
|
||||||
- _manifest.yaml
|
|
||||||
@@ -84,8 +84,8 @@ spec:
|
|||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: appsettings
|
- name: appsettings
|
||||||
secret:
|
configMap:
|
||||||
secretName: {{ template "Petimeter.fullname" . }}-appsettings
|
name: {{ template "Petimeter.fullname" . }}-appsettings
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|||||||
@@ -5,12 +5,23 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
repository: registry.gitlab.com/oceanbox/petimeter
|
repository: registry.gitlab.com/oceanbox/petimeter
|
||||||
tag: v1.9.8
|
tag: v1.9.9
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
init:
|
init:
|
||||||
enabled: false
|
enabled: false
|
||||||
image: ubuntu:rolling
|
image: ubuntu:rolling
|
||||||
command: ["/bin/sh", "-c", "true"]
|
command: ["/bin/sh", "-c", "true"]
|
||||||
|
env:
|
||||||
|
- name: LOG_LEVEL
|
||||||
|
value: "3"
|
||||||
|
- name: APP_NAME
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.name
|
||||||
|
- name: APP_NAMESPACE
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: gitlab-pull-secret
|
- name: gitlab-pull-secret
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ description: A Helm chart for Kubernetes
|
|||||||
type: application
|
type: application
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# 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.
|
# to the chart and its templates, including the app version.
|
||||||
version: v4.7.7
|
version: v4.9.0
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application.
|
# incremented each time you make changes to the application.
|
||||||
appVersion: v4.7.7
|
appVersion: v4.9.0
|
||||||
|
|||||||
@@ -38,8 +38,7 @@ spec:
|
|||||||
containerPort: {{ .Values.service.port }}
|
containerPort: {{ .Values.service.port }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
env:
|
env:
|
||||||
- name: LOG_LEVEL
|
{{- toYaml .Values.env | nindent 12 }}
|
||||||
value: "3"
|
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
@@ -84,8 +83,8 @@ spec:
|
|||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: appsettings
|
- name: appsettings
|
||||||
secret:
|
configMap:
|
||||||
secretName: {{ template "Sorcerer.fullname" . }}-appsettings
|
name: {{ template "Sorcerer.fullname" . }}-appsettings
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|||||||
@@ -5,12 +5,23 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
repository: registry.gitlab.com/oceanbox/sorcerer
|
repository: registry.gitlab.com/oceanbox/sorcerer
|
||||||
tag: v4.7.7
|
tag: v4.9.0
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
init:
|
init:
|
||||||
enabled: false
|
enabled: false
|
||||||
image: ubuntu:rolling
|
image: ubuntu:rolling
|
||||||
command: ["/bin/sh", "-c", "true"]
|
command: ["/bin/sh", "-c", "true"]
|
||||||
|
env:
|
||||||
|
- name: LOG_LEVEL
|
||||||
|
value: "3"
|
||||||
|
- name: APP_NAME
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.name
|
||||||
|
- name: APP_NAMESPACE
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: gitlab-pull-secret
|
- name: gitlab-pull-secret
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
apiVersion: jaegertracing.io/v1
|
|
||||||
kind: Jaeger
|
|
||||||
metadata:
|
|
||||||
name: jaeger
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
spec:
|
|
||||||
strategy: allInOne
|
|
||||||
ingress:
|
|
||||||
enabled: false
|
|
||||||
allInOne:
|
|
||||||
image: jaegertracing/all-in-one:1.22
|
|
||||||
options:
|
|
||||||
query:
|
|
||||||
base-path: /jaeger
|
|
||||||
@@ -11,16 +11,3 @@ subjects:
|
|||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
namespace: {{ $fullname }}
|
namespace: {{ $fullname }}
|
||||||
name: {{ $fullname }}
|
name: {{ $fullname }}
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRoleBinding
|
|
||||||
metadata:
|
|
||||||
name: vcluster-jaegers
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: ClusterRole
|
|
||||||
name: vcluster-jaegers
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
namespace: {{ $fullname }}
|
|
||||||
name: {{ $fullname }}
|
|
||||||
|
|||||||
@@ -69,8 +69,10 @@ spec:
|
|||||||
to: "rabbitmq/{{ .Values.environment }}-rabbitmq"
|
to: "rabbitmq/{{ .Values.environment }}-rabbitmq"
|
||||||
- from: "{{ .Release.Namespace }}/staging-archmeister-rw"
|
- from: "{{ .Release.Namespace }}/staging-archmeister-rw"
|
||||||
to: "atlantis/staging-archmeister-rw"
|
to: "atlantis/staging-archmeister-rw"
|
||||||
- from: "{{ .Release.Namespace }}/jaeger-collector"
|
- from: "idp/{{ .Values.environment }}-openfga"
|
||||||
to: "atlantis/jaeger-collector"
|
to: "idp/{{ .Values.environment }}-openfga"
|
||||||
|
- from: "otel/opentelemetry-collector"
|
||||||
|
to: "otel/opentelemetry-collector"
|
||||||
- from: "idp/{{ .Values.environment }}-cerbos"
|
- from: "idp/{{ .Values.environment }}-cerbos"
|
||||||
to: "idp/{{ .Values.environment }}-cerbos"
|
to: "idp/{{ .Values.environment }}-cerbos"
|
||||||
sync:
|
sync:
|
||||||
@@ -94,9 +96,6 @@ spec:
|
|||||||
- apiGroups: [ "cilium.io" ]
|
- apiGroups: [ "cilium.io" ]
|
||||||
resources: [ "ciliumnetworkpolicies" ]
|
resources: [ "ciliumnetworkpolicies" ]
|
||||||
verbs: [ "get", "list", "watch", "create", "patch" ]
|
verbs: [ "get", "list", "watch", "create", "patch" ]
|
||||||
# - apiGroups: [ "jaegertracing.io" ]
|
|
||||||
# resources: [ "jaegers" ]
|
|
||||||
# verbs: [ "get", "list", "watch", "create", "patch" ]
|
|
||||||
config: |-
|
config: |-
|
||||||
version: v1beta1
|
version: v1beta1
|
||||||
import:
|
import:
|
||||||
@@ -110,15 +109,11 @@ spec:
|
|||||||
# apiVersion: dapr.io/v1alpha1
|
# apiVersion: dapr.io/v1alpha1
|
||||||
# - kind: Subscription
|
# - kind: Subscription
|
||||||
# apiVersion: dapr.io/v1alpha1
|
# apiVersion: dapr.io/v1alpha1
|
||||||
# - kind: Jaeger
|
|
||||||
# apiVersion: jaegertracing.io/v1
|
|
||||||
# - kind: CiliumNetworkPolicy
|
# - kind: CiliumNetworkPolicy
|
||||||
# apiVersion: cilium.io/v2
|
# apiVersion: cilium.io/v2
|
||||||
export:
|
export:
|
||||||
- kind: CiliumNetworkPolicy
|
- kind: CiliumNetworkPolicy
|
||||||
apiVersion: cilium.io/v2
|
apiVersion: cilium.io/v2
|
||||||
# - kind: Jaeger
|
|
||||||
# apiVersion: jaegertracing.io/v1
|
|
||||||
init:
|
init:
|
||||||
manifests: |-
|
manifests: |-
|
||||||
---
|
---
|
||||||
@@ -161,6 +156,13 @@ spec:
|
|||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/service-account.name: admin
|
kubernetes.io/service-account.name: admin
|
||||||
type: kubernetes.io/service-account-token
|
type: kubernetes.io/service-account-token
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
kubernetes.io/metadata.name: atlantis
|
||||||
|
name: atlantis
|
||||||
|
|
||||||
# The contents of manifests-template will be templated using helm
|
# The contents of manifests-template will be templated using helm
|
||||||
# this allows you to use helm values inside, e.g.: {{ .Release.Name }}
|
# this allows you to use helm values inside, e.g.: {{ .Release.Name }}
|
||||||
@@ -172,7 +174,7 @@ spec:
|
|||||||
helm:
|
helm:
|
||||||
- chart:
|
- chart:
|
||||||
name: dapr
|
name: dapr
|
||||||
version: 1.13.3
|
version: 1.14.0
|
||||||
repo: https://dapr.github.io/helm-charts/
|
repo: https://dapr.github.io/helm-charts/
|
||||||
release:
|
release:
|
||||||
name: dapr
|
name: dapr
|
||||||
|
|||||||
@@ -0,0 +1,49 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: yolo-dl
|
||||||
|
name: yolo-dl
|
||||||
|
namespace: oceanbox
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: yolo-dl
|
||||||
|
strategy:
|
||||||
|
rollingUpdate:
|
||||||
|
maxSurge: 25%
|
||||||
|
maxUnavailable: 25%
|
||||||
|
type: RollingUpdate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: yolo-dl
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- command:
|
||||||
|
- /bin/sh
|
||||||
|
- -c
|
||||||
|
- httpd -p 8000 -f
|
||||||
|
image: busybox:latest
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
name: yolo-dl
|
||||||
|
ports:
|
||||||
|
- containerPort: 8000
|
||||||
|
protocol: TCP
|
||||||
|
resources: {}
|
||||||
|
terminationMessagePath: /dev/termination-log
|
||||||
|
terminationMessagePolicy: File
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /data
|
||||||
|
name: data
|
||||||
|
workingDir: /data
|
||||||
|
dnsPolicy: ClusterFirst
|
||||||
|
restartPolicy: Always
|
||||||
|
securityContext: {}
|
||||||
|
terminationGracePeriodSeconds: 30
|
||||||
|
volumes:
|
||||||
|
- name: data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: yolo-dl-data
|
||||||
|
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
name: pv-yolo-dl
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
capacity:
|
||||||
|
storage: 1Gi
|
||||||
|
csi:
|
||||||
|
driver: rook-ceph.cephfs.csi.ceph.com
|
||||||
|
nodeStageSecretRef:
|
||||||
|
name: rook-csi-cephfs-node
|
||||||
|
namespace: rook-ceph
|
||||||
|
volumeAttributes:
|
||||||
|
fsName: data
|
||||||
|
clusterID: rook-ceph
|
||||||
|
staticVolume: "true"
|
||||||
|
rootPath: /ssd/dl
|
||||||
|
volumeHandle: pv-yolo-dl
|
||||||
|
persistentVolumeReclaimPolicy: Retain
|
||||||
|
volumeMode: Filesystem
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: yolo-dl-data
|
||||||
|
namespace: oceanbox
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
storageClassName: ""
|
||||||
|
volumeMode: Filesystem
|
||||||
|
volumeName: pv-yolo-dl
|
||||||
+2
-1
@@ -1,9 +1,10 @@
|
|||||||
generatorOptions:
|
generatorOptions:
|
||||||
disableNameSuffixHash: true
|
disableNameSuffixHash: true
|
||||||
secretGenerator:
|
configMapGenerator:
|
||||||
- name: prod-archmeister-appsettings
|
- name: prod-archmeister-appsettings
|
||||||
files:
|
files:
|
||||||
- appsettings.json
|
- appsettings.json
|
||||||
|
secretGenerator:
|
||||||
- name: prod-archmeister-env
|
- name: prod-archmeister-env
|
||||||
envs:
|
envs:
|
||||||
- default.env
|
- default.env
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
- op: replace
|
||||||
|
path: /spec/rules/0/http/paths/0/path
|
||||||
|
value: /internal
|
||||||
|
- op: add
|
||||||
|
path: /metadata/annotations/nginx.ingress.kubernetes.io~1whitelist-source-range
|
||||||
|
value: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
|
||||||
+2
-1
@@ -1,9 +1,10 @@
|
|||||||
generatorOptions:
|
generatorOptions:
|
||||||
disableNameSuffixHash: true
|
disableNameSuffixHash: true
|
||||||
secretGenerator:
|
configMapGenerator:
|
||||||
- name: staging-archmeister-appsettings
|
- name: staging-archmeister-appsettings
|
||||||
files:
|
files:
|
||||||
- appsettings.json
|
- appsettings.json
|
||||||
|
secretGenerator:
|
||||||
- name: staging-archmeister-env
|
- name: staging-archmeister-env
|
||||||
envs:
|
envs:
|
||||||
- default.env
|
- default.env
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
replicaCount: 2
|
||||||
|
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
dapr.io/app-id: "prod-archmeister"
|
dapr.io/app-id: "prod-archmeister"
|
||||||
dapr.io/enabled: "true"
|
dapr.io/enabled: "true"
|
||||||
+3
-3
@@ -1,3 +1,4 @@
|
|||||||
|
replicaCount: 1
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
dapr.io/app-id: "staging-archmeister"
|
dapr.io/app-id: "staging-archmeister"
|
||||||
dapr.io/enabled: "true"
|
dapr.io/enabled: "true"
|
||||||
@@ -14,13 +15,12 @@ podAnnotations:
|
|||||||
dapr.io/sidecar-cpu-limit: "300m"
|
dapr.io/sidecar-cpu-limit: "300m"
|
||||||
dapr.io/sidecar-memory-limit: "1000Mi"
|
dapr.io/sidecar-memory-limit: "1000Mi"
|
||||||
dapr.io/log-as-json: "true"
|
dapr.io/log-as-json: "true"
|
||||||
|
|
||||||
image:
|
image:
|
||||||
tag: f8c27a74-debug
|
tag: 16390a0c-debug
|
||||||
ingress:
|
ingress:
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
atlantis.oceanbox.io/expose: global
|
# atlantis.oceanbox.io/expose: internal
|
||||||
hosts:
|
hosts:
|
||||||
- host: archmeister.beta.oceanbox.io
|
- host: archmeister.beta.oceanbox.io
|
||||||
paths:
|
paths:
|
||||||
+3
-2
@@ -15,10 +15,10 @@
|
|||||||
"profile"
|
"profile"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"redis": "prod-redis-master.redis.svc,user=default,password=secret",
|
||||||
"sso": {
|
"sso": {
|
||||||
"cookieDomain": ".oceanbox.io",
|
"cookieDomain": ".oceanbox.io",
|
||||||
"signedOutRedirectUri": "https://idp.oceanbox.io/dex/static/logout.html",
|
"signedOutRedirectUri": "https://idp.oceanbox.io/dex/static/logout.html",
|
||||||
"redis": "prod-redis-master.redis.svc,user=default,password=secret",
|
|
||||||
"appDomain": "atlantis",
|
"appDomain": "atlantis",
|
||||||
"dataProtectionKeys": "DataProtection-Keys"
|
"dataProtectionKeys": "DataProtection-Keys"
|
||||||
},
|
},
|
||||||
@@ -32,5 +32,6 @@
|
|||||||
],
|
],
|
||||||
"logService" : "https://seq.adm.oceanbox.io",
|
"logService" : "https://seq.adm.oceanbox.io",
|
||||||
"logApiKey": "",
|
"logApiKey": "",
|
||||||
"deployEnv": "prod"
|
"deployEnv": "prod",
|
||||||
|
"plainAuthUsers": []
|
||||||
}
|
}
|
||||||
@@ -1,2 +1,3 @@
|
|||||||
OIDC_CLIENT_SECRET=KOJ6bDHzE5vdyfSrzgwLjtM5PzA809Zm
|
OIDC_CLIENT_SECRET=KOJ6bDHzE5vdyfSrzgwLjtM5PzA809Zm
|
||||||
SEQ_APIKEY=v9RfeLBD9Si7OkFlkjPm
|
SEQ_APIKEY=v9RfeLBD9Si7OkFlkjPm
|
||||||
|
DEPLOY_NAME=prod-atlantis
|
||||||
+2
-1
@@ -1,9 +1,10 @@
|
|||||||
generatorOptions:
|
generatorOptions:
|
||||||
disableNameSuffixHash: true
|
disableNameSuffixHash: true
|
||||||
secretGenerator:
|
configMapGenerator:
|
||||||
- name: prod-atlantis-appsettings
|
- name: prod-atlantis-appsettings
|
||||||
files:
|
files:
|
||||||
- appsettings.json
|
- appsettings.json
|
||||||
|
secretGenerator:
|
||||||
- name: prod-atlantis-env
|
- name: prod-atlantis-env
|
||||||
envs:
|
envs:
|
||||||
- default.env
|
- default.env
|
||||||
+6
-4
@@ -1,23 +1,25 @@
|
|||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v2alpha1
|
||||||
kind: Subscription
|
kind: Subscription
|
||||||
metadata:
|
metadata:
|
||||||
name: hipster-events
|
name: hipster-events
|
||||||
spec:
|
spec:
|
||||||
topic: hipster
|
topic: hipster
|
||||||
route: /hipster-events
|
routes:
|
||||||
|
default: /hipster-events
|
||||||
pubsubname: pubsub
|
pubsubname: pubsub
|
||||||
metadata:
|
metadata:
|
||||||
queueType: quorum
|
queueType: quorum
|
||||||
scopes:
|
scopes:
|
||||||
- prod-atlantis
|
- prod-atlantis
|
||||||
---
|
---
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v2alpha1
|
||||||
kind: Subscription
|
kind: Subscription
|
||||||
metadata:
|
metadata:
|
||||||
name: inbox-events
|
name: inbox-events
|
||||||
spec:
|
spec:
|
||||||
topic: inbox
|
topic: inbox
|
||||||
route: /inbox-events
|
routes:
|
||||||
|
default: /inbox-events
|
||||||
pubsubname: pubsub
|
pubsubname: pubsub
|
||||||
metadata:
|
metadata:
|
||||||
queueType: quorum
|
queueType: quorum
|
||||||
+3
-2
@@ -15,10 +15,10 @@
|
|||||||
"profile"
|
"profile"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"redis": "staging-redis-master.redis.svc,user=default,password=secret",
|
||||||
"sso": {
|
"sso": {
|
||||||
"cookieDomain": ".oceanbox.io",
|
"cookieDomain": ".oceanbox.io",
|
||||||
"signedOutRedirectUri": "https://idp.oceanbox.io/dex/static/logout.html",
|
"signedOutRedirectUri": "https://idp.oceanbox.io/dex/static/logout.html",
|
||||||
"redis": "staging-redis-master.redis.svc,user=default,password=secret",
|
|
||||||
"appDomain": "atlantis",
|
"appDomain": "atlantis",
|
||||||
"dataProtectionKeys": "DataProtection-Keys"
|
"dataProtectionKeys": "DataProtection-Keys"
|
||||||
},
|
},
|
||||||
@@ -30,5 +30,6 @@
|
|||||||
],
|
],
|
||||||
"logService" : "https://seq.adm.oceanbox.io",
|
"logService" : "https://seq.adm.oceanbox.io",
|
||||||
"logApiKey": "",
|
"logApiKey": "",
|
||||||
"deployEnv": "staging"
|
"deployEnv": "staging",
|
||||||
|
"plainAuthUsers": []
|
||||||
}
|
}
|
||||||
@@ -1,2 +1,3 @@
|
|||||||
OIDC_CLIENT_SECRET=3QjfSPmAemjn34XVA2o1fvoS7I4gKvOR
|
OIDC_CLIENT_SECRET=3QjfSPmAemjn34XVA2o1fvoS7I4gKvOR
|
||||||
SEQ_APIKEY=v9RfeLBD9Si7OkFlkjPm
|
SEQ_APIKEY=v9RfeLBD9Si7OkFlkjPm
|
||||||
|
DEPLOY_NAME=staging-atlantis
|
||||||
+2
-1
@@ -1,9 +1,10 @@
|
|||||||
generatorOptions:
|
generatorOptions:
|
||||||
disableNameSuffixHash: true
|
disableNameSuffixHash: true
|
||||||
secretGenerator:
|
configMapGenerator:
|
||||||
- name: staging-atlantis-appsettings
|
- name: staging-atlantis-appsettings
|
||||||
files:
|
files:
|
||||||
- appsettings.json
|
- appsettings.json
|
||||||
|
secretGenerator:
|
||||||
- name: staging-atlantis-env
|
- name: staging-atlantis-env
|
||||||
envs:
|
envs:
|
||||||
- default.env
|
- default.env
|
||||||
+6
-4
@@ -1,23 +1,25 @@
|
|||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v2alpha1
|
||||||
kind: Subscription
|
kind: Subscription
|
||||||
metadata:
|
metadata:
|
||||||
name: hipster-events
|
name: hipster-events
|
||||||
spec:
|
spec:
|
||||||
topic: hipster
|
topic: hipster
|
||||||
route: /hipster-events
|
routes:
|
||||||
|
default: /hipster-events
|
||||||
pubsubname: pubsub
|
pubsubname: pubsub
|
||||||
metadata:
|
metadata:
|
||||||
queueType: quorum
|
queueType: quorum
|
||||||
scopes:
|
scopes:
|
||||||
- staging-atlantis
|
- staging-atlantis
|
||||||
---
|
---
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v2alpha1
|
||||||
kind: Subscription
|
kind: Subscription
|
||||||
metadata:
|
metadata:
|
||||||
name: inbox-events
|
name: inbox-events
|
||||||
spec:
|
spec:
|
||||||
topic: inbox
|
topic: inbox
|
||||||
route: /inbox-events
|
routes:
|
||||||
|
default: /inbox-events
|
||||||
pubsubname: pubsub
|
pubsubname: pubsub
|
||||||
metadata:
|
metadata:
|
||||||
queueType: quorum
|
queueType: quorum
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
replicaCount: 2
|
||||||
|
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
dapr.io/app-id: "prod-atlantis"
|
dapr.io/app-id: "prod-atlantis"
|
||||||
dapr.io/enabled: "true"
|
dapr.io/enabled: "true"
|
||||||
+6
-2
@@ -1,3 +1,4 @@
|
|||||||
|
replicaCount: 2
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
dapr.io/app-id: "staging-atlantis"
|
dapr.io/app-id: "staging-atlantis"
|
||||||
dapr.io/enabled: "true"
|
dapr.io/enabled: "true"
|
||||||
@@ -14,13 +15,16 @@ podAnnotations:
|
|||||||
dapr.io/sidecar-cpu-limit: "300m"
|
dapr.io/sidecar-cpu-limit: "300m"
|
||||||
dapr.io/sidecar-memory-limit: "1000Mi"
|
dapr.io/sidecar-memory-limit: "1000Mi"
|
||||||
dapr.io/log-as-json: "true"
|
dapr.io/log-as-json: "true"
|
||||||
|
|
||||||
image:
|
image:
|
||||||
tag: c0c8de05-debug
|
tag: 7f3512e0-debug
|
||||||
ingress:
|
ingress:
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
||||||
|
# nginx.ingress.kubernetes.io/affinity: "cookie"
|
||||||
|
# nginx.ingress.kubernetes.io/session-cookie-name: "http-affinity"
|
||||||
|
# nginx.ingress.kubernetes.io/session-cookie-expires: "86400"
|
||||||
|
# nginx.ingress.kubernetes.io/session-cookie-max-age: "86400"
|
||||||
# atlantis.oceanbox.io/expose: internal
|
# atlantis.oceanbox.io/expose: internal
|
||||||
hosts:
|
hosts:
|
||||||
- host: atlantis.beta.oceanbox.io
|
- host: atlantis.beta.oceanbox.io
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user