wip: reenable use of deploy env in dapr app-id

This commit is contained in:
2024-06-04 10:08:01 +02:00
parent e102552fdc
commit c71a991a8d
5 changed files with 44 additions and 27 deletions
-18
View File
@@ -1,21 +1,3 @@
- op: add
path: /spec/template/metadata/annotations
value:
dapr.io/enabled: "true"
dapr.io/app-id: "hipster"
dapr.io/app-port: "8000"
dapr.io/config: "tracing"
dapr.io/app-protocol: "http"
dapr.io/enable-app-health-check: "true"
dapr.io/app-health-check-path: "/healthz"
dapr.io/app-health-probe-interval: "3"
dapr.io/app-health-probe-timeout: "200"
dapr.io/app-health-threshold: "2"
dapr.io/sidecar-cpu-request: "100m"
dapr.io/sidecar-memory-request: "250Mi"
dapr.io/sidecar-cpu-limit: "300m"
dapr.io/sidecar-memory-limit: "1000Mi"
dapr.io/log-as-json: "true"
- op: replace
path: /spec/template/spec/containers/0/livenessProbe/httpGet/path
value: /healthz
+17
View File
@@ -1,3 +1,20 @@
podAnnotations:
dapr.io/app-id: "prod-hipster"
dapr.io/enabled: "true"
dapr.io/app-port: "8000"
dapr.io/config: "tracing"
dapr.io/app-protocol: "http"
dapr.io/enable-app-health-check: "true"
dapr.io/app-health-check-path: "/healthz"
dapr.io/app-health-probe-interval: "3"
dapr.io/app-health-probe-timeout: "200"
dapr.io/app-health-threshold: "2"
dapr.io/sidecar-cpu-request: "100m"
dapr.io/sidecar-memory-request: "250Mi"
dapr.io/sidecar-cpu-limit: "300m"
dapr.io/sidecar-memory-limit: "1000Mi"
dapr.io/log-as-json: "true"
ingress:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
+18
View File
@@ -1,5 +1,23 @@
image:
tag: 8c5cf432-debug
podAnnotations:
dapr.io/app-id: "staging-hipster"
dapr.io/enabled: "true"
dapr.io/app-port: "8000"
dapr.io/config: "tracing"
dapr.io/app-protocol: "http"
dapr.io/enable-app-health-check: "true"
dapr.io/app-health-check-path: "/healthz"
dapr.io/app-health-probe-interval: "3"
dapr.io/app-health-probe-timeout: "200"
dapr.io/app-health-threshold: "2"
dapr.io/sidecar-cpu-request: "100m"
dapr.io/sidecar-memory-request: "250Mi"
dapr.io/sidecar-cpu-limit: "300m"
dapr.io/sidecar-memory-limit: "1000Mi"
dapr.io/log-as-json: "true"
ingress:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-staging
@@ -18,7 +18,7 @@ spec:
- name: actorStateStore
value: "true"
scopes:
- atlantis
- petimeter
- hipster
- archmeister
- prod-atlantis
- prod-petimeter
- prod-hipster
- prod-archmeister
@@ -17,8 +17,8 @@ spec:
key: redis-password
- name: actorStateStore
value: "true"
scopes:
- atlantis
- petimeter
- hipster
- archmeister
# scopes:
# - staging-atlantis
# - staging-petimeter
# - staging-hipster
# - staging-archmeister