blob: 6ccabef67c8a160304d4a91d61682fe48919f6a5 [file] [log] [blame]
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +04001{{- if .Values.awsSecurityGroupPolicies.enabled -}}
2{{- range .Values.awsSecurityGroupPolicies.policies -}}
3apiVersion: vpcresources.k8s.aws/v1beta1
4kind: SecurityGroupPolicy
5metadata:
6 name: {{ .name }}
7 namespace: {{ template "jenkins.namespace" $ }}
Giorgi Lekveishviliea328da2026-07-29 12:15:15 +04008 labels:
9 {{ include "jenkins.labels" $ | nindent 4 }}
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040010spec:
11 podSelector:
12 {{- toYaml .podSelector | nindent 6}}
13 securityGroups:
14 groupIds:
15 {{- toYaml .securityGroupIds | nindent 6}}
16---
17{{- end -}}
18{{- end -}}