[bitnami/drupal] Cosmetic changes to Network policies (#8076)

* [bitnami/drupal] Cosmetic changes to Network policies

* [bitnami/drupal] Specificy to configure selectors in the Network Policies

* [bitnami/drupal] Undo filename changes

* [bitnami/drupal] Fix typos and minor errors

* [bitnami/drupal] One last typo
This commit is contained in:
Pablo Galego
2021-11-10 12:41:00 +01:00
committed by GitHub
parent ac6addfc22
commit 9a5d142aec
3 changed files with 11 additions and 9 deletions

View File

@@ -31,4 +31,4 @@ name: drupal
sources:
- https://github.com/bitnami/bitnami-docker-drupal
- http://www.drupal.org/
version: 10.4.2
version: 10.4.3

View File

@@ -249,10 +249,10 @@ The command removes all the Kubernetes components associated with the chart and
| Name | Description | Value |
| ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | ------- |
| `networkPolicy.enabled` | Enable network policies | `false` |
| `networkPolicy.metrics.enabled` | Enable network policy for metrics (prometheus) | `true` |
| `networkPolicy.metrics.enabled` | Enable network policy for metrics (prometheus) | `false` |
| `networkPolicy.metrics.namespaceSelector` | Monitoring namespace selector labels. These labels will be used to identify the prometheus' namespace. | `{}` |
| `networkPolicy.metrics.podSelector` | Monitoring pod selector labels. These labels will be used to identify the Prometheus pods. | `{}` |
| `networkPolicy.ingress.enabled` | Enable network policy for Ingress Proxys | `true` |
| `networkPolicy.ingress.enabled` | Enable network policy for Ingress Proxies | `false` |
| `networkPolicy.ingress.namespaceSelector` | Ingress Proxy namespace selector labels. These labels will be used to identify the Ingress Proxy's namespace. | `{}` |
| `networkPolicy.ingress.podSelector` | Ingress Proxy pods selector labels. These labels will be used to identify the Ingress Proxy pods. | `{}` |
| `networkPolicy.ingressRules.backendOnlyAccessibleByFrontend` | Enable ingress rule that makes the backend (mariadb) only accesible by drupal's pods. | `false` |

View File

@@ -662,10 +662,11 @@ certificates:
## @section NetworkPolicy parameters
## Add networkpolcies
## Add networkpolicies
##
networkPolicy:
## @param networkPolicy.enabled Enable network policies
## If ingress.enabled or metrics.enabled are true, configure networkPolicy.ingress and networkPolicy.metrics selectors respectively to allow communication
##
enabled: false
## @param networkPolicy.metrics.enabled Enable network policy for metrics (prometheus)
@@ -673,7 +674,7 @@ networkPolicy:
## @param networkPolicy.metrics.podSelector [object] Monitoring pod selector labels. These labels will be used to identify the Prometheus pods.
##
metrics:
enabled: true
enabled: false
## e.g:
## podSelector:
## label: monitoring
@@ -684,12 +685,12 @@ networkPolicy:
## label: monitoring
##
namespaceSelector: {}
## @param networkPolicy.ingress.enabled Enable network policy for Ingress Proxys
## @param networkPolicy.ingress.enabled Enable network policy for Ingress Proxies
## @param networkPolicy.ingress.namespaceSelector [object] Ingress Proxy namespace selector labels. These labels will be used to identify the Ingress Proxy's namespace.
## @param networkPolicy.ingress.podSelector [object] Ingress Proxy pods selector labels. These labels will be used to identify the Ingress Proxy pods.
##
ingress:
enabled: true
enabled: false
## e.g:
## podSelector:
## label: ingress
@@ -700,7 +701,7 @@ networkPolicy:
## label: ingress
##
namespaceSelector: {}
## @param networkPolicy.ingressRules.backendOnlyAccessibleByFrontend Enable ingress rule that makes the backend (mariadb) only accesible by drupal's pods.
## @param networkPolicy.ingressRules.backendOnlyAccessibleByFrontend Enable ingress rule that makes the backend (mariadb) only accessible by drupal's pods.
## @param networkPolicy.ingressRules.customBackendSelector [object] Backend selector labels. These labels will be used to identify the backend pods.
## @param networkPolicy.ingressRules.accessOnlyFrom.enabled Enable ingress rule that makes drupal only accessible from a particular origin
## @param networkPolicy.ingressRules.accessOnlyFrom.namespaceSelector [object] Namespace selector label that is allowed to access drupal. This label will be used to identified the allowed namespace(s).
@@ -708,7 +709,8 @@ networkPolicy:
## @param networkPolicy.ingressRules.customRules [object] Custom network policy ingress rule
##
ingressRules:
## Mysql backend only could be accessed from drupal
## mariadb backend only can be accessed from drupal
##
backendOnlyAccessibleByFrontend: false
customBackendSelector: {}
## Allow only from the indicated: