-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjupiterone.yaml
36 lines (34 loc) · 1.17 KB
/
jupiterone.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
apiVersion: v1
kind: Pod
metadata:
name: jupiterone
spec:
containers:
- name: graph-kubernetes
image: jupiterone-integration:latest
imagePullPolicy: Never
command: ["/bin/sh", "-c"]
args:
- |
# Run the integration
/usr/local/lib/node_modules/@jupiterone/integration-sdk-cli/bin/j1-integration collect
# Set the proxy environment variables
export HTTPS_PROXY= ###Proxy url in the format of http://host:port###
# export REQUESTS_CA_BUNDLE=/opt/jupiterone/integration/certificate.pem # Can include the pem file for the proxy, will need to update the docker file to copy in the pem file
# Run the upload script
python /opt/jupiterone/integration/scripts/uploadData.py
env:
- name: ACCESS_TYPE
value: namespace
- name: NAMESPACE
value: default
- name: JUPITERONE_ACCOUNT_ID
value: ###JupiterOne Account ID###
- name: JUPITERONE_API_KEY
value: ###JupiterOne API Key###
- name: INTEGRATION_INSTANCE_ID
value: ###Integration Instance ID###
- name: LOAD_KUBERNETES_CONFIG_FROM_DEFAULT
value: "true"
serviceAccountName: jupiterone-integration
restartPolicy: Never