Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/version-guard/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: version-guard
description: Cloud infrastructure version drift and EOL detection
type: application
version: 0.2.0
appVersion: "0.1.0"
version: 0.3.0
appVersion: "0.3.0"
maintainers:
- name: bakayolo
url: https://github.com/bakayolo
11 changes: 11 additions & 0 deletions charts/version-guard/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,14 @@ spec:
periodSeconds: 10
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.extraContainers }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.volumes }}
volumes:
{{- toYaml . | nindent 8 }}
{{- end }}
50 changes: 50 additions & 0 deletions charts/version-guard/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,53 @@ resources:
limits:
cpu: 1000m
memory: 512Mi

# Additional volume mounts for the main container
volumeMounts: []

# Additional volumes for the pod
volumes: []

# Additional sidecar containers (e.g., EOL override proxy)
# Example: nginx sidecar serving patched endoflife.date JSON for products
# with pending upstream PRs (aurora-mysql, opensearch 3.3/3.5):
#
# extraContainers:
# - name: eol-override
# image: nginxinc/nginx-unprivileged:alpine
# ports:
# - containerPort: 8082
# volumeMounts:
# - name: eol-config
# mountPath: /etc/nginx/conf.d/default.conf
# subPath: nginx.conf
# readOnly: true
# - name: eol-data
# mountPath: /data/api
# readOnly: true
# resources:
# requests:
# cpu: 10m
# memory: 16Mi
# limits:
# memory: 32Mi
#
# volumes:
# - name: eol-config
# configMap:
# name: eol-override
# items:
# - key: nginx.conf
# path: nginx.conf
# - name: eol-data
# configMap:
# name: eol-override
# items:
# - key: amazon-aurora-mysql.json
# path: amazon-aurora-mysql.json
# - key: amazon-opensearch.json
# path: amazon-opensearch.json
#
# Then set EOL_BASE_URL=http://127.0.0.1:8082/api in env to use the sidecar.
# Note: use 127.0.0.1 (not localhost) to avoid IPv6 resolution issues.
extraContainers: []
Loading