Skip to content

Commit

Permalink
Merge pull request #1 from seswarrajan/main
Browse files Browse the repository at this point in the history
Packages for validation
  • Loading branch information
seswarrajan authored Apr 16, 2024
2 parents 7fc2f6a + a5ca55a commit ed26ed0
Show file tree
Hide file tree
Showing 18 changed files with 134 additions and 0 deletions.
11 changes: 11 additions & 0 deletions accuknox-files/v0.2.13/opt/accuknox-feeder-service/conf/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
config:
application:
name: accuknox-feeder-service

logging:
level: INFO

data-protection:
publisher:
socket-type: tcp
address: localhost:5555
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kmux:
sink:
stream: knox-gateway

knox-gateway:
server: "knox-gw.dev.accuknox.com:3000"
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Server configurations
server:
port: :6060
basepath: /pea

# Application specific configurations
application:
name: policy-enf-agent

spire:
enable: true
#agent: agents-operator.accuknox-agent.svc.cluster.local:9091
agent: "unix:///var/run/spire/agent.sock"

#this endpoint is to call fetch policy API
endpoint:
urlendpoint: /pps/api/v1/policy-provider/fetch-policy
#baseurlendpoint: https://localhost:2882
baseurlendpoint: https://pps.stage.accuknox.com
#urllocal: /pps/api/v1/policy-provider/fetch-policy
#baselocal: https://localhost:2882

#this endpoint is to call change status API
statusendpoint:
#endpoint: https://localhost:2882/pps/api/v1/policy-provider/change-status-policy
endpoint: https://pps.stage.accuknox.com/pps/api/v1/policy-provider/change-status-policy

#sync time for gocron
syncuptime:
t: 5

#annotations endpoint
annotation:
statusendpoint: /pps/api/v1/policy-provider/update-annotation-status
annotationendpoint: /pps/api/v1/policy-provider/fetch-annotations
#basepath: https://localhost:2882
basepath: https://pps.stage.accuknox.com

non-k8s:
enable: true
policy-server-port: 32770
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
kmux:
sink:
stream: knox-gateway

knox-gateway:
# dev
server: "knox-gw.stage.accuknox.com:3000"
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
sis:
# node-details-endpoint: http://localhost:8080/sis/api/v1/sis/node-details

# pod-details-endpoint: http://localhost:8080/sis/api/v1/sis/pod-details

# namespace-details-endpoint: http://localhost:8080/sis/api/v1/sis/namespace-details

entity-endpoint: https://api.stage.accuknox.com/sis/api/v1/sis/entity
local-endpoint: http://localhost:8080/sis/api/v1/sis/entity

cms:
cms-endpoint: /cm/api/v1/cluster-management/retrieve-pods-and-its-nodes
base-url: https://api-stage.accuknox.com
cms-endpoint2: /cm/api/v1/cluster-management/retrieve-node-list

kmux-topic: shared-event
kmux-topic-prefix: persistent://accuknox/cluster-entity/
heartbeat:
interval: 5m
spire:
enable: false
agent: spire-agent.spire.svc.cluster.local:9091
k8s:
enable: false

psa:
violation-topic: persistent://accuknox/datapipeline/admissionevents
audit-webhook-port: 8080
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
kmux:
sink:
stream: knox-gateway

knox-gateway:
# dev
server: "knox-gw.stage.accuknox.com:3000"
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Unit]
Description=Policy-Enforcement-Agent

[Service]
User=root
KillMode=process
WorkingDirectory=/opt/accuknox-policy-enforcement-agent/
ExecStart=/opt/accuknox-policy-enforcement-agent/pea

[Install]
WantedBy=multi-user.target
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Unit]
Description=Shared-Informer

[Service]
User=root
KillMode=process
WorkingDirectory=/opt/accuknox-shared-informer-agent/
ExecStart=/opt/accuknox-shared-informer-agent/sia

[Install]
WantedBy=multi-user.target
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Unit]
Description=Shared-Informer

[Service]
User=root
KillMode=process
WorkingDirectory=/opt/feeder/
Environment=ENABLE_VM=true KUBEARMOR_ENABLED=true KMUX_ENABLED=true
ExecStart=/opt/feeder/feeder

[Install]
WantedBy=multi-user.target
Loading

0 comments on commit ed26ed0

Please sign in to comment.