-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from spectrocloud/restore-obsolete-appd-packs
Update system_state to deleted for old Appd packs
- Loading branch information
Showing
692 changed files
with
66,363 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## The Appdynamics Collector Cloud Helm Charts | ||
An Add-on pack for Spectro Cloud to use the monioring of k8s cluster with AppDynamics collectors. | ||
|
||
## Appdynamics Cloud Helm Charts | ||
This repository maintains helm charts for installing Appdynamics Cloud Collector. | ||
|
||
## Parameters | ||
| Parameter | Description | | ||
|-----------|-------------| | ||
| clusterName | String to specify the name of the k8s cluster | | ||
| endpoint | The endpoint Tenant to which you want to send the data to. Please refer the product guide link from References for more details | | ||
| clientId | clientId of your Tenant . Please refer the product guide link from References for more details | | ||
| clientSecret | clientSecret of your Tenant. Please refer the product guide link from References for more details | | ||
| tokenUrl | tokenUrl of your Tenant. Please refer the product guide link from References for more details | | ||
| tenantId | tenantId of your Tenant. Please refer the product guide link from References for more details | | ||
|
||
|
||
## References | ||
Here is the complete product guide about the AppDynamics collectors. | ||
https://docs.appdynamics.com/fso/cloud-native-app-obs/en/kubernetes-and-app-service-monitoring/install-kubernetes-and-app-service-monitoring |
Binary file added
BIN
+138 KB
packs/appdynamics-collector-1.13.684/charts/appdynamics-collectors-1.13.684.tgz
Binary file not shown.
25 changes: 25 additions & 0 deletions
25
packs/appdynamics-collector-1.13.684/charts/appdynamics-collectors/.helmignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ | ||
|
||
LICENSES/ |
39 changes: 39 additions & 0 deletions
39
packs/appdynamics-collector-1.13.684/charts/appdynamics-collectors/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
apiVersion: v2 | ||
appVersion: 1.13.684 | ||
dependencies: | ||
- name: appdynamics-cloud-k8s-monitoring | ||
repository: "" | ||
version: 1.13.0 | ||
- name: appdynamics-cloud-db-collector | ||
repository: "" | ||
version: 1.4.0 | ||
- condition: appdynamics-otel-collector.enabled | ||
name: appdynamics-otel-collector | ||
repository: https://artifactory.bare.appdynamics.com/artifactory/appd-helm | ||
version: 23.8.0-1073 | ||
- condition: appdynamics-security-collector.enabled | ||
name: appdynamics-security-collector | ||
repository: https://artifactory.bare.appdynamics.com/artifactory/appd-helm | ||
version: 1.0.15 | ||
- condition: appdynamics-otel-instrumentation.enabled | ||
name: appdynamics-otel-instrumentation | ||
repository: https://artifactory.bare.appdynamics.com/artifactory/appd-helm | ||
version: 23.8.0-1092 | ||
description: Helm Charts for installing Appdynamics Collectors | ||
home: https://appdynamics.com | ||
icon: https://raw.githubusercontent.com/CiscoDevNet/appdynamics-charts/master/logo.png | ||
keywords: | ||
- appdynamics | ||
- cloud | ||
- collector | ||
- cluster | ||
- kubernetes | ||
- monitoring | ||
- pod | ||
- deployment | ||
maintainers: | ||
- email: support@appdynamics.com | ||
name: AppDynamics | ||
name: appdynamics-collectors | ||
type: application | ||
version: 1.13.684 |
357 changes: 357 additions & 0 deletions
357
packs/appdynamics-collector-1.13.684/charts/appdynamics-collectors/LICENSE
Large diffs are not rendered by default.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
...-1.13.684/charts/appdynamics-collectors/charts/appdynamics-cloud-db-collector/.helmignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
19 changes: 19 additions & 0 deletions
19
...r-1.13.684/charts/appdynamics-collectors/charts/appdynamics-cloud-db-collector/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: v2 | ||
appVersion: 23.6.0 | ||
description: Helm Chart to deploy dbcollector as a deployment and corresponding dbconfigs. | ||
home: https://appdynamics.com | ||
icon: https://raw.githubusercontent.com/CiscoDevNet/appdynamics-charts/master/logo.png | ||
keywords: | ||
- appdynamics | ||
- database | ||
- dbcollector | ||
- dbconfig | ||
- kubernetes | ||
- monitoring | ||
- pod | ||
- deployment | ||
maintainers: | ||
- email: support@appdynamics.com | ||
name: AppDynamics | ||
name: appdynamics-cloud-db-collector | ||
version: 1.4.0 |
46 changes: 46 additions & 0 deletions
46
...s/appdynamics-collectors/charts/appdynamics-cloud-db-collector/templates/dbCollector.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{{ if .Values.install.dbCollector -}} | ||
apiVersion: cluster.appdynamics.com/v1alpha1 | ||
# Kind will match the Kind section in generated CRD at Operator | ||
kind: DbCollector | ||
# Release is picked up from the command | ||
metadata: | ||
name: {{ printf "%s-%s" .Release.Name "appdynamics-db-collector" | trunc 63 }} | ||
namespace: {{ .Release.Namespace }} | ||
spec: | ||
# spec for dbCollector here | ||
{{- template "podConfigs" .Values.dbCollectorPod }} | ||
|
||
{{ with .Values.appdCloudAuth -}} | ||
# CIS credentials | ||
clientId: {{ .clientId }} | ||
# either clientSecret will be present | ||
{{ if .clientSecret -}} | ||
clientSecret: {{ .clientSecret }} | ||
{{ else }} | ||
# if clientSecret is not present then clientSecretKeyRef is expected | ||
clientSecretVarSource: {{ .clientSecretEnvVar.valueFrom }} | ||
{{- end }} | ||
endpoint: {{ .endpoint }} | ||
tokenUrl: {{ .tokenUrl }} | ||
|
||
{{- end }} | ||
|
||
{{ with .Values.dbCollectorConfig -}} | ||
# Profiling flag and port | ||
pprofEnable: {{ .pprof.enabled }} | ||
{{ if .pprof.enabled -}} | ||
pprofPort: {{ .pprof.port }} | ||
{{- end }} | ||
# Prometheus flag and port | ||
metricEnable: {{ .metric.enabled }} | ||
{{ if .metric.enabled -}} | ||
metricPort: {{ .metric.port }} | ||
{{- end }} | ||
# Log level | ||
logLevel : {{ .logLevel }} | ||
{{- end }} | ||
{{ if ne .Values.dbCollectorPod.image "appdynamics/appdynamics-cloud-db-collector:23.2.0-539"}} | ||
# Mount path for generated config | ||
configMountPath: /opt/appdynamics/appddbcol/conf/generated | ||
{{ end }} | ||
{{ end -}} |
61 changes: 61 additions & 0 deletions
61
...arts/appdynamics-collectors/charts/appdynamics-cloud-db-collector/templates/dbConfig.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{{ if .Values.install.dbMonitoringConfigs -}} | ||
# loop over available dbconfigs to create multiple CRs | ||
{{- range .Values.dbMonitoringConfigs }} | ||
# convert given configname to lower case | ||
{{ $configResName := lower .configName }} | ||
# default dbPasswordSecretName | ||
{{- $dbPasswordSecretName := printf "%s-%s-%s" $.Release.Name $configResName "db-password"}} | ||
--- | ||
apiVersion: cluster.appdynamics.com/v1alpha1 | ||
# Kind will match the Kind section in generated CRD at Operator | ||
kind: DbConfig | ||
# Release is picked up from the command | ||
metadata: | ||
name: {{ printf "%s-%s" $.Release.Name $configResName | trunc 255 }} | ||
namespace: {{ $.Release.Namespace }} | ||
spec: | ||
# spec for dbConfigs here | ||
dbType: {{ .dbType }} | ||
configName: {{ .configName }} | ||
# if collector name is specified, otherwise default to collector deployed via current release | ||
{{ if not .dbCollector }} | ||
dbCollector: | ||
name: {{ printf "%s-%s" $.Release.Name "appdynamics-db-collector" | trunc 63 }} | ||
namespace: {{ $.Release.Namespace }} | ||
{{ else }} | ||
dbCollector: | ||
name: {{ .dbCollector.name }} | ||
namespace: {{ .dbCollector.namespace }} | ||
{{ end }} | ||
hostname: {{ .hostname }} | ||
hostport: {{ .hostport }} | ||
username: {{ .username }} | ||
# if Secret Name containing the password is given | ||
{{ if .passwordSecretName }} | ||
passwordSecretName: {{ .passwordSecretName }} | ||
# otherwise use the created secret | ||
{{ else }} | ||
passwordSecretName: {{ $dbPasswordSecretName}} | ||
{{ end }} | ||
|
||
# database : optional field | ||
{{ if .database -}} | ||
database: {{ .database }} | ||
{{ end -}} | ||
# environment : optional field | ||
{{ if .environment -}} | ||
environment: | ||
platform: {{ .environment.platform }} | ||
{{ end }} | ||
# tlsconfig : optional field | ||
{{ if .tlsConfig -}} | ||
tlsConfig: | ||
# hostnameincertificate : optional field | ||
{{ if .tlsConfig.hostNameInCertificate -}} | ||
hostNameInCertificate: {{ .tlsConfig.hostNameInCertificate }} | ||
{{- end }} | ||
certSecretName: {{ .tlsConfig.certSecretName }} | ||
|
||
{{ end }} | ||
{{- end }} | ||
{{ end -}} |
24 changes: 24 additions & 0 deletions
24
...collectors/charts/appdynamics-cloud-db-collector/templates/dbConfigDbPasswordSecrets.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# This manifest creates a default secret for the dbconfig whose secret is passed as a string | ||
|
||
{{ if .Values.install.dbMonitoringConfigs -}} | ||
# loop over available dbconfigs to create multiple CRs | ||
{{- range .Values.dbMonitoringConfigs }} | ||
# convert given configname to lower case | ||
{{ $configResName := lower .configName }} | ||
# default dbSecretName | ||
{{- $dbPasswordSecretName := printf "%s-%s-%s" $.Release.Name $configResName "db-password"}} | ||
|
||
# secret to be created if db passwordSecretName is not provided( provided as a string ) | ||
{{ if not .passwordSecretName }} | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ $dbPasswordSecretName }} | ||
namespace: {{ $.Release.Namespace }} | ||
type: Opaque | ||
stringData: | ||
password: {{ .password }} | ||
{{ end }} | ||
{{- end }} | ||
{{ end -}} |
24 changes: 24 additions & 0 deletions
24
...ctors/charts/appdynamics-cloud-db-collector/templates/rbac/dbcollector_openshift_scc.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{{ if or .Values.install.dbCollector .Values.install.dbMonitoringConfigs -}} | ||
{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1/SecurityContextConstraints" -}} | ||
apiVersion: security.openshift.io/v1 | ||
kind: SecurityContextConstraints | ||
metadata: | ||
annotations: | ||
kubernetes.io/description: 'dbcollector-privileged-scc is a custom SCC for AppDynamics Cloud Database Collector' | ||
name: dbcollector-privileged-scc | ||
namespace: {{ .Release.Namespace }} | ||
allowHostDirVolumePlugin: false | ||
allowHostIPC: false | ||
allowHostNetwork: false | ||
allowHostPID: false | ||
allowHostPorts: false | ||
allowPrivilegedContainer: false | ||
readOnlyRootFilesystem: false | ||
runAsUser: | ||
type: RunAsAny | ||
seLinuxContext: | ||
type: MustRunAs | ||
users: | ||
- system:serviceaccount:{{ .Release.Namespace }}:{{ .Values.dbcollectorServiceAccount }} | ||
{{- end }} | ||
{{- end }} |
7 changes: 7 additions & 0 deletions
7
...ors/charts/appdynamics-cloud-db-collector/templates/rbac/dbcollector_service_account.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{ if or .Values.install.dbCollector .Values.install.dbMonitoringConfigs -}} | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: {{ .Values.dbcollectorServiceAccount }} | ||
namespace: {{ .Release.Namespace }} | ||
{{- end }} |
Oops, something went wrong.