Skip to content

IkramBagban/gitops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cheatsheet

Ingress

  • Add the ingress-nginx chart
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update
helm install nginx-ingress ingress-nginx/ingress-nginx --namespace ingress-nginx --create-namespace
  • Check if you have pods running in the
 kubectl get pods -n ingress-nginx

Sealed Secret

  1. Add the Sealed Secrets Helm Chart Repo (if haven't added it yet):

    helm repo add sealed-secrets https://bitnami-labs.github.io/sealed-secrets
    helm repo update
  2. Install the Sealed Secrets Controller using Helm:

    helm install sealed-secrets sealed-secrets/sealed-secrets --namespace kube-system

    This installs the Sealed Secrets controller in the kube-system namespace.

  3. kubeseal command to encrypt the secret:

cat secret.yaml | kubeseal --controller-namespace kube-system --controller-name sealed-secrets-controller --format yaml > sealed-secret.yaml
  1. Verify

    kubectl get secret db-secret -n kube-system
  2. See Secret

    kubectl get secrets
    kubectl get secret DATABASE_URL -o json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •