diff --git a/bitnami/wildfly/Chart.yaml b/bitnami/wildfly/Chart.yaml index c9a049f9f..1c549b138 100644 --- a/bitnami/wildfly/Chart.yaml +++ b/bitnami/wildfly/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: wildfly -version: 3.2.4 +version: 3.2.5 appVersion: 17.0.1 description: Chart for Wildfly keywords: diff --git a/bitnami/wildfly/README.md b/bitnami/wildfly/README.md index e12f95d2e..63ba24e6e 100644 --- a/bitnami/wildfly/README.md +++ b/bitnami/wildfly/README.md @@ -82,6 +82,7 @@ The following tables lists the configurable parameters of the WildFly chart and | `persistence.accessMode` | PVC Access Mode for WildFly volume | `ReadWriteOnce` | | `persistence.size` | PVC Storage Request for WildFly volume | `8Gi` | | `resources` | CPU/Memory resource requests/limits | Memory: `512Mi`, CPU: `300m` | +| `affinity` | Map of node/pod affinities | `{}` | The above parameters map to the env variables defined in [bitnami/wildfly](http://github.com/bitnami/bitnami-docker-wildfly). For more information please refer to the [bitnami/wildfly](http://github.com/bitnami/bitnami-docker-wildfly) image documentation. diff --git a/bitnami/wildfly/templates/deployment.yaml b/bitnami/wildfly/templates/deployment.yaml index 3eb985e54..4f7958eb7 100644 --- a/bitnami/wildfly/templates/deployment.yaml +++ b/bitnami/wildfly/templates/deployment.yaml @@ -82,3 +82,7 @@ spec: {{- else }} emptyDir: {} {{- end -}} + {{- with .Values.affinity }} + affinity: +{{ toYaml . | indent 8 }} + {{- end }} diff --git a/bitnami/wildfly/values.yaml b/bitnami/wildfly/values.yaml index 93aa33cea..97d214bf4 100644 --- a/bitnami/wildfly/values.yaml +++ b/bitnami/wildfly/values.yaml @@ -117,3 +117,8 @@ resources: requests: memory: 512Mi cpu: 300m + +## Affinity for pod assignment +## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity +## +affinity: {} \ No newline at end of file