🔨 Update complete.yaml

This commit is contained in:
tiptophelmet 2024-03-13 23:28:27 +02:00
parent a4c22cae17
commit e185adb17e

View File

@ -1,4 +1,66 @@
--- ---
# Source: kubeshark/templates/16-network-policies.yaml
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: kubeshark-hub-network-policy
namespace: default
spec:
podSelector:
matchLabels:
app.kubeshark.co/app: hub
policyTypes:
- Ingress
- Egress
ingress:
- ports:
- protocol: TCP
port: 80
egress:
- {}
---
# Source: kubeshark/templates/16-network-policies.yaml
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: kubeshark-front-network-policy
namespace: default
spec:
podSelector:
matchLabels:
app.kubeshark.co/app: front
policyTypes:
- Ingress
- Egress
ingress:
- ports:
- protocol: TCP
port: 80
egress:
- {}
---
# Source: kubeshark/templates/16-network-policies.yaml
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: kubeshark-worker-network-policy
namespace: default
spec:
podSelector:
matchLabels:
app.kubeshark.co/app: worker
policyTypes:
- Ingress
- Egress
ingress:
- ports:
- protocol: TCP
port: 30001
- protocol: TCP
port: 49100
egress:
- {}
---
# Source: kubeshark/templates/01-service-account.yaml # Source: kubeshark/templates/01-service-account.yaml
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
@ -160,6 +222,7 @@ data:
JSON_TTL: '5m' JSON_TTL: '5m'
PCAP_TTL: '10s' PCAP_TTL: '10s'
PCAP_ERROR_TTL: '60s' PCAP_ERROR_TTL: '60s'
TIMEZONE: ''
--- ---
# Source: kubeshark/templates/02-cluster-role.yaml # Source: kubeshark/templates/02-cluster-role.yaml
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
@ -280,7 +343,7 @@ spec:
ports: ports:
- name: kubeshark-hub - name: kubeshark-hub
port: 80 port: 80
targetPort: 80 targetPort: 8080
selector: selector:
app.kubeshark.co/app: hub app.kubeshark.co/app: hub
type: ClusterIP type: ClusterIP
@ -302,7 +365,7 @@ spec:
ports: ports:
- name: kubeshark-front - name: kubeshark-front
port: 80 port: 80
targetPort: 80 targetPort: 8080
selector: selector:
app.kubeshark.co/app: front app.kubeshark.co/app: front
type: ClusterIP type: ClusterIP
@ -566,6 +629,8 @@ spec:
- name: kubeshark-hub - name: kubeshark-hub
command: command:
- ./hub - ./hub
- -port
- "8080"
env: env:
- name: POD_NAME - name: POD_NAME
valueFrom: valueFrom:
@ -585,14 +650,14 @@ spec:
successThreshold: 1 successThreshold: 1
initialDelaySeconds: 3 initialDelaySeconds: 3
tcpSocket: tcpSocket:
port: 80 port: 8080
livenessProbe: livenessProbe:
periodSeconds: 1 periodSeconds: 1
failureThreshold: 3 failureThreshold: 3
successThreshold: 1 successThreshold: 1
initialDelaySeconds: 3 initialDelaySeconds: 3
tcpSocket: tcpSocket:
port: 80 port: 8080
resources: resources:
limits: limits:
cpu: 750m cpu: 750m
@ -663,6 +728,8 @@ spec:
value: 'saml' value: 'saml'
- name: REACT_APP_AUTH_SAML_IDP_METADATA_URL - name: REACT_APP_AUTH_SAML_IDP_METADATA_URL
value: ' ' value: ' '
- name: REACT_APP_TIMEZONE
value: ''
- name: REACT_APP_REPLAY_DISABLED - name: REACT_APP_REPLAY_DISABLED
value: 'false' value: 'false'
- name: REACT_APP_SCRIPTING_DISABLED - name: REACT_APP_SCRIPTING_DISABLED
@ -680,14 +747,14 @@ spec:
successThreshold: 1 successThreshold: 1
initialDelaySeconds: 3 initialDelaySeconds: 3
tcpSocket: tcpSocket:
port: 80 port: 8080
readinessProbe: readinessProbe:
periodSeconds: 1 periodSeconds: 1
failureThreshold: 3 failureThreshold: 3
successThreshold: 1 successThreshold: 1
initialDelaySeconds: 3 initialDelaySeconds: 3
tcpSocket: tcpSocket:
port: 80 port: 8080
timeoutSeconds: 1 timeoutSeconds: 1
resources: resources:
limits: limits: