| Giorgi Lekveishvili | 3598266 | 2024-04-05 13:05:40 +0400 | [diff] [blame] | 1 | {{- if .Values.awsSecurityGroupPolicies.enabled -}} |
| 2 | {{- range .Values.awsSecurityGroupPolicies.policies -}} |
| 3 | apiVersion: vpcresources.k8s.aws/v1beta1 |
| 4 | kind: SecurityGroupPolicy |
| 5 | metadata: |
| 6 | name: {{ .name }} |
| 7 | namespace: {{ template "jenkins.namespace" $ }} |
| gio | 20157e8 | 2026-07-22 13:10:48 +0400 | [diff] [blame^] | 8 | labels: |
| 9 | {{ include "jenkins.labels" $ | nindent 4 }} |
| Giorgi Lekveishvili | 3598266 | 2024-04-05 13:05:40 +0400 | [diff] [blame] | 10 | spec: |
| 11 | podSelector: |
| 12 | {{- toYaml .podSelector | nindent 6}} |
| 13 | securityGroups: |
| 14 | groupIds: |
| 15 | {{- toYaml .securityGroupIds | nindent 6}} |
| 16 | --- |
| 17 | {{- end -}} |
| 18 | {{- end -}} |