Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
projectdiscovery
GitHub Repository: projectdiscovery/nuclei
Path: blob/dev/helm/templates/interactsh-deployment.yaml
2070 views
1
apiVersion: apps/v1
2
kind: Deployment
3
metadata:
4
name: {{ include "nuclei.fullname" . }}-interactsh
5
labels:
6
{{- include "nuclei.labels" . | nindent 4 }}
7
spec:
8
{{- if not .Values.autoscaling.enabled }}
9
replicas: {{ .Values.replicaCount }}
10
{{- end }}
11
selector:
12
matchLabels:
13
{{- include "nuclei.selectorLabels" . | nindent 6 }}
14
template:
15
metadata:
16
{{- with .Values.podAnnotations }}
17
annotations:
18
{{- toYaml . | nindent 8 }}
19
{{- end }}
20
labels:
21
{{- include "nuclei.selectorLabels" . | nindent 8 }}
22
spec:
23
{{- with .Values.imagePullSecrets }}
24
imagePullSecrets:
25
{{- toYaml . | nindent 8 }}
26
{{- end }}
27
serviceAccountName: {{ include "nuclei.serviceAccountName" . }}
28
securityContext:
29
{{- toYaml .Values.podSecurityContext | nindent 8 }}
30
containers:
31
- name: {{ .Chart.Name }}-interactsh
32
securityContext:
33
{{- toYaml .Values.securityContext | nindent 12 }}
34
image: "{{ .Values.interactsh.image.repository }}:{{ .Values.interactsh.image.tag | default .Chart.AppVersion }}"
35
imagePullPolicy: {{ .Values.interactsh.image.pullPolicy }}
36
command: ["interactsh-server", "-skip-acme", "-d", "{{ .Values.interactsh.service.name }}"]
37
ports:
38
- name: http
39
containerPort: 80
40
protocol: TCP
41
livenessProbe:
42
httpGet:
43
path: /
44
port: http
45
readinessProbe:
46
httpGet:
47
path: /
48
port: http
49
resources:
50
{{- toYaml .Values.resources | nindent 12 }}
51
{{- with .Values.nodeSelector }}
52
nodeSelector:
53
{{- toYaml . | nindent 8 }}
54
{{- end }}
55
{{- with .Values.affinity }}
56
affinity:
57
{{- toYaml . | nindent 8 }}
58
{{- end }}
59
{{- with .Values.tolerations }}
60
tolerations:
61
{{- toYaml . | nindent 8 }}
62
{{- end }}
63
64