Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appdynamics machine agent remore psp for k8s 1.25 #41

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion machine-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: AppDynamics Machine Agent for infrastructure visibility
home: https://www.appdynamics.com/
icon: https://raw.githubusercontent.com/CiscoDevNet/appdynamics-charts/master/logo.png
name: machine-agent
version: 0.2.8
version: 0.2.9
maintainers:
- name: sashaPM
email: [email protected]
Expand Down
7 changes: 4 additions & 3 deletions machine-agent/templates/netviz-rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if and (eq .Values.agent.netviz true) ( eq .Values.openshift.scc false) }}
{{- if and (eq .Values.agent.netviz true) ( eq .Values.openshift.scc false) ( eq .Values.agent.netvizPsp true ) }}
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
Expand Down Expand Up @@ -31,7 +31,8 @@ spec:
rule: 'RunAsAny'
fsGroup:
rule: 'RunAsAny'
---
{{- end -}}
{{- if and (eq .Values.agent.netviz true) ( eq .Values.openshift.scc false) }}
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
Expand Down Expand Up @@ -69,4 +70,4 @@ subjects:
- kind: ServiceAccount
name: {{ .Values.serviceAccount.name }}
namespace: {{ .Release.Namespace }}
{{- end -}}
{{- end -}}
1 change: 1 addition & 0 deletions machine-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ agent:
uniqueHostId: ""
enableContainerAsHostID: false
netviz: false
netvizPsp: false
netvizPort: 3892
netvizImage:
repository: docker.io/appdynamics/machine-agent-netviz
Expand Down