Skip to content

Commit

Permalink
AppD charts appdynamics-operators 1.22.374 (#91)
Browse files Browse the repository at this point in the history
Co-authored-by: Vishwanath S <[email protected]>
  • Loading branch information
1 parent 633a8b1 commit 4dab099
Show file tree
Hide file tree
Showing 103 changed files with 19,042 additions and 0 deletions.
21 changes: 21 additions & 0 deletions packs/appdynamics-operators-1.22.374/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## The Appdynamics Operator Cloud Helm Charts
An Add-on pack for Spectro Cloud to use the monitoring of k8s cluster with AppDynamics collectors.

## Appdynamics Cloud Helm Charts
This repository maintains helm charts for installing Appdynamics Cloud Operators.


## 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 not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
dependencies:
- name: appdynamics-cloud-operator
repository: ""
version: 1.22.0
- name: opentelemetry-operator
repository: ""
version: 0.43.0
- name: appdynamics-smartagent
repository: https://artifactory.bare.appdynamics.com/artifactory/cosmosx-helm
version: 24.4.72
digest: sha256:5f54d2005b3ffee9e5e913909c06353bac8e6eaf2de39a427baa42b0e7ec5550
generated: "2024-07-25T10:55:08.939862768Z"
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
apiVersion: v2
appVersion: 1.22.374
dependencies:
- condition: appdynamics-cloud-operator.enabled
name: appdynamics-cloud-operator
repository: ""
version: 1.22.0
- condition: opentelemetry-operator.enabled
name: opentelemetry-operator
repository: ""
version: 0.43.0
- condition: appdynamics-smartagent.enabled
name: appdynamics-smartagent
repository: https://artifactory.bare.appdynamics.com/artifactory/cosmosx-helm
version: 24.4.72
description: Helm Charts for installing Appdynamics Operators
home: https://appdynamics.com
icon: https://raw.githubusercontent.com/CiscoDevNet/appdynamics-charts/master/logo.png
keywords:
- appdynamics
- cloud
- operator
- cluster
- kubernetes
- monitoring
- pod
- deployment
- orchestration
maintainers:
- email: [email protected]
name: AppDynamics
name: appdynamics-operators
type: application
version: 1.22.374
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
APPDYNAMICS
END USER LICENSE AGREEMENT

By accessing the Software herein, you (and the organization you represent) ("You") acknowledge and agree that the use
of the Software and open source software are governed by (1) the General Terms found at
https://www.cisco.com/c/dam/en_us/about/doing_business/legal/Cisco_General_Terms.pdf and the applicable Product
Specific Terms found at https://www.cisco.com/c/en/us/about/legal/cloud-and-software/software-terms.html or (2) any
other superseding agreement between AppDynamics, or its parent company Cisco Systems, Inc., as applicable, and You.
References to End User in any superseding agreement shall mean You.

AppDynamics Proprietary and Confidential * Revision 2024.03
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/
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: v2
appVersion: 24.5.0
description: Helm chart for Appdynamics Cloud Operator
home: https://appdynamics.com
icon: https://raw.githubusercontent.com/CiscoDevNet/appdynamics-charts/master/logo.png
keywords:
- appdynamics
- operator
- cluster
- kubernetes
- monitoring
- pod
- deployment
maintainers:
- email: [email protected]
name: AppDynamics
name: appdynamics-cloud-operator
version: 1.22.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: manager-config
namespace: {{ .Release.Namespace }}
data:
apiVersion: controller-runtime.sigs.k8s.io/v1alpha1
kind: ControllerManagerConfig
health: |
healthProbeBindAddress: :8081
metrics: |
bindAddress: 127.0.0.1:8080
webhook: |
port: 9443
leaderElection: |
leaderElect: true
resourceName: 42f55d18.appdynamics.com
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ printf "%s-%s" .Release.Name "appdynamics-cloud-operator" | trunc 63 }}
namespace: {{ .Release.Namespace }}
labels:
control-plane: appdynamics-cloud-operator
spec:
selector:
matchLabels:
control-plane: appdynamics-cloud-operator
replicas: 1
template:
metadata:
labels:
control-plane: appdynamics-cloud-operator
{{- if .Values.operatorPod.labels -}}
{{- toYaml .Values.operatorPod.labels | nindent 8 }}
{{- end }}
annotations:
kubectl.kubernetes.io/default-container: manager
{{- if .Values.operatorPod.annotations -}}
{{- toYaml .Values.operatorPod.annotations | nindent 8 }}
{{- end }}
spec:
containers:
- name: kube-rbac-proxy
image: {{ .Values.kubeRbacProxy.image | default "gcr.io/kubebuilder/kube-rbac-proxy:v0.15.0" }}
imagePullPolicy: {{ .Values.kubeRbacProxy.imagePullPolicy | default "IfNotPresent" }}
args:
- "--secure-listen-address=0.0.0.0:8443"
- "--upstream=http://127.0.0.1:8080/"
- "--logtostderr=true"
- "--v=0"
ports:
- containerPort: 8443
name: https
- name: manager
args:
- --leader-elect
image: {{ .Values.operatorPod.image }}
imagePullPolicy: {{ .Values.operatorPod.imagePullPolicy }}
env:
- name: APPDYNAMICS_OPERATOR_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: MANAGE_OPEN_TELEMETRY_CRDS
value: {{ .Values.enableOTelCRDManagement | quote }}
- name: WATCH_CLUSTER
value: {{ eq .Values.watchMode "cluster" | quote }}
{{- if .Values.operatorPod.dev }}
{{- toYaml .Values.operatorPod.dev | nindent 10 }}
{{- end }}
- name: CSAAS_AGENTS_CONTROLLER_ENABLED
value: {{ .Values.enableUnifiedOperator | quote}}
securityContext:
allowPrivilegeEscalation: false
livenessProbe:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 15
periodSeconds: 20
readinessProbe:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 5
periodSeconds: 10
resources:
{{- toYaml .Values.operatorPod.resources | nindent 10 }}
{{- if .Values.operatorPod.priorityClassName }}
priorityClassName: {{ .Values.operatorPod.priorityClassName }}
{{- end }}
imagePullSecrets:
{{- toYaml .Values.operatorPod.imagePullSecrets | nindent 8}}
serviceAccountName: {{ .Values.operatorServiceAccount }}
terminationGracePeriodSeconds: 10
{{- if .Values.operatorPod.nodeSelector }}
nodeSelector:
{{- toYaml .Values.operatorPod.nodeSelector | nindent 8 }}
{{- end }}
{{- if .Values.operatorPod.affinity }}
affinity:
{{- toYaml .Values.operatorPod.affinity | nindent 8 }}
{{- end }}
{{- if .Values.operatorPod.tolerations }}
tolerations:
{{- toYaml .Values.operatorPod.tolerations | nindent 8 }}
{{- end }}
{{- if .Values.operatorPod.securityContext }}
securityContext:
{{- toYaml .Values.operatorPod.securityContext | nindent 8 }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ printf "%s-%s" .Release.Name "appdynamics-crd-validator" | trunc 63 }}
labels:
app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
app.kubernetes.io/instance: {{ .Release.Name | quote }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
annotations:
# This is what defines this resource as a hook. Without this line, the
# job is considered part of the release.
"helm.sh/hook": post-install
"helm.sh/hook-weight": "-5"
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded,hook-failed
spec:
backoffLimit: 0
template:
metadata:
name: {{ printf "%s-%s" .Release.Name "appdynamics-crd-validator" | trunc 63 }}
labels:
app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
app.kubernetes.io/instance: {{ .Release.Name | quote }}
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
{{- if .Values.operatorPod.labels -}}
{{- toYaml .Values.operatorPod.labels | nindent 8 }}
{{- end }}
{{- if .Values.operatorPod.annotations }}
annotations:
{{- toYaml .Values.operatorPod.annotations | nindent 8 }}
{{- end }}
spec:
serviceAccountName: {{ .Values.operatorServiceAccount }}
restartPolicy: Never
containers:
- name: post-install-job
image: {{ .Values.operatorPod.image }}
imagePullPolicy: {{ .Values.operatorPod.imagePullPolicy }}
command: ["/crd-validator"]
env:
- name: MANAGE_OPEN_TELEMETRY_CRDS
value: {{ .Values.enableOTelCRDManagement | quote }}
- name: CSAAS_AGENTS_CONTROLLER_ENABLED
value: {{ .Values.enableUnifiedOperator | quote}}
imagePullSecrets:
{{- toYaml .Values.operatorPod.imagePullSecrets | nindent 8}}
{{- if .Values.operatorPod.priorityClassName }}
priorityClassName: {{ .Values.operatorPod.priorityClassName }}
{{- end }}
{{- if .Values.operatorPod.nodeSelector }}
nodeSelector:
{{- toYaml .Values.operatorPod.nodeSelector | nindent 8 }}
{{- end }}
{{- if .Values.operatorPod.affinity }}
affinity:
{{- toYaml .Values.operatorPod.affinity | nindent 8 }}
{{- end }}
{{- if .Values.operatorPod.tolerations }}
tolerations:
{{- toYaml .Values.operatorPod.tolerations | nindent 8 }}
{{- end }}
{{- if .Values.operatorPod.securityContext }}
securityContext:
{{- toYaml .Values.operatorPod.securityContext | nindent 8 }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: appdynamics-cloud-operator-clusterrole
rules:
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- get
- create
- update
{{ if eq .Values.watchMode "cluster"}}
- apiGroups:
- ""
resources:
- secrets
- configmaps
verbs:
- get
- create
- update
- list
- watch
- delete
- apiGroups:
- apps
resources:
- deployments
- daemonsets
verbs:
- get
- create
- update
- list
- watch
{{ if .Values.enableUnifiedOperator }}
- apiGroups:
- ""
resources:
- services
verbs:
- get
- create
- update
- list
- watch
- delete
{{ end }}
{{ end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: appdynamics-cloud-operator-clusterrolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: appdynamics-cloud-operator-clusterrole
subjects:
- kind: ServiceAccount
name: {{ .Values.operatorServiceAccount }}
namespace: {{ .Release.Namespace }}
Loading

0 comments on commit 4dab099

Please sign in to comment.