mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-07 05:19:15 +00:00
🔥 Delete the recently added KMM related resources
This commit is contained in:
parent
742a56272b
commit
78c1c02fe6
@ -100,10 +100,6 @@ type ReleaseConfig struct {
|
|||||||
Namespace string `yaml:"namespace" json:"namespace" default:"default"`
|
Namespace string `yaml:"namespace" json:"namespace" default:"default"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type KMMConfig struct {
|
|
||||||
Enabled bool `yaml:"enabled" json:"enabled" default:"true"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type TapConfig struct {
|
type TapConfig struct {
|
||||||
Docker DockerConfig `yaml:"docker" json:"docker"`
|
Docker DockerConfig `yaml:"docker" json:"docker"`
|
||||||
Proxy ProxyConfig `yaml:"proxy" json:"proxy"`
|
Proxy ProxyConfig `yaml:"proxy" json:"proxy"`
|
||||||
@ -125,7 +121,6 @@ type TapConfig struct {
|
|||||||
NodeSelectorTerms []v1.NodeSelectorTerm `yaml:"nodeselectorterms" json:"nodeselectorterms" default:"[]"`
|
NodeSelectorTerms []v1.NodeSelectorTerm `yaml:"nodeselectorterms" json:"nodeselectorterms" default:"[]"`
|
||||||
Auth AuthConfig `yaml:"auth" json:"auth"`
|
Auth AuthConfig `yaml:"auth" json:"auth"`
|
||||||
Ingress IngressConfig `yaml:"ingress" json:"ingress"`
|
Ingress IngressConfig `yaml:"ingress" json:"ingress"`
|
||||||
KMM KMMConfig `yaml:"kmm" json:"kmm"`
|
|
||||||
IPv6 bool `yaml:"ipv6" json:"ipv6" default:"true"`
|
IPv6 bool `yaml:"ipv6" json:"ipv6" default:"true"`
|
||||||
Debug bool `yaml:"debug" json:"debug" default:"false"`
|
Debug bool `yaml:"debug" json:"debug" default:"false"`
|
||||||
}
|
}
|
||||||
|
@ -24,9 +24,3 @@ sources:
|
|||||||
type: application
|
type: application
|
||||||
version: "41.7"
|
version: "41.7"
|
||||||
icon: https://raw.githubusercontent.com/kubeshark/assets/master/logo/vector/logo.svg
|
icon: https://raw.githubusercontent.com/kubeshark/assets/master/logo/vector/logo.svg
|
||||||
dependencies:
|
|
||||||
- name: cert-manager
|
|
||||||
version: v1.11.0
|
|
||||||
repository: https://charts.jetstack.io
|
|
||||||
alias: cert-manager
|
|
||||||
condition: tap.kmm.enabled
|
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
{{ if and .Values.tap.kmm.enabled (.Capabilities.APIVersions.Has "kmm.sigs.x-k8s.io/v1beta1") }}
|
|
||||||
apiVersion: kmm.sigs.x-k8s.io/v1beta1
|
|
||||||
kind: Module
|
|
||||||
metadata:
|
|
||||||
name: kubeshark-module-loader
|
|
||||||
spec:
|
|
||||||
moduleLoader:
|
|
||||||
container:
|
|
||||||
modprobe:
|
|
||||||
moduleName: pf_ring
|
|
||||||
dirName: /opt
|
|
||||||
imagePullPolicy: Always
|
|
||||||
kernelMappings:
|
|
||||||
- regexp: '^.+$'
|
|
||||||
containerImage: "kubeshark/module-loader:latest"
|
|
||||||
build:
|
|
||||||
dockerfileConfigMap:
|
|
||||||
name: kubeshark-module-loader-dockerfile
|
|
||||||
sign:
|
|
||||||
certSecret:
|
|
||||||
name: cert-secret
|
|
||||||
keySecret:
|
|
||||||
name: key-secret
|
|
||||||
filesToSign:
|
|
||||||
- /opt/lib/modules/5.10.0-23-amd64/pf_ring.ko
|
|
||||||
selector:
|
|
||||||
beta.kubernetes.io/arch: amd64
|
|
||||||
{{- end }}
|
|
@ -1,44 +0,0 @@
|
|||||||
{{ if and .Values.tap.kmm.enabled (.Capabilities.APIVersions.Has "kmm.sigs.x-k8s.io/v1beta1") }}
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: kubeshark-module-loader-dockerfile
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
labels:
|
|
||||||
{{- include "kubeshark.labels" . | nindent 4 }}
|
|
||||||
data:
|
|
||||||
dockerfile: |
|
|
||||||
### Builder image
|
|
||||||
ARG TARGETARCH=amd64
|
|
||||||
FROM ${TARGETARCH}/debian:bullseye AS builder
|
|
||||||
|
|
||||||
ARG KERNEL_VERSION
|
|
||||||
|
|
||||||
RUN apt-get update
|
|
||||||
RUN apt-get install -y -q \
|
|
||||||
curl \
|
|
||||||
build-essential \
|
|
||||||
linux-headers-${KERNEL_VERSION}
|
|
||||||
|
|
||||||
WORKDIR /work
|
|
||||||
RUN curl https://github.com/ntop/PF_RING/archive/refs/tags/8.4.0.tar.gz -Lo ./pfring.tar.xz && \
|
|
||||||
tar -xf pfring.tar.xz && \
|
|
||||||
mv ./PF_RING-* ./pfring
|
|
||||||
|
|
||||||
WORKDIR /work/pfring/kernel
|
|
||||||
ENV KERNELRELEASE=${KERNEL_VERSION}
|
|
||||||
RUN make
|
|
||||||
|
|
||||||
|
|
||||||
### The shipped image
|
|
||||||
ARG TARGETARCH=amd64
|
|
||||||
FROM ${TARGETARCH}/debian:bullseye
|
|
||||||
|
|
||||||
ARG KERNEL_VERSION
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y kmod
|
|
||||||
|
|
||||||
COPY --from=builder /work/pfring/kernel/pf_ring.ko /opt/lib/modules/${KERNEL_VERSION}/
|
|
||||||
|
|
||||||
RUN depmod -b /opt ${KERNEL_VERSION}
|
|
||||||
{{- end }}
|
|
File diff suppressed because it is too large
Load Diff
@ -35,8 +35,6 @@ tap:
|
|||||||
host: ks.svc.cluster.local
|
host: ks.svc.cluster.local
|
||||||
tls: null
|
tls: null
|
||||||
ipv6: true
|
ipv6: true
|
||||||
kmm:
|
|
||||||
enabled: true
|
|
||||||
labels: {}
|
labels: {}
|
||||||
namespaces: []
|
namespaces: []
|
||||||
nodeselectorterms:
|
nodeselectorterms:
|
||||||
|
Loading…
Reference in New Issue
Block a user