Skip to content

Commit

Permalink
AppD charts appdynamics-operators 1.17.244
Browse files Browse the repository at this point in the history
appdynamics-release-management committed Dec 15, 2023
1 parent 3ce2059 commit a383c74
Showing 102 changed files with 18,886 additions and 0 deletions.
21 changes: 21 additions & 0 deletions packs/appdynamics-operators-1.17.244/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.17.0
- name: opentelemetry-operator
repository: https://open-telemetry.github.io/opentelemetry-helm-charts
version: 0.43.0
- name: appdynamics-smartagent
repository: https://artifactory.bare.appdynamics.com/artifactory/cosmosx-helm
version: 23.10.125
digest: sha256:48e3c14f561bc4237858876b300cbb8387a0324963350a58a9c751631bd90f3d
generated: "2023-12-08T17:17:08.416997+05:30"
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
apiVersion: v2
appVersion: 1.17.244
dependencies:
- condition: appdynamics-cloud-operator.enabled
name: appdynamics-cloud-operator
repository: ""
version: 1.17.0
- condition: opentelemetry-operator.enabled
name: opentelemetry-operator
repository: https://open-telemetry.github.io/opentelemetry-helm-charts
version: 0.43.0
- condition: appdynamics-smartagent.enabled
name: appdynamics-smartagent
repository: https://artifactory.bare.appdynamics.com/artifactory/cosmosx-helm
version: 23.10.125
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: support@appdynamics.com
name: AppDynamics
name: appdynamics-operators
type: application
version: 1.17.244

Large diffs are not rendered by default.

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: 23.12.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: support@appdynamics.com
name: AppDynamics
name: appdynamics-cloud-operator
version: 1.17.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,91 @@
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.13.1" }}
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 }}
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 }}
priorityClassName: {{ .Values.operatorPod.priorityClassName }}
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,61 @@
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 }}
imagePullSecrets:
{{- toYaml .Values.operatorPod.imagePullSecrets | nindent 8}}
{{- if .Values.operatorPod.nodeSelector }}
priorityClassName: {{ .Values.operatorPod.priorityClassName }}
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,38 @@
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
{{ 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 }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{{ if eq .Values.watchMode "namespace" }}
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: appdynamics-cloud-operator-role
namespace: {{ .Release.Namespace }}
rules:
- apiGroups:
- ""
resources:
- configmaps
- secrets
verbs:
- get
- create
- update
- list
- watch
- delete
- apiGroups:
- apps
resources:
- daemonsets
- deployments
verbs:
- get
- create
- update
- list
- watch
{{ end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: appdynamics-cloud-operator-rolebinding
namespace: {{ .Release.Namespace }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: appdynamics-cloud-operator-role
subjects:
- kind: ServiceAccount
name: {{ .Values.operatorServiceAccount }}
namespace: {{ .Release.Namespace }}
Loading

0 comments on commit a383c74

Please sign in to comment.