Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitnami/jenkins] Stabilize Jenkins by adding a replicaCount #25108

Merged
merged 11 commits into from
May 20, 2024
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 containers | `1` |
elatella marked this conversation as resolved.
Show resolved Hide resolved
| `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 @@ -618,4 +619,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.
3 changes: 3 additions & 0 deletions bitnami/jenkins/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ 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 }}
{{- if .Values.replicaCount }}
elatella marked this conversation as resolved.
Show resolved Hide resolved
{{- include "common.tplvalues.render" (dict "value" .Values.replicas "context" $) | nindent 8 }}
{{- end }}
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 @@ -40,6 +40,9 @@ nameOverride: ""
fullnameOverride: ""
## @param commonLabels Labels to add to all deployed objects
##
replicas: {}
elatella marked this conversation as resolved.
Show resolved Hide resolved
## @param replicas Defining number of container replicas
##
commonLabels: {}
## @param commonAnnotations Annotations to add to all deployed objects
##
Expand Down
Loading