This repository contains helm chart that could help you with deploying applications on Yandex.Cloud Kubernetes. Check Habr article to get known about initial state of the chart. Unless the chart has basic Kubernetes resources (like Deployment and Services) external-secrets chart should be installed on your K8s cluster. It will allow you to deploy CRD resources on your cluster (SecretStore and ExternalSecret). These resources are necessary if you want to integrate with Yandex Certificate Manager and Yandex Lockbox.
Check actual chart values here.
In this section you can check information about all resources in the chart.
Template | Kind | Type | Description |
---|---|---|---|
cert-secret-store.yaml | SecretStore | Optional | We can use such type of resource to create integration with external API. That file contains configuration to connect to Yandex Certificate Manager. |
lockbox-secret-store.yaml | SecretStore | Optional | The template contains almost the same configration as in cert-secret-store.yaml, but connect to Yandex Lockbox. |
cert-external-secret.yaml | ExternalSecret | Optional | It uses SecretStore and Certificate ID to get TLS certificate and create K8s Secret. |
lockbox-external-secret.yaml | ExternalSecret | Optional | Uses SecretStore and Secret ID to get secrets and create K8s Secret. |
clusterip.yaml | Service | Required | Expose application on selected port. |
deploy.yaml | Deployment | Required | Run N replicas of application. |
ingress.yaml | Ingress | Optional | Can be used to expose application under HTTPS. |
Deploy simple nginx application:
helm install \
-n nginx-helm \
--set lockboxSecretStore.enabled=true \
--set certificateSecretStore.enabled=false \
--set deployment.image=nginx:1.25.2 \
--set deployment.containerPort=80 \
--set ingress.enabled=true \
--set ingress.hosts=example.com \
nginx .