keiailab-commons
Helm chartv0.13.0App 0.13.0MITVerified publisher
Keiailab commons Helm library chart. downstream consumer 가 공유하는 partial helper (commonLabels / observability.serviceMonitor 등) 를 제공한다. type: library — consumer chart 가 dependency 로 import.
About this chart
keiailab-commons (Helm library chart)
keiailab-commons 의 Helm library chart. downstream operator chart 들이
공통으로 사용할 partial helper 를 제공합니다.
Design assets
| Asset | URL | Usage |
|---|---|---|
| Centered service symbol | https://raw.githubusercontent.com/KeiaiLab/keiailab-commons/main/docs/branding/symbol.png | Artifact Hub package icon and screenshot |
| Keiailab base symbol | https://raw.githubusercontent.com/KeiaiLab/keiailab-commons/main/docs/branding/base-symbol.png | Source reference for the outer rotating-arrow mark |
| Branding guide | https://github.com/KeiaiLab/keiailab-commons/blob/main/docs/BRANDING.md | GitHub visual usage rules |
사용
consumer chart 의 Chart.yaml 에 의존성 추가:
dependencies:
- name: keiailab-commons
version: ~0.8.0
repository: oci://ghcr.io/keiailab/charts
helm dependency update 후 partial 사용:
metadata:
labels:
{{- include "keiailab.commonLabels" . | nindent 4 }}
Provided Partials
| Helper | 용도 | 추가 시점 |
|---|---|---|
keiailab.commonLabels | Helm 표준 공통 label set (Kubernetes Recommended Labels) | v0.1.0 |
keiailab.observability.serviceMonitor | Prometheus Operator ServiceMonitor 공통 spec | v0.1.0 |
keiailab.networkpolicy.dataplane | managed dataplane workload 보호 (default-deny + allow-internal-instance) | v0.2.0 |
keiailab.networkpolicy.controlplane | operator manager pod 자체 보호 (metrics / webhook ingress + API / DNS egress) | v0.2.0 |
keiailab.rbac.serviceAccount | ServiceAccount + ImagePullSecrets + automountToken | v0.3.0 |
keiailab.rbac.controllerBase | controller-runtime base (leader-election + events + service) | v0.3.0 |
keiailab.rbac.workloadBase | managed workload (StatefulSet / Deployment + Service / ConfigMap / Secret / PVC / Pod) | v0.3.0 |
keiailab.security.podSecurityContext | PSS Restricted Pod SecurityContext (runAsNonRoot + seccompProfile) | v0.4.0 |
keiailab.security.containerSecurityContext | PSS Restricted Container SecurityContext (capabilities.drop=ALL + readOnlyRootFilesystem) | v0.4.0 |
keiailab.secrets.externalSecret | External Secrets Operator ExternalSecret 공통 spec (Infisical / SecretStore / ClusterSecretStore) | v0.8.0 |
ExternalSecret 예시
{{ include "keiailab.secrets.externalSecret" (dict
"ctx" .
"name" "app-admin"
"labels" (include "my-operator.labels" .)
"secretStoreName" .Values.externalSecrets.clusterSecretStore
"targetName" "app-admin"
"data" (list (dict
"secretKey" "password"
"remoteKey" "/data/app/admin/password")) ) }}
License
MIT — ../../LICENSE 참조.
Refs
- ADR-0005 (commons): Helm library chart 패키징 결정.
- ADR-0006 / ADR-0007 / ADR-0008: networkpolicy / rbac / security partial 채택.
Deploy keiailab-commons with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has keiailab-commons on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkeiailab-commons is pinned at v0.13.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply