Skip to content

Commit

Permalink
service
Browse files Browse the repository at this point in the history
Signed-off-by: Icarus9913 <icaruswu66@qq.com>
  • Loading branch information
Icarus9913 committed Aug 3, 2023
1 parent ccf1f72 commit 397261a
Show file tree
Hide file tree
Showing 33 changed files with 430 additions and 641 deletions.
8 changes: 3 additions & 5 deletions charts/crds/kdoctor.io_apphttphealthies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1052,6 +1052,7 @@ spec:
default: false
type: boolean
kind:
default: DaemonSet
enum:
- Deployment
- DaemonSet
Expand Down Expand Up @@ -1105,11 +1106,10 @@ spec:
to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
type: object
terminationGracePeriodSeconds:
terminationGracePeriodMinutes:
default: 60
format: int64
type: integer
required:
- kind
type: object
expect:
properties:
Expand Down Expand Up @@ -1199,8 +1199,6 @@ spec:
- host
- method
type: object
required:
- agentSpec
type: object
status:
properties:
Expand Down
8 changes: 3 additions & 5 deletions charts/crds/kdoctor.io_netdnses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1050,6 +1050,7 @@ spec:
default: false
type: boolean
kind:
default: DaemonSet
enum:
- Deployment
- DaemonSet
Expand Down Expand Up @@ -1103,11 +1104,10 @@ spec:
to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
type: object
terminationGracePeriodSeconds:
terminationGracePeriodMinutes:
default: 60
format: int64
type: integer
required:
- kind
type: object
expect:
properties:
Expand Down Expand Up @@ -1248,8 +1248,6 @@ spec:
type: string
type: object
type: object
required:
- agentSpec
type: object
status:
properties:
Expand Down
8 changes: 3 additions & 5 deletions charts/crds/kdoctor.io_netreaches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1052,6 +1052,7 @@ spec:
default: false
type: boolean
kind:
default: DaemonSet
enum:
- Deployment
- DaemonSet
Expand Down Expand Up @@ -1105,11 +1106,10 @@ spec:
to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
type: object
terminationGracePeriodSeconds:
terminationGracePeriodMinutes:
default: 60
format: int64
type: integer
required:
- kind
type: object
expect:
properties:
Expand Down Expand Up @@ -1192,8 +1192,6 @@ spec:
default: true
type: boolean
type: object
required:
- agentSpec
type: object
status:
properties:
Expand Down
15 changes: 1 addition & 14 deletions charts/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,4 @@ data:
agentDaemonsetName: {{ .Values.kdoctorAgent.name | trunc 63 | trimSuffix "-" }}
agentIngressName: {{ include "project.kdoctorAgent.ingressName" . }}
kdoctorAgent:
containerCommand: {{ .Values.kdoctorAgent.cmdBinName }}
imageConfig:
agentImage: {{ include "project.kdoctorAgent.image" . | quote }}
pullPolicy: {{ .Values.kdoctorAgent.image.pullPolicy }}
serviceAccountName: {{ .Values.kdoctorAgent.name | trunc 63 | trimSuffix "-" }}
{{- with .Values.kdoctorAgent.httpServer }}
httpServer:
{{- toYaml . | trim | nindent 8 }}
{{- end }}
reportHostPath: {{ .Values.kdoctorAgent.reportHostPath }}
configMapName: {{ .Values.global.configName }}
tlsSecretName: {{ .Values.tls.ca.secretName }}
labels:
{{- include "project.kdoctorAgent.labels" . | nindent 8 }}
uniqueMatchLabelKey: {{ .Values.kdoctorAgent.uniqueMatchLabelKey }}
235 changes: 0 additions & 235 deletions charts/templates/daemonset.yaml

This file was deleted.

Loading

0 comments on commit 397261a

Please sign in to comment.