UNCLASSIFIED

Commit e551de25 authored by Micah Nagel's avatar Micah Nagel 💰
Browse files

Merge branch 'test-np' into 'main-minio2'

Restrict test policy to just cluster

See merge request !33
parents adb9442b 7823e8e0
Pipeline #290850 passed with stages
in 5 minutes and 30 seconds
...@@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ...@@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
--- ---
## [0.1.6-bb.2] - 2021-06-02
### Changed
- Restricted test policy to just cluster
## [0.1.6-bb.1] - 2021-06-01 ## [0.1.6-bb.1] - 2021-06-01
### Changed ### Changed
- Moved tests to gluon library - Moved tests to gluon library
......
apiVersion: v2 apiVersion: v2
name: mattermost name: mattermost
type: application type: application
version: "0.1.6-bb.1" version: "0.1.6-bb.2"
appVersion: "5.34.2" appVersion: "5.34.2"
description: "Deployment of mattermost" description: "Deployment of mattermost"
keywords: keywords:
......
{{- $bbtests := .Values.bbtests | default dict -}} {{- $bbtests := .Values.bbtests | default dict -}}
{{- $cypress := $bbtests.cypress | default dict -}}
{{- $enabled := (hasKey $bbtests "enabled") -}} {{- $enabled := (hasKey $bbtests "enabled") -}}
{{- $artifacts := (hasKey $cypress "artifacts") -}} {{- if $enabled }}
{{- if and $enabled $artifacts }} {{- if and .Values.networkPolicies.enabled .Values.bbtests.enabled }}
{{- if and .Values.networkPolicies.enabled .Values.bbtests.enabled .Values.bbtests.cypress.artifacts }}
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: NetworkPolicy kind: NetworkPolicy
metadata: metadata:
...@@ -16,11 +14,6 @@ spec: ...@@ -16,11 +14,6 @@ spec:
policyTypes: policyTypes:
- Egress - Egress
egress: egress:
- to: - {}
- ipBlock:
cidr: 0.0.0.0/0
# ONLY Block requests to AWS metadata IP
except:
- 169.254.169.254/32
{{- end }} {{- end }}
{{- end }} {{- end }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment