From c7575dcb216ed8ae890c915d5d2fd547e2ccffb0 Mon Sep 17 00:00:00 2001 From: alexkutsan Date: Fri, 6 Dec 2024 14:37:07 +0400 Subject: [PATCH] remove obsolete target --- .../nexploit-benchmarking-target/.helmignore | 23 ---------- .../nexploit-benchmarking-target/Chart.yaml | 26 ----------- .../templates/deployment.yaml | 44 ------------------- .../templates/ingress.yaml | 29 ------------ .../templates/service.yaml | 11 ----- .../nexploit-benchmarking-target/values.yaml | 4 -- 6 files changed, 137 deletions(-) delete mode 100644 charts/nexploit-benchmarking-target/.helmignore delete mode 100644 charts/nexploit-benchmarking-target/Chart.yaml delete mode 100644 charts/nexploit-benchmarking-target/templates/deployment.yaml delete mode 100644 charts/nexploit-benchmarking-target/templates/ingress.yaml delete mode 100644 charts/nexploit-benchmarking-target/templates/service.yaml delete mode 100644 charts/nexploit-benchmarking-target/values.yaml diff --git a/charts/nexploit-benchmarking-target/.helmignore b/charts/nexploit-benchmarking-target/.helmignore deleted file mode 100644 index 0e8a0eb..0000000 --- a/charts/nexploit-benchmarking-target/.helmignore +++ /dev/null @@ -1,23 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*.orig -*~ -# Various IDEs -.project -.idea/ -*.tmproj -.vscode/ diff --git a/charts/nexploit-benchmarking-target/Chart.yaml b/charts/nexploit-benchmarking-target/Chart.yaml deleted file mode 100644 index 2086483..0000000 --- a/charts/nexploit-benchmarking-target/Chart.yaml +++ /dev/null @@ -1,26 +0,0 @@ -apiVersion: v2 -name: nexploit-benchmarking-target -description: A Helm chart for Kubernetes - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -keywords: -- nexploit-benchmarking-target -version: 1.0.1 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "1.0.0" diff --git a/charts/nexploit-benchmarking-target/templates/deployment.yaml b/charts/nexploit-benchmarking-target/templates/deployment.yaml deleted file mode 100644 index 1f77b5a..0000000 --- a/charts/nexploit-benchmarking-target/templates/deployment.yaml +++ /dev/null @@ -1,44 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ .Release.Name }} - namespace: {{ .Release.Namespace }} - labels: - app: {{ .Release.Name }} - app.kubernetes.io/instance: {{ .Release.Name }} -spec: - selector: - matchLabels: - app: {{ .Release.Name }} - app.kubernetes.io/instance: {{ .Release.Name }} - template: - metadata: - labels: - app.kubernetes.io/instance: {{ .Release.Name }} - app: {{ .Release.Name }} - spec: - containers: - - name: {{ .Chart.Name }} - image: ghcr.io/neuralegion/benchmarking_target - command: ["/bin/sh"] - args: - - -c - - | - /app/bin/benchmarking_target - resources: - requests: - cpu: 50m - memory: 128Mi - limits: - cpu: 250m - memory: 512Mi - livenessProbe: - httpGet: - path: / - port: 8050 - scheme: HTTP - initialDelaySeconds: 120 - periodSeconds: 30 - imagePullSecrets: - - name: pull-ghcr-io diff --git a/charts/nexploit-benchmarking-target/templates/ingress.yaml b/charts/nexploit-benchmarking-target/templates/ingress.yaml deleted file mode 100644 index 3050a03..0000000 --- a/charts/nexploit-benchmarking-target/templates/ingress.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: {{ .Release.Name }} - namespace: {{ .Release.Namespace }} - annotations: - kubernetes.io/ingress.class: nginx - nginx.ingress.kubernetes.io/proxy-ssl-protocols: "TLSv1.1 TLSv1.2" - nginx.ingress.kubernetes.io/ssl-redirect: "false" - {{ if eq .Values.ingress.cert "" }} - cert-manager.io/cluster-issuer: letsencrypt-cf-prod - {{ end }} -spec: - tls: - - hosts: - - {{ .Values.ingress.url }} - secretName: {{ if eq .Values.ingress.cert "" }}distributorwildcard{{ else }}{{ .Values.ingress.cert }}{{ end }} - rules: - - host: {{ .Values.ingress.url }} - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: {{ .Release.Name }} - port: - number: 8050 diff --git a/charts/nexploit-benchmarking-target/templates/service.yaml b/charts/nexploit-benchmarking-target/templates/service.yaml deleted file mode 100644 index 777721c..0000000 --- a/charts/nexploit-benchmarking-target/templates/service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: {{ .Release.Name }} - namespace: {{ .Release.Namespace }} -spec: - ports: - - port: 8050 - selector: - app.kubernetes.io/instance: {{ .Release.Name }} - app: {{ .Release.Name }} diff --git a/charts/nexploit-benchmarking-target/values.yaml b/charts/nexploit-benchmarking-target/values.yaml deleted file mode 100644 index 02f27a6..0000000 --- a/charts/nexploit-benchmarking-target/values.yaml +++ /dev/null @@ -1,4 +0,0 @@ -ingress: - url: dev.vuln.nexploit.app - cert: "" - authlevel: "."