Fix pg sanitizer workflow connectivity
This commit is contained in:
parent
faf672d852
commit
854d723299
@ -21,6 +21,7 @@ spec:
|
||||
containerSecurityContext:
|
||||
readOnlyRootFilesystem: false
|
||||
extendedConfiguration: |-
|
||||
listen_addresses = '*'
|
||||
fsync = off
|
||||
full_page_writes = off
|
||||
synchronous_commit = off
|
||||
|
||||
@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- serviceaccount.yaml
|
||||
- rbac.yaml
|
||||
- workflowtemplate.yaml
|
||||
- cronworkflow.yaml
|
||||
|
||||
28
infrastructure/pg-sanitizer/base/rbac.yaml
Normal file
28
infrastructure/pg-sanitizer/base/rbac.yaml
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user