jenkins-aws-security-group-policies.yaml 427 B

12345678910111213141516
  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" $ }}
  8. spec:
  9. podSelector:
  10. {{- toYaml .podSelector | nindent 6}}
  11. securityGroups:
  12. groupIds:
  13. {{- toYaml .securityGroupIds | nindent 6}}
  14. ---
  15. {{- end -}}
  16. {{- end -}}