Fix pg sanitizer workflow connectivity

This commit is contained in:
Kochetkov S 2026-06-11 14:17:11 +03:00
parent faf672d852
commit 854d723299
3 changed files with 30 additions and 0 deletions

View File

@ -21,6 +21,7 @@ spec:
containerSecurityContext: containerSecurityContext:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
extendedConfiguration: |- extendedConfiguration: |-
listen_addresses = '*'
fsync = off fsync = off
full_page_writes = off full_page_writes = off
synchronous_commit = off synchronous_commit = off

View File

@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- serviceaccount.yaml - serviceaccount.yaml
- rbac.yaml
- workflowtemplate.yaml - workflowtemplate.yaml
- cronworkflow.yaml - cronworkflow.yaml

View File

@ -0,0 +1,28 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: pg-sanitizer-workflowtaskresults
namespace: argo
rules:
- apiGroups:
- argoproj.io
resources:
- workflowtaskresults
verbs:
- create
- get
- patch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: pg-sanitizer-workflowtaskresults
namespace: argo
subjects:
- kind: ServiceAccount
name: pg-sanitizer
namespace: argo
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: pg-sanitizer-workflowtaskresults