Skip to content
This repository was archived by the owner on Sep 22, 2023. It is now read-only.
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 chart/dev.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
release: 0.1.0-nightly.53f4e24d
release: 0.1.0-nightly.2f825aca
domain: dev.trustification.dev
replicas: 1
imagePullPolicy: IfNotPresent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
imagePullPolicy: {{ .Values.imagePullPolicy }}
name: service
command: ["/trust"]
args: ["exporter", "--event-bus", "sqs", "--stored-topic", "{{ .Values.bombastic.exporterTopic }}", "--storage-bucket", "{{ .Values.bombastic.bucket }}", "--guac-url", "trustification-nats:4222" ]
args: ["exporter", "--document-type", "sbom", "--event-bus", "sqs", "--stored-topic", "{{ .Values.bombastic.exporterTopic }}", "--storage-bucket", "{{ .Values.bombastic.bucket }}", "--guac-url", "trustification-nats:4222" ]
env:
- name: RUST_LOG
value: info
Expand Down
67 changes: 67 additions & 0 deletions chart/templates/bombastic/exporter/vexination/030-Deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: vexination-exporter
labels:
app.kubernetes.io/name: vexination-exporter
app.kubernetes.io/component: exporter
app.kubernetes.io/part-of: vexination
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: vexination-exporter
app.kubernetes.io/component: exporter
app.kubernetes.io/part-of: vexination
template:
metadata:
labels:
app.kubernetes.io/name: vexination-exporter
app.kubernetes.io/component: exporter
app.kubernetes.io/part-of: vexination
spec:
volumes:
- name: data
emptyDir: {}
containers:
- image: ghcr.io/trustification/trust:{{ .Values.release }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
name: service
command: ["/trust"]
args: ["exporter", "--document-type", "vex", "--event-bus", "sqs", "--stored-topic", "{{ .Values.vexination.exporterTopic }}", "--storage-bucket", "{{ .Values.vexination.bucket }}", "--guac-url", "trustification-nats:4222" ]
env:
- name: RUST_LOG
value: info
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: "{{ .Values.vexination.credentials }}"
key: access-key-id
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: "{{ .Values.vexination.credentials }}"
key: secret-access-key
- name: REGION
value: "{{ .Values.region }}"
- name: INFRASTRUCTURE_ENABLED
value: "true"
- name: INFRASTRUCTURE_BIND
value: "[::]:9010"
volumeMounts:
- name: data
mountPath: /data
livenessProbe:
httpGet:
path: /health/live
port: 9010
initialDelaySeconds: 2
readinessProbe:
httpGet:
path: /health/ready
port: 9010
initialDelaySeconds: 2
startupProbe:
httpGet:
path: /health/startup
port: 9010