Skip to content

Commit

Permalink
feat: add label selector to the pod managed by deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Azhovan committed Sep 5, 2023
1 parent 2c5f2cf commit 0afc149
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions licenses.d2iq.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ ignore:
- docker.io/library/busybox:1
- gcr.io/kubecost1/cost-model:prod-1.104.0
- gcr.io/kubecost1/frontend:prod-1.104.0
- docker.io/bitnami/redis-cluster:7.2.0-debian-11-r0
- docker.io/gitea/gitea:1.19.2-rootless

# Fossa doesn't support scanning arbitrary C-files
- docker.io/mesosphere/pause-busybox:3.6
Expand Down
12 changes: 12 additions & 0 deletions services/gitea/9.3.0/defaults/cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ data:
service:
REQUIRE_SIGNIN_VIEW: false
DISABLE_REGISTRATION: true
session:
PROVIDER: redis
PROVIDER_CONFIG: redis+cluster://:gitea@gitea-redis-cluster-headless.${releaseNamespace}.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s&
cache:
ENABLED: true
ADAPTER: redis
HOST: redis+cluster://:gitea@gitea-redis-cluster-headless.${releaseNamespace}.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s&
queue:
TYPE: redis
CONN_STR: redis+cluster://:gitea@gitea-redis-cluster-headless.${releaseNamespace}v.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s&
startupProbe:
enabled: true
tcpSocket:
Expand All @@ -49,6 +59,8 @@ data:
deployment:
annotations:
secret.reloader.stakater.com/reload: ${tlsCertificateSecret}
labels:
"deployment.kubernetes.io/pod-name": "gitea-0"
service:
http:
port: 443
Expand Down

0 comments on commit 0afc149

Please sign in to comment.