Skip to content

Commit

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

Signed-off-by: Raphaela <[email protected]>

* Add replicCount to deployment.yaml

Signed-off-by: Raphaela <[email protected]>

* Add replicaCount to README.md

Signed-off-by: Raphaela <[email protected]>

* Update replicaCount to {} in values.yaml

Signed-off-by: Raphaela <[email protected]>

* Update deployment.yaml

Signed-off-by: Raphaela <[email protected]>

* Update values.yaml

Signed-off-by: Raphaela <[email protected]>

* Simplify ReplicaCount

Signed-off-by: Raphaela <[email protected]>

* Simplify replica solution

Signed-off-by: Raphaela <[email protected]>

* Update ReadMe and Bump version

Signed-off-by: Raphaela Seeger <[email protected]>

---------

Signed-off-by: Raphaela <[email protected]>
Signed-off-by: Raphaela Seeger <[email protected]>
Signed-off-by: David Gomez <[email protected]>
Co-authored-by: Raphaela Seeger <[email protected]>
Co-authored-by: David Gomez <[email protected]>
  • Loading branch information
3 people authored May 20, 2024
1 parent 8b9a7e6 commit a8fbbd4
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 a8fbbd4

Please sign in to comment.