diff --git a/charts/super-agent/Chart.lock b/charts/super-agent/Chart.lock index 64a9c800f..382865af6 100644 --- a/charts/super-agent/Chart.lock +++ b/charts/super-agent/Chart.lock @@ -4,9 +4,9 @@ dependencies: version: 2.13.0 - name: super-agent-deployment repository: "" - version: 0.0.28-beta + version: 0.0.29-beta - name: common-library repository: https://helm-charts.newrelic.com version: 1.3.0 -digest: sha256:1f0d1be3ed6ab4f1cde3dd610f0743f217651cd93a87a2447d656452d0eaf853 -generated: "2024-12-02T16:47:50.023256+01:00" +digest: sha256:c827e90c8a5deac2f2795887c33a545109ea2a8755121cfc0818da87c3effa6e +generated: "2024-12-06T10:45:07.728045+01:00" diff --git a/charts/super-agent/Chart.yaml b/charts/super-agent/Chart.yaml index ee16bd295..3f9443b31 100644 --- a/charts/super-agent/Chart.yaml +++ b/charts/super-agent/Chart.yaml @@ -3,7 +3,7 @@ name: super-agent description: Bootstraps New Relic' Super Agent type: application -version: 0.0.26-beta +version: 0.0.27-beta dependencies: - name: flux2 @@ -11,7 +11,7 @@ dependencies: version: 2.13.0 condition: flux2.enabled - name: super-agent-deployment - version: 0.0.28-beta + version: 0.0.29-beta condition: super-agent-deployment.enabled # The following dependency is needed as sub-dependency of super-agent-deployment - name: common-library diff --git a/charts/super-agent/charts/super-agent-deployment/Chart.yaml b/charts/super-agent/charts/super-agent-deployment/Chart.yaml index df21d0e65..9871a9781 100644 --- a/charts/super-agent/charts/super-agent-deployment/Chart.yaml +++ b/charts/super-agent/charts/super-agent-deployment/Chart.yaml @@ -4,7 +4,7 @@ description: A Helm chart to install New Relic Super agent on Kubernetes type: application -version: 0.0.28-beta +version: 0.0.29-beta keywords: - newrelic diff --git a/charts/super-agent/charts/super-agent-deployment/templates/uninstall-job.yaml b/charts/super-agent/charts/super-agent-deployment/templates/uninstall-job.yaml index e63718c52..6890fc567 100644 --- a/charts/super-agent/charts/super-agent-deployment/templates/uninstall-job.yaml +++ b/charts/super-agent/charts/super-agent-deployment/templates/uninstall-job.yaml @@ -36,8 +36,9 @@ spec: # We want to avoid having the SA recreating some of the resources we are deleting running this job kubectl scale deployment --replicas=0 {{ include "newrelic.common.naming.fullname" . }} -n {{ $.Release.Namespace }} --timeout=60s - # Delete the standard resources (configmaps) managed by the super-agent + # Delete the standard resources (configmaps and secrets) managed by the super-agent kubectl delete configmaps -n {{ .Release.Namespace }} -l {{ $saResourcesLabelSelector }} + kubectl delete secrets -n {{ .Release.Namespace }} -l {{ $saResourcesLabelSelector }} # Delete the CRs managed by the super-agent if the corresponding CRDs exist {{ range $i, $cr := $saCRList }}