added repo

This commit is contained in:
Your Name
2026-08-26 03:39:42 +05:30
parent 45c25a95af
commit b8575bb8b9
6889 changed files with 1217125 additions and 0 deletions
@@ -0,0 +1,23 @@
# 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/
@@ -0,0 +1,24 @@
apiVersion: v2
name: contour-cert-checker
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/)
version: 0.1.0
# 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.16.0"
@@ -0,0 +1,9 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: contour-cert-checker-role
namespace: {{ .Values.rbac.namespace }}
rules:
- apiGroups: [""]
resources: ["secrets", "namespaces"]
verbs: ["get", "list"]
@@ -0,0 +1,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: contour-cert-checker-rolebinding
subjects:
- kind: ServiceAccount
name: {{ .Values.rbac.serviceAccountName }}
namespace: {{ .Values.rbac.namespace }}
roleRef:
kind: ClusterRole
name: contour-cert-checker-role
apiGroup: rbac.authorization.k8s.io
@@ -0,0 +1,31 @@
apiVersion: batch/v1
kind: CronJob
metadata:
name: contour-cert-checker-cron
namespace: {{ .Values.rbac.namespace }}
spec:
schedule: "0 12 * * *"
successfulJobsHistoryLimit: {{ .Values.cronJob.historyLimit.successfulJobs }}
failedJobsHistoryLimit: {{ .Values.cronJob.historyLimit.failedJobs }}
jobTemplate:
spec:
template:
spec:
nodeSelector: {{ .Values.cronJob.nodeSelector | toYaml | nindent 12 }}
tolerations: {{ .Values.cronJob.tolerations | toYaml | nindent 12 }}
containers:
- name: contour-cert-checker
image: {{ .Values.cronJob.image.repository }}:{{ .Values.cronJob.image.tag }}
imagePullPolicy: IfNotPresent
command: ["./contour-cert-checker"]
args: {{ .Values.cronJob.args | toYaml | nindent 12 }}
resources:
requests:
memory: {{ .Values.cronJob.resources.requests.memory }}
cpu: {{ .Values.cronJob.resources.requests.cpu }}
limits:
memory: {{ .Values.cronJob.resources.limits.memory }}
cpu: {{ .Values.cronJob.resources.limits.cpu }}
restartPolicy: OnFailure
serviceAccountName: {{ .Values.rbac.serviceAccountName }}
backoffLimit: {{ .Values.cronJob.backoffLimit }}
@@ -0,0 +1,5 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Values.rbac.serviceAccountName }}
namespace: {{ .Values.rbac.namespace }}
@@ -0,0 +1,6 @@
cronJob:
image:
repository: asia-southeast1-docker.pkg.dev/meesho-devops-admin-0622/admin/contour-cert-checker
tag: v1.0
args:
- "cluster=k8s-central-stg-ase1"