Configures `myks` for Helm chart rendering with `ytt` overlays to manage cluster applications. Defines prototypes and environment-specific configurations for core applications including ArgoCD, Traefik, Cert-Manager, and Forgejo. Adds comprehensive documentation covering cluster setup, GitOps structure, and development environment. Integrates `direnv` for environment variable management, `gitignore` for file exclusion, and `sops` for secret encryption. Includes rendered Kubernetes manifests and ArgoCD application resources for initial deployment.
61 lines
1.8 KiB
YAML
61 lines
1.8 KiB
YAML
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
annotations:
|
|
a8r.io/repository: ""
|
|
helm.sh/hook: post-install
|
|
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
|
|
helm.sh/hook-weight: "1"
|
|
labels:
|
|
app: startupapicheck
|
|
app.kubernetes.io/component: startupapicheck
|
|
app.kubernetes.io/instance: cert-manager
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: startupapicheck
|
|
app.kubernetes.io/version: v1.17.2
|
|
helm.sh/chart: cert-manager-v1.17.2
|
|
name: cert-manager-startupapicheck
|
|
namespace: cert-manager
|
|
spec:
|
|
backoffLimit: 4
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: startupapicheck
|
|
app.kubernetes.io/component: startupapicheck
|
|
app.kubernetes.io/instance: cert-manager
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: startupapicheck
|
|
app.kubernetes.io/version: v1.17.2
|
|
helm.sh/chart: cert-manager-v1.17.2
|
|
spec:
|
|
containers:
|
|
- args:
|
|
- check
|
|
- api
|
|
- --wait=1m
|
|
- -v
|
|
env:
|
|
- name: POD_NAMESPACE
|
|
valueFrom:
|
|
fieldRef:
|
|
fieldPath: metadata.namespace
|
|
image: quay.io/jetstack/cert-manager-startupapicheck:v1.17.2
|
|
imagePullPolicy: IfNotPresent
|
|
name: cert-manager-startupapicheck
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
readOnlyRootFilesystem: true
|
|
enableServiceLinks: false
|
|
nodeSelector:
|
|
kubernetes.io/os: linux
|
|
restartPolicy: OnFailure
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
seccompProfile:
|
|
type: RuntimeDefault
|
|
serviceAccountName: cert-manager-startupapicheck
|