Skip to content

Commit

Permalink
[bitnami/jenkins] Stabilize Jenkins by adding a replicaCount (bitnami…
Browse files Browse the repository at this point in the history
…#25108)

* Add replicaCount to values

Signed-off-by: Raphaela <44403256+elatella@users.noreply.github.com>

* Add replicCount to deployment.yaml

Signed-off-by: Raphaela <44403256+elatella@users.noreply.github.com>

* Add replicaCount to README.md

Signed-off-by: Raphaela <44403256+elatella@users.noreply.github.com>

* Update replicaCount to {} in values.yaml

Signed-off-by: Raphaela <44403256+elatella@users.noreply.github.com>

* Update deployment.yaml

Signed-off-by: Raphaela <44403256+elatella@users.noreply.github.com>

* Update values.yaml

Signed-off-by: Raphaela <44403256+elatella@users.noreply.github.com>

* Simplify ReplicaCount

Signed-off-by: Raphaela <44403256+elatella@users.noreply.github.com>

* Simplify replica solution

Signed-off-by: Raphaela <44403256+elatella@users.noreply.github.com>

* Update ReadMe and Bump version

Signed-off-by: Raphaela Seeger <elatella@users.noreply.github.com>

---------

Signed-off-by: Raphaela <44403256+elatella@users.noreply.github.com>
Signed-off-by: Raphaela Seeger <elatella@users.noreply.github.com>
Signed-off-by: David Gomez <dgomezleon@vmware.com>
Co-authored-by: Raphaela Seeger <elatella@users.noreply.github.com>
Co-authored-by: David Gomez <dgomezleon@vmware.com>
Signed-off-by: Fran Mulero <fmulero@vmware.com>
  • Loading branch information
3 people authored and fmulero committed May 22, 2024
1 parent 4de87ea commit c824f9f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bitnami/jenkins/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ maintainers:
name: jenkins
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/jenkins
version: 13.1.5
version: 13.2.0
3 changes: 2 additions & 1 deletion bitnami/jenkins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ s
| `kubeVersion` | Override Kubernetes version | `""` |
| `nameOverride` | String to partially override common.names.fullname | `""` |
| `fullnameOverride` | String to fully override common.names.fullname | `""` |
| `replicaCount` | Number of container replicas | `1` |
| `commonLabels` | Labels to add to all deployed objects | `{}` |
| `commonAnnotations` | Annotations to add to all deployed objects | `{}` |
| `clusterDomain` | Kubernetes cluster domain name | `cluster.local` |
Expand Down Expand Up @@ -620,4 +621,4 @@ Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
1 change: 1 addition & 0 deletions bitnami/jenkins/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spec:
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.podLabels .Values.commonLabels ) "context" . ) }}
selector:
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
replicas: {{ .Values.replicaCount }}
strategy: {{- include "common.tplvalues.render" (dict "value" .Values.updateStrategy "context" $ ) | nindent 4 }}
template:
metadata:
Expand Down
3 changes: 3 additions & 0 deletions bitnami/jenkins/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ nameOverride: ""
## @param fullnameOverride String to fully override common.names.fullname
##
fullnameOverride: ""
## @param replicaCount Number of container replicas
##
replicaCount: 1
## @param commonLabels Labels to add to all deployed objects
##
commonLabels: {}
Expand Down

0 comments on commit c824f9f

Please sign in to comment.