blob: 6ccabef67c8a160304d4a91d61682fe48919f6a5 [file] [log] [blame]
Giorgi Lekveishvili35982662024-04-05 13:05:40 +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" $ }}
gio20157e82026-07-22 13:10:48 +04008 labels:
9 {{ include "jenkins.labels" $ | nindent 4 }}
Giorgi Lekveishvili35982662024-04-05 13:05:40 +040010spec:
11 podSelector:
12 {{- toYaml .podSelector | nindent 6}}
13 securityGroups:
14 groupIds:
15 {{- toYaml .securityGroupIds | nindent 6}}
16---
17{{- end -}}
18{{- end -}}