From 1cf50af4e5cf0f7ad54aece79036c71650ea5bb4 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Sun, 25 Sep 2022 22:46:29 +0200
Subject: [PATCH] fix(keycloak): Add missing defaults

This patch fixes the forgotten defaults for the networkPolicy feature.
---
 charts/keycloak/Chart.yaml  | 2 +-
 charts/keycloak/README.md   | 2 +-
 charts/keycloak/values.yaml | 4 ++++
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/charts/keycloak/Chart.yaml b/charts/keycloak/Chart.yaml
index 36598eaf2..aafa29116 100644
--- a/charts/keycloak/Chart.yaml
+++ b/charts/keycloak/Chart.yaml
@@ -7,5 +7,5 @@ icon: https://www.keycloak.org/resources/images/keycloak_icon_512px.svg
 sources:
   - https://git.shivering-isles.com/shivering-isles/infrastructure-gitops
   - https://github.com/keycloak/keycloak
-version: 0.3.0
+version: 0.3.1
 appVersion: "19.0.2"
diff --git a/charts/keycloak/README.md b/charts/keycloak/README.md
index 78aef9ec4..f3f8ad568 100644
--- a/charts/keycloak/README.md
+++ b/charts/keycloak/README.md
@@ -1,6 +1,6 @@
 # keycloak
 
-![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 19.0.2](https://img.shields.io/badge/AppVersion-19.0.2-informational?style=flat-square)
+![Version: 0.3.1](https://img.shields.io/badge/Version-0.3.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 19.0.2](https://img.shields.io/badge/AppVersion-19.0.2-informational?style=flat-square)
 
 (Alpha) A Helm chart for Keycloak on Kubernetes
 
diff --git a/charts/keycloak/values.yaml b/charts/keycloak/values.yaml
index 31a45e82e..88c5ae209 100644
--- a/charts/keycloak/values.yaml
+++ b/charts/keycloak/values.yaml
@@ -59,6 +59,10 @@ service:
   type: ClusterIP
   port: 80
 
+networkPolicy:
+  # -- Creates a network policy for inifispan communication, does **not** take care of database or ingress communication
+  create: false
+
 ingress:
   enabled: false
   className: ""
-- 
GitLab