Skip to content

Latest commit

 

History

History

.kustomization

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Kustomization

Refer to the main repository.

Directory structure

Refer to the main repository.

Secret management

Refer to the main repository.

Sealing secrets can be done with one single instruction:

$ (
    ENV="dev"
    basedir="$(pwd)/.kustomization"
    cd "${basedir}/overlays/${ENV}/"
    kustomize build secrets/ |
        yq e 'select(.metadata.name=="'ticket-api'")' - |
        kubeseal > secrets/sealed/base.yaml
    kustomize build secrets/ |
        yq e 'select(.metadata.name=="'ticket-api-db'")' - |
        kubeseal > secrets/sealed/db.yaml
)

Usage

Refer to the main repository.

Upon following those steps, the pods should be running (or about to). An example output with default settings:

$ kubectl get pods
NAME                       READY   STATUS      RESTARTS    ...
ticket-api-XXX-XXX         1/1     Running     0           ...
ticket-api-XXX-XXX         1/1     Running     0           ...
ticket-bridge              1/1     Running     0           ...