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/),
---
## [0.1.6-bb.2] - 2021-06-02
### Changed
- Restricted test policy to just cluster
## [0.1.6-bb.1] - 2021-06-01
### Changed
- Moved tests to gluon library
......
apiVersion: v2
name: mattermost
type: application
version: "0.1.6-bb.1"
version: "0.1.6-bb.2"
appVersion: "5.34.2"
description: "Deployment of mattermost"
keywords:
......
{{- $bbtests := .Values.bbtests | default dict -}}
{{- $cypress := $bbtests.cypress | default dict -}}
{{- $enabled := (hasKey $bbtests "enabled") -}}
{{- $artifacts := (hasKey $cypress "artifacts") -}}
{{- if and $enabled $artifacts }}
{{- if and .Values.networkPolicies.enabled .Values.bbtests.enabled .Values.bbtests.cypress.artifacts }}
{{- if $enabled }}
{{- if and .Values.networkPolicies.enabled .Values.bbtests.enabled }}
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
......@@ -16,11 +14,6 @@ spec:
policyTypes:
- 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 }}
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