Skip to content

Commit c8a6eed

Browse files
authored
Merge branch 'main' into feature/uat-aws
2 parents e134b01 + 317a7f7 commit c8a6eed

File tree

40 files changed

+29358
-64
lines changed

40 files changed

+29358
-64
lines changed

.github/headers/NOTICE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ This product includes software developed by NVIDIA Corporation (https://www.nvid
66
The Initial Developer of the distros/kubernetes/nvsentinel/charts/mongodb-store/charts/mongodb, is Broadcom, Inc. (https://www.broadcom.com/).
77
Copyright 2024 Broadcom, Inc. All Rights Reserved.
88
Source: https://github.com/bitnami/charts/commit/f001424f6aad534d5fe5a9ad09265b24b1fd6fe7
9+
10+
The Initial Developer of the distros/kubernetes/nvsentinel/charts/mongodb-store/charts/psmdb-operator and distros/kubernetes/nvsentinel/charts/mongodb-store/charts/psmdb-db, is Percona LLC (https://www.percona.com/).
11+
Copyright 2019 Paul Czarkowski. All Rights Reserved.
12+
Source: https://github.com/percona/percona-helm-charts

Makefile

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,32 @@ tilt-ci: ## Run Tilt in CI mode (no UI, waits for all resources)
708708
@echo "Waiting for all statefulsets to be ready..."
709709
@kubectl get statefulsets --all-namespaces --no-headers -o custom-columns=":metadata.namespace,:metadata.name" | while read ns name; do \
710710
echo "Waiting for statefulset $$name in namespace $$ns..."; \
711-
kubectl rollout status statefulset/$$name -n $$ns --timeout=300s || exit 1; \
711+
if kubectl rollout status statefulset/$$name -n $$ns --timeout=300s 2>/dev/null; then \
712+
echo "StatefulSet $$name rolled out successfully"; \
713+
else \
714+
echo "Rollout status not available, checking ready replicas..."; \
715+
desired=$$(kubectl get statefulset $$name -n $$ns -o jsonpath='{.spec.replicas}' 2>/dev/null); \
716+
if [ -z "$$desired" ]; then \
717+
echo "Failed to get replica count for statefulset $$name"; \
718+
exit 1; \
719+
fi; \
720+
timeout=300; elapsed=0; \
721+
while [ $$elapsed -lt $$timeout ]; do \
722+
ready=$$(kubectl get statefulset $$name -n $$ns -o jsonpath='{.status.readyReplicas}' 2>/dev/null || echo "0"); \
723+
if [ "$$ready" = "$$desired" ]; then \
724+
echo "StatefulSet $$name is ready ($$ready/$$desired replicas)"; \
725+
break; \
726+
fi; \
727+
if [ $$elapsed -eq 0 ] || [ $$((elapsed % 30)) -eq 0 ]; then \
728+
echo "Waiting for $$name: $$ready/$$desired replicas ready..."; \
729+
fi; \
730+
sleep 5; elapsed=$$((elapsed + 5)); \
731+
done; \
732+
if [ $$elapsed -ge $$timeout ]; then \
733+
echo "Timeout waiting for statefulset $$name"; \
734+
exit 1; \
735+
fi; \
736+
fi; \
712737
done
713738
@echo "All workloads are ready!"
714739

distros/kubernetes/nvsentinel/Chart.lock

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,14 @@ dependencies:
2929
- name: labeler
3030
repository: ""
3131
version: 0.1.0
32-
digest: sha256:c10f6e7fdb0b99a47f38e210c25e610da182c94fe32d89753a34352d12c0bb22
33-
generated: "2025-10-15T10:37:19.739789+05:30"
32+
- name: janitor
33+
repository: ""
34+
version: 0.1.0
35+
- name: metadata-collector
36+
repository: ""
37+
version: 0.1.0
38+
- name: kubernetes-object-monitor
39+
repository: ""
40+
version: 0.1.0
41+
digest: sha256:b72ab10b3e61b4073ae964a5e4062d251f238852b38b0445a2c3269114b26b30
42+
generated: "2025-11-19T14:51:23.601934963+05:30"
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
apiVersion: cert-manager.io/v1
16+
kind: Issuer
17+
metadata:
18+
name: {{ .Values.webhook.certIssuer }}
19+
namespace: {{ .Release.Namespace }}
20+
labels:
21+
{{- include "janitor.labels" . | nindent 4 }}
22+
spec:
23+
selfSigned: {}
24+

distros/kubernetes/nvsentinel/charts/janitor/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ webhook:
224224
# Directory containing webhook TLS certs
225225
certDir: "/tmp/k8s-webhook-server/serving-certs"
226226
# Cert-manager issuer to use for webhook certificate
227-
# This issuer must exist in the same namespace
228-
certIssuer: "selfsigned-ca-issuer"
227+
# Janitor creates its own self-signed issuer
228+
certIssuer: "janitor-selfsigned-issuer"
229229

230230
# Metrics Configuration
231231
metrics:

distros/kubernetes/nvsentinel/charts/mongodb-store/Chart.lock

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,11 @@ dependencies:
22
- name: mongodb
33
repository: ""
44
version: 16.2.2
5-
digest: sha256:7bc0222d2ca507e5b3c38829401a888800575ea76a693b42b4ab8edb2cd0ff37
6-
generated: "2025-09-19T18:55:22.424746878+05:30"
5+
- name: psmdb-operator
6+
repository: ""
7+
version: 1.21.1
8+
- name: psmdb-db
9+
repository: ""
10+
version: 1.21.1
11+
digest: sha256:52544f60c2e88079cc18da78164440e042103e5adc065668a648864e2ad938b9
12+
generated: "2025-11-19T15:26:21.985280107+05:30"

distros/kubernetes/nvsentinel/charts/mongodb-store/Chart.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,13 @@ appVersion: "1.16.0"
2222
dependencies:
2323
- name: mongodb
2424
version: "16.2.2"
25-
condition: global.mongodbStore.enabled
25+
repository: ""
26+
condition: useBitnami
27+
- name: psmdb-operator
28+
version: "1.21.1"
29+
repository: ""
30+
condition: usePerconaOperator
31+
- name: psmdb-db
32+
version: "1.21.1"
33+
repository: ""
34+
condition: usePerconaOperator
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*~
18+
# Various IDEs
19+
.project
20+
.idea/
21+
*.tmproj
22+
.vscode/
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: v2
2+
appVersion: 1.21.1
3+
description: A Helm chart for installing Percona Server MongoDB Cluster Databases
4+
using the PSMDB Operator.
5+
home: https://www.percona.com/doc/kubernetes-operator-for-psmongodb/index.html
6+
maintainers:
7+
8+
name: nmarukovich
9+
10+
name: jvpasinatto
11+
12+
name: eleo007
13+
name: psmdb-db
14+
version: 1.21.1

0 commit comments

Comments
 (0)