Skip to content

Commit 642c942

Browse files
committed
Decommission notification publisher
Signed-off-by: nscuro <nscuro@protonmail.com>
1 parent 6888615 commit 642c942

File tree

5 files changed

+0
-349
lines changed

5 files changed

+0
-349
lines changed

charts/hyades/templates/_helpers.tpl

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -220,49 +220,6 @@ Frontend image
220220
{{- end -}}
221221
{{- end -}}
222222

223-
{{/*
224-
Notification publisher labels
225-
*/}}
226-
{{- define "hyades.notificationPublisherLabels" -}}
227-
{{ include "hyades.commonLabels" . }}
228-
{{ include "hyades.notificationPublisherSelectorLabels" . }}
229-
app.kubernetes.io/version: {{ .Chart.AppVersion }}
230-
{{- end -}}
231-
232-
{{/*
233-
Notification publisher selector labels
234-
*/}}
235-
{{- define "hyades.notificationPublisherSelectorLabels" -}}
236-
{{ include "hyades.commonSelectorLabels" . }}
237-
app.kubernetes.io/name: {{ printf "%s-notification-publisher" (include "hyades.name" .) }}
238-
app.kubernetes.io/component: notification-publisher
239-
{{- end -}}
240-
241-
{{/*
242-
Notification publisher name
243-
*/}}
244-
{{- define "hyades.notificationPublisherName" -}}
245-
{{- printf "%s-notification-publisher" (include "hyades.name" .) -}}
246-
{{- end -}}
247-
248-
{{/*
249-
Notification publisher fully qualified name
250-
*/}}
251-
{{- define "hyades.notificationPublisherFullname" -}}
252-
{{- printf "%s-notification-publisher" (include "hyades.fullname" .) -}}
253-
{{- end -}}
254-
255-
{{/*
256-
Notification publisher image
257-
*/}}
258-
{{- define "hyades.notificationPublisherImage" -}}
259-
{{- if eq (substr 0 7 .Values.notificationPublisher.image.tag) "sha256:" -}}
260-
{{- printf "%s/%s@%s" (.Values.notificationPublisher.image.registry | default .Values.common.image.registry) .Values.notificationPublisher.image.repository .Values.notificationPublisher.image.tag -}}
261-
{{- else -}}
262-
{{- printf "%s/%s:%s" (.Values.notificationPublisher.image.registry | default .Values.common.image.registry) .Values.notificationPublisher.image.repository (.Values.notificationPublisher.image.tag | default .Chart.AppVersion) -}}
263-
{{- end -}}
264-
{{- end -}}
265-
266223

267224
{{/*
268225
Repository metadata analyzer labels

charts/hyades/templates/notification-publisher/deployment.yaml

Lines changed: 0 additions & 135 deletions
This file was deleted.

charts/hyades/templates/notification-publisher/hpa.yaml

Lines changed: 0 additions & 38 deletions
This file was deleted.

charts/hyades/values.schema.json

Lines changed: 0 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -288,76 +288,6 @@
288288
}
289289
}
290290
},
291-
"notificationPublisher": {
292-
"type": "object",
293-
"properties": {
294-
"enabled": {
295-
"type": "boolean"
296-
},
297-
"replicaCount": {
298-
"type": "integer"
299-
},
300-
"deployment": {
301-
"type": "object",
302-
"properties": {
303-
"strategy": {
304-
"type": "object"
305-
}
306-
}
307-
},
308-
"annotations": {
309-
"type": "object"
310-
},
311-
"image": {
312-
"$ref": "#/$defs/image"
313-
},
314-
"command": {
315-
"type": "array",
316-
"items": {
317-
"type": "string"
318-
}
319-
},
320-
"args": {
321-
"type": "array",
322-
"items": {
323-
"type": "string"
324-
}
325-
},
326-
"resources": {
327-
"$ref": "#/$defs/resources"
328-
},
329-
"securityContext": {
330-
"type": "object"
331-
},
332-
"extraEnv": {
333-
"$ref": "#/$defs/objectArray"
334-
},
335-
"extraEnvFrom": {
336-
"$ref": "#/$defs/objectArray"
337-
},
338-
"extraContainers": {
339-
"$ref": "#/$defs/objectArray"
340-
},
341-
"tolerations": {
342-
"$ref": "#/$defs/objectArray"
343-
},
344-
"probes": {
345-
"$ref": "#/$defs/probes"
346-
},
347-
"additionalVolumeMounts": {
348-
"$ref": "#/$defs/objectArray"
349-
},
350-
"additionalVolumes": {
351-
"$ref": "#/$defs/objectArray"
352-
},
353-
"initContainers": {
354-
"$ref": "#/$defs/objectArray"
355-
},
356-
"nodeSelector": {
357-
"type": "object"
358-
}
359-
}
360-
},
361291
"repoMetaAnalyzer": {
362292
"type": "object",
363293
"properties": {

charts/hyades/values.yaml

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -243,69 +243,6 @@ frontend:
243243
tolerations: []
244244
nodeSelector: {}
245245

246-
notificationPublisher:
247-
# -- Whether the notification publisher shall be deployed.
248-
enabled: true
249-
# -- Enables horizontal pod autoscaling
250-
autoScaling:
251-
enabled: false
252-
annotations: {}
253-
minReplicas: 1
254-
maxReplicas: 3
255-
targetCPUUtilizationPercentage: 70
256-
targetMemoryUtilizationPercentage: 70
257-
# -- replicaCount is not used when autoscaling is enabled
258-
replicaCount: 1
259-
deployment:
260-
# -- The deployment strategy to use. `Recreate` is recommended because the service
261-
# does not serve user-traffic, and `RollingUpdate` will cause undesired
262-
# Kafka consumer rebalances.
263-
strategy:
264-
type: Recreate
265-
annotations: {}
266-
image:
267-
# -- Override common.image.registry for the notification publisher.
268-
registry: ""
269-
repository: dependencytrack/hyades-notification-publisher
270-
# -- Can be a tag name such as "latest", or an image digest
271-
# prefixed with "sha256:".
272-
tag: snapshot-native
273-
pullPolicy: Always
274-
command: []
275-
args: []
276-
resources:
277-
requests:
278-
cpu: 500m
279-
memory: 512Mi
280-
limits:
281-
cpu: "2"
282-
memory: 2Gi
283-
# -- Security context of the container.
284-
securityContext: *hyadesSecurityContext
285-
extraEnv: []
286-
extraEnvFrom: []
287-
probes:
288-
liveness:
289-
failureThreshold: 3
290-
initialDelaySeconds: 10
291-
periodSeconds: 15
292-
successThreshold: 1
293-
timeoutSeconds: 5
294-
readiness:
295-
failureThreshold: 3
296-
initialDelaySeconds: 10
297-
periodSeconds: 15
298-
successThreshold: 1
299-
timeoutSeconds: 5
300-
# -- Additional init containers to deploy. Supports templating.
301-
initContainers: []
302-
# -- Additional containers to deploy. Supports templating.
303-
extraContainers: []
304-
additionalVolumes: []
305-
additionalVolumeMounts: []
306-
tolerations: []
307-
nodeSelector: {}
308-
309246
repoMetaAnalyzer:
310247
# -- Whether the repository metadata analyzer shall be deployed.
311248
enabled: true

0 commit comments

Comments
 (0)