From 7ad9914c82f095d08a358fcc647ea8faa9f2b63d Mon Sep 17 00:00:00 2001 From: shawnj Date: Fri, 13 May 2022 06:32:12 -0700 Subject: [PATCH] Make patch - NewRelic --- .../kube-state-metrics/dependency.yaml | 2 + .../newrelic-infra-operator/dependency.yaml | 2 + .../newrelic-infrastructure/dependency.yaml | 2 + .../dependency.yaml | 2 + .../newrelic-logging/dependency.yaml | 2 + .../newrelic-pixie/dependency.yaml | 2 + .../nri-kube-events/dependency.yaml | 2 + .../nri-metadata-injection/dependency.yaml | 2 + .../nri-prometheus/dependency.yaml | 2 + .../pixie-operator-chart/dependency.yaml | 2 + .../generated-changes/overlay/app-readme.md | 5 + .../generated-changes/overlay/questions.yaml | 113 ++++++++++++++++++ .../generated-changes/patch/Chart.yaml.patch | 26 ++++ packages/newrelic/package.yaml | 3 + 14 files changed, 167 insertions(+) create mode 100644 packages/newrelic/generated-changes/dependencies/kube-state-metrics/dependency.yaml create mode 100644 packages/newrelic/generated-changes/dependencies/newrelic-infra-operator/dependency.yaml create mode 100644 packages/newrelic/generated-changes/dependencies/newrelic-infrastructure/dependency.yaml create mode 100644 packages/newrelic/generated-changes/dependencies/newrelic-k8s-metrics-adapter/dependency.yaml create mode 100644 packages/newrelic/generated-changes/dependencies/newrelic-logging/dependency.yaml create mode 100644 packages/newrelic/generated-changes/dependencies/newrelic-pixie/dependency.yaml create mode 100644 packages/newrelic/generated-changes/dependencies/nri-kube-events/dependency.yaml create mode 100644 packages/newrelic/generated-changes/dependencies/nri-metadata-injection/dependency.yaml create mode 100644 packages/newrelic/generated-changes/dependencies/nri-prometheus/dependency.yaml create mode 100644 packages/newrelic/generated-changes/dependencies/pixie-operator-chart/dependency.yaml create mode 100644 packages/newrelic/generated-changes/overlay/app-readme.md create mode 100644 packages/newrelic/generated-changes/overlay/questions.yaml create mode 100644 packages/newrelic/generated-changes/patch/Chart.yaml.patch create mode 100644 packages/newrelic/package.yaml diff --git a/packages/newrelic/generated-changes/dependencies/kube-state-metrics/dependency.yaml b/packages/newrelic/generated-changes/dependencies/kube-state-metrics/dependency.yaml new file mode 100644 index 000000000..f139ad78a --- /dev/null +++ b/packages/newrelic/generated-changes/dependencies/kube-state-metrics/dependency.yaml @@ -0,0 +1,2 @@ +workingDir: "" +url: https://github.com/kubernetes/kube-state-metrics/releases/download/kube-state-metrics-helm-chart-2.13.2/kube-state-metrics-2.13.2.tgz diff --git a/packages/newrelic/generated-changes/dependencies/newrelic-infra-operator/dependency.yaml b/packages/newrelic/generated-changes/dependencies/newrelic-infra-operator/dependency.yaml new file mode 100644 index 000000000..da7a61a01 --- /dev/null +++ b/packages/newrelic/generated-changes/dependencies/newrelic-infra-operator/dependency.yaml @@ -0,0 +1,2 @@ +workingDir: "" +url: https://github.com/newrelic/newrelic-infra-operator/releases/download/newrelic-infra-operator-0.6.0/newrelic-infra-operator-0.6.0.tgz diff --git a/packages/newrelic/generated-changes/dependencies/newrelic-infrastructure/dependency.yaml b/packages/newrelic/generated-changes/dependencies/newrelic-infrastructure/dependency.yaml new file mode 100644 index 000000000..70d2aeae9 --- /dev/null +++ b/packages/newrelic/generated-changes/dependencies/newrelic-infrastructure/dependency.yaml @@ -0,0 +1,2 @@ +workingDir: "" +url: https://github.com/newrelic/nri-kubernetes/releases/download/newrelic-infrastructure-3.3.3/newrelic-infrastructure-3.3.3.tgz diff --git a/packages/newrelic/generated-changes/dependencies/newrelic-k8s-metrics-adapter/dependency.yaml b/packages/newrelic/generated-changes/dependencies/newrelic-k8s-metrics-adapter/dependency.yaml new file mode 100644 index 000000000..823a30d4b --- /dev/null +++ b/packages/newrelic/generated-changes/dependencies/newrelic-k8s-metrics-adapter/dependency.yaml @@ -0,0 +1,2 @@ +workingDir: "" +url: https://github.com/newrelic/newrelic-k8s-metrics-adapter/releases/download/newrelic-k8s-metrics-adapter-0.7.4/newrelic-k8s-metrics-adapter-0.7.4.tgz diff --git a/packages/newrelic/generated-changes/dependencies/newrelic-logging/dependency.yaml b/packages/newrelic/generated-changes/dependencies/newrelic-logging/dependency.yaml new file mode 100644 index 000000000..6eb18805b --- /dev/null +++ b/packages/newrelic/generated-changes/dependencies/newrelic-logging/dependency.yaml @@ -0,0 +1,2 @@ +workingDir: "" +url: https://github.com/newrelic/helm-charts/releases/download/newrelic-logging-1.10.9/newrelic-logging-1.10.9.tgz diff --git a/packages/newrelic/generated-changes/dependencies/newrelic-pixie/dependency.yaml b/packages/newrelic/generated-changes/dependencies/newrelic-pixie/dependency.yaml new file mode 100644 index 000000000..2d3bbb794 --- /dev/null +++ b/packages/newrelic/generated-changes/dependencies/newrelic-pixie/dependency.yaml @@ -0,0 +1,2 @@ +workingDir: "" +url: https://github.com/newrelic/helm-charts/releases/download/newrelic-pixie-1.5.1/newrelic-pixie-1.5.1.tgz diff --git a/packages/newrelic/generated-changes/dependencies/nri-kube-events/dependency.yaml b/packages/newrelic/generated-changes/dependencies/nri-kube-events/dependency.yaml new file mode 100644 index 000000000..956f605ce --- /dev/null +++ b/packages/newrelic/generated-changes/dependencies/nri-kube-events/dependency.yaml @@ -0,0 +1,2 @@ +workingDir: "" +url: https://github.com/newrelic/nri-kube-events/releases/download/nri-kube-events-2.2.2/nri-kube-events-2.2.2.tgz diff --git a/packages/newrelic/generated-changes/dependencies/nri-metadata-injection/dependency.yaml b/packages/newrelic/generated-changes/dependencies/nri-metadata-injection/dependency.yaml new file mode 100644 index 000000000..865fe309c --- /dev/null +++ b/packages/newrelic/generated-changes/dependencies/nri-metadata-injection/dependency.yaml @@ -0,0 +1,2 @@ +workingDir: "" +url: https://github.com/newrelic/k8s-metadata-injection/releases/download/nri-metadata-injection-3.0.1/nri-metadata-injection-3.0.1.tgz diff --git a/packages/newrelic/generated-changes/dependencies/nri-prometheus/dependency.yaml b/packages/newrelic/generated-changes/dependencies/nri-prometheus/dependency.yaml new file mode 100644 index 000000000..703c18e98 --- /dev/null +++ b/packages/newrelic/generated-changes/dependencies/nri-prometheus/dependency.yaml @@ -0,0 +1,2 @@ +workingDir: "" +url: https://github.com/newrelic/nri-prometheus/releases/download/nri-prometheus-2.1.1/nri-prometheus-2.1.1.tgz diff --git a/packages/newrelic/generated-changes/dependencies/pixie-operator-chart/dependency.yaml b/packages/newrelic/generated-changes/dependencies/pixie-operator-chart/dependency.yaml new file mode 100644 index 000000000..89744e0fc --- /dev/null +++ b/packages/newrelic/generated-changes/dependencies/pixie-operator-chart/dependency.yaml @@ -0,0 +1,2 @@ +workingDir: "" +url: https://pixie-operator-charts.storage.googleapis.com/pixie-operator-chart-0.0.26.tgz diff --git a/packages/newrelic/generated-changes/overlay/app-readme.md b/packages/newrelic/generated-changes/overlay/app-readme.md new file mode 100644 index 000000000..61e550787 --- /dev/null +++ b/packages/newrelic/generated-changes/overlay/app-readme.md @@ -0,0 +1,5 @@ +# New Relic Kubernetes Integration + +New Relic's Kubernetes integration gives you full observability into the health and performance of your environment, no matter whether you run Kubernetes on-premises or in the cloud. With our [cluster explorer](https://docs.newrelic.com/docs/integrations/kubernetes-integration/cluster-explorer/kubernetes-cluster-explorer), you can cut through layers of complexity to see how your cluster is performing, from the heights of the control plane down to applications running on a single pod. + +You can see the power of the Kubernetes integration in the [cluster explorer](https://docs.newrelic.com/docs/integrations/kubernetes-integration/cluster-explorer/kubernetes-cluster-explorer), where the full picture of a cluster is made available on a single screen: nodes and pods are visualized according to their health and performance, with pending and alerting nodes in the innermost circles. [Predefined alert conditions](https://docs.newrelic.com/docs/integrations/kubernetes-integration/kubernetes-events/kubernetes-integration-predefined-alert-policy) help you troubleshoot issues right from the start. Clicking each node reveals its status and how each app is performing. \ No newline at end of file diff --git a/packages/newrelic/generated-changes/overlay/questions.yaml b/packages/newrelic/generated-changes/overlay/questions.yaml new file mode 100644 index 000000000..de3fa9fea --- /dev/null +++ b/packages/newrelic/generated-changes/overlay/questions.yaml @@ -0,0 +1,113 @@ +questions: +- variable: infrastructure.enabled + default: true + required: false + type: boolean + label: Enable Infrastructure + group: "Select Components" +- variable: prometheus.enabled + default: false + required: false + type: boolean + label: Enable Prometheus + group: "Select Components" +- variable: ksm.enabled + default: false + required: false + type: boolean + label: Enable KSM + group: "Select Components" + description: "This is mandatory if `Enable Infrastructure` is set to `true` and the user does not provide its own instance of KSM version >=1.8 and <=2.0" +- variable: webhook.enabled + default: true + required: false + type: boolean + label: Enable webhook + group: "Select Components" +- variable: kubeEvents.enabled + default: false + required: false + type: boolean + label: Enable Kube Events + group: "Select Components" +- variable: logging.enabled + default: false + required: false + type: boolean + label: Enable Logging + group: "Select Components" +- variable: newrelic-pixie.enabled + default: false + required: false + type: boolean + label: Enable New Relic Pixie Integration + group: "Select Components" + show_subquestion_if: true + subquestions: + - variable: newrelic-pixie.apiKey + default: "" + required: false + type: string + label: New Relic Pixie API Key + group: "Select Components" + description: "Required if deploying Pixie." +- variable: pixie-chart.enabled + default: false + required: false + type: boolean + label: Enable Pixie Chart + group: "Select Components" + show_subquestion_if: true + subquestions: + - variable: pixie-chart.deployKey + default: "" + required: false + type: string + label: Pixie Deploy Key + group: "Select Components" + description: "Required if deploying Pixie." + - variable: pixie-chart.clusterName + default: "" + required: false + type: string + label: Kubernetes Cluster Name for Pixie + group: "Select Components" + description: "Required if deploying Pixie." +- variable: newrelic-infra-operator.enabled + default: false + required: false + type: boolean + label: Enable New Relic Infra Operator + group: "Select Components" +- variable: metrics-adapter.enabled + default: false + required: false + type: boolean + label: Enable Metrics Adapter + group: "Select Components" +- variable: global.licenseKey + default: "xxxx" + required: true + type: string + label: New Relic License Key + group: "Global Settings" +- variable: global.cluster + default: "xxxx" + required: true + type: string + label: Name of Kubernetes Cluster for New Relic + group: "Global Settings" +- variable: global.lowDataMode + default: false + required: false + type: boolean + label: Enable Low Data Mode + description: "Reduces amount of data ingest by New Relic." + group: "Global Settings" +- variable: global.privileged + default: false + required: false + type: boolean + label: Enable Privileged Mode + description: "Allows for access to underlying node from container." + group: "Global Settings" diff --git a/packages/newrelic/generated-changes/patch/Chart.yaml.patch b/packages/newrelic/generated-changes/patch/Chart.yaml.patch new file mode 100644 index 000000000..f3b6eb8a6 --- /dev/null +++ b/packages/newrelic/generated-changes/patch/Chart.yaml.patch @@ -0,0 +1,26 @@ +--- charts-original/Chart.yaml ++++ charts/Chart.yaml +@@ -1,4 +1,9 @@ + apiVersion: v2 ++kubeVersion: "1.16-0 - 1.22-0" ++annotations: ++ catalog.cattle.io/certified: partner ++ catalog.cattle.io/release-name: newrelic-bundle ++ catalog.cattle.io/display-name: New Relic + dependencies: + - condition: ksm.enabled + name: kube-state-metrics +@@ -30,11 +35,12 @@ + - alias: pixie-chart + condition: pixie-chart.enabled + name: pixie-operator-chart ++ version: 0.0.26 + repository: file://./charts/pixie-operator-chart + description: A chart groups together the individual charts for the New Relic Kubernetes + solution for more comfortable deployment. + home: https://github.com/newrelic/helm-charts +-icon: https://newrelic.com/assets/newrelic/source/NewRelic-logo-square.svg ++icon: https://newrelic.com/themes/custom/curio/assets/mediakit/new_relic_logo_vertical.png + keywords: + - infrastructure + - newrelic diff --git a/packages/newrelic/package.yaml b/packages/newrelic/package.yaml new file mode 100644 index 000000000..aff76398e --- /dev/null +++ b/packages/newrelic/package.yaml @@ -0,0 +1,3 @@ +url: https://github.com/newrelic/helm-charts/releases/download/nri-bundle-4.3.2/nri-bundle-4.3.2.tgz +subDirectory: nri-bundle +packageVersion: 00