UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 6d8166f7 authored by Ryan Garcia's avatar Ryan Garcia :dizzy: Committed by Micah Nagel
Browse files

NetworkPolicy to allow metrics scraping of minio tenants

parent 81c542e5
No related branches found
No related tags found
1 merge request!89NetworkPolicy to allow metrics scraping of minio tenants
......@@ -3,6 +3,10 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
---
## [0.7.0-bb.1] - 2022-03-28
### Added
- NetworkPolicy Template to allow metrics scraping of minio tenants
## [0.7.0-bb.0] - 2022-03-03
### Changed
- Updated MM to 6.4.1
......
# mattermost
![Version: 0.7.0-bb.0](https://img.shields.io/badge/Version-0.7.0--bb.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.4.1](https://img.shields.io/badge/AppVersion-6.4.1-informational?style=flat-square)
![Version: 0.7.0-bb.1](https://img.shields.io/badge/Version-0.7.0--bb.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.4.1](https://img.shields.io/badge/AppVersion-6.4.1-informational?style=flat-square)
Deployment of mattermost
......@@ -81,6 +81,8 @@ helm install mattermost chart/
| minio.tenants.secrets.name | string | `"mattermost-objstore-creds"` | |
| minio.tenants.secrets.accessKey | string | `"minio"` | |
| minio.tenants.secrets.secretKey | string | `"minio123"` | |
| minio.tenants.metrics.enabled | bool | `false` | |
| minio.tenants.metrics.port | int | `9000` | |
| postgresql.install | bool | `false` | |
| postgresql.image.registry | string | `"registry1.dso.mil/ironbank"` | |
| postgresql.image.repository | string | `"opensource/postgres/postgresql11"` | |
......
......@@ -2,7 +2,7 @@
apiVersion: v2
name: mattermost
type: application
version: "0.7.0-bb.0"
version: "0.7.0-bb.1"
appVersion: "6.4.1"
description: "Deployment of mattermost"
keywords:
......
{{- if and .Values.networkPolicies.enabled .Values.monitoring.enabled .Values.minio.install .Values.minio.tenants.metrics.enabled }}
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-minio-metrics-scraping
namespace: {{ .Release.Namespace }}
spec:
podSelector:
matchLabels:
app: minio
v1.min.io/tenant: mattermost-minio
policyTypes:
- Ingress
ingress:
- from:
- namespaceSelector:
matchLabels:
app.kubernetes.io/name: monitoring
ports:
- port: {{ .Values.minio.tenants.metrics.port }}
protocol: TCP
{{- end }}
......@@ -137,6 +137,9 @@ minio:
name: "mattermost-objstore-creds"
accessKey: "minio"
secretKey: "minio123" # default key, change this!
metrics:
enabled: false
port: 9000
postgresql:
install: false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment