Helm/External Secrets Operator: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 87: Line 87:


|valign='top'|
|valign='top'|
|}
==Helm » Config==
{|class='wikitable mw-collapsible mw-collapsed'
!scope='col' style='text-align:left' colspan='2'|
Helm » Config
|-
!scope='col' style='width:50%'| Scale » Down
!scope='col' style='width:50%'| Scale » Up
|-
|valign='top'|
<syntaxhighlight lang='bash'>
kubectl -n=external-secrets-operator-system \
scale deploy/eso --replicas=0
</syntaxhighlight>
|valign='top'|
<syntaxhighlight lang='bash'>
kubectl -n=external-secrets-operator-system \
scale deploy/eso --replicas=1
</syntaxhighlight>
|-
|valign='top'|
<syntaxhighlight lang='bash'>
kubectl -n=external-secrets-operator-system \
scale deploy/eso-webhook --replicas=0
</syntaxhighlight>
|valign='top'|
<syntaxhighlight lang='bash'>
kubectl -n=external-secrets-operator-system \
scale deploy/eso-webhook --replicas=1
</syntaxhighlight>
|-
|valign='top'|
<syntaxhighlight lang='bash'>
kubectl -n=external-secrets-operator-system \
scale deploy/eso-cert-controller --replicas=0
</syntaxhighlight>
|valign='top'|
<syntaxhighlight lang='bash'>
kubectl -n=external-secrets-operator-system \
scale deploy/eso-cert-controller --replicas=1
</syntaxhighlight>
|}
|}



Revision as of 08:06, 23 January 2026

helm repo add external-secrets https://charts.external-secrets.io
helm repo update && helm repo list
kubectl config get-contexts

Helm » Context

Helm » Context

export KUBECONFIG="${HOME}/.kube/aws-kubeconfig.yaml"
export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml"
export KUBECONFIG="${HOME}/.kube/lke-kubeconfig.yaml"
export KUBECONFIG="${HOME}/.kube/config"

Helm » Install

Helm » Install

helm show   values external-secrets/external-secrets --version=1.2.0|less
helm show   values external-secrets/external-secrets --version=1.2.1|less
export KUBECONFIG="${HOME}/.kube/shahed-ab-kubeconfig.yaml"
kubectl create ns   external-secrets-operator-system || true
kubectl get ns|grep external-secrets-operator-system
kubectl delete ns   external-secrets-operator-system || true
Install Notes
cat <<'YML' | \
helm -n=external-secrets-operator-system upgrade \
-i eso  external-secrets/external-secrets --version=1.2.1 -f -
---
installCRDs: true
nameOverride: eso
fullnameOverride: eso

replicaCount: 1
revisionHistoryLimit: 5
image:
  repository: ghcr.io/external-secrets/external-secrets
  tag: v1.2.1

webhook:
  replicaCount: 1
  revisionHistoryLimit: 5
  image:
    repository: ghcr.io/external-secrets/external-secrets
    tag: v1.2.1
YML
Verify
helm -n=external-secrets-operator-system status          eso
helm -n=external-secrets-operator-system get    manifest eso

Helm » Config

Helm » Config

Scale » Down Scale » Up
kubectl -n=external-secrets-operator-system \
scale deploy/eso --replicas=0
kubectl -n=external-secrets-operator-system \
scale deploy/eso --replicas=1
kubectl -n=external-secrets-operator-system \
scale deploy/eso-webhook --replicas=0
kubectl -n=external-secrets-operator-system \
scale deploy/eso-webhook --replicas=1
kubectl -n=external-secrets-operator-system \
scale deploy/eso-cert-controller --replicas=0
kubectl -n=external-secrets-operator-system \
scale deploy/eso-cert-controller --replicas=1

References

References