Skip to content

existingSecret

Cesar Celis Hernandez edited this page Mar 19, 2024 · 9 revisions
createcluster nodeport
installoperator withhelm
k create namespace tenant-ns
apiVersion: v1
data:
  config.env: ZXhwb3J0IE1JTklPX1JPT1RfVVNFUj0ibWluaW8iCmV4cG9ydCBNSU5JT19ST09UX1BBU1NXT1JEPSJtaW5pbzMyMSI=
kind: Secret
metadata:
  annotations:
    meta.helm.sh/release-name: tenant-ns
    meta.helm.sh/release-namespace: tenant-ns
  creationTimestamp: "2024-03-19T19:37:21Z"
  labels:
    app.kubernetes.io/managed-by: Helm
  name: random-env-configuration
  namespace: tenant-ns
  resourceVersion: "845"
  uid: aaf20d77-8df3-4ade-b00f-4611e0245aeb
type: Opaque


k apply -f secret.yaml
# To install tenant via Helm:
function installtenanthelmexistingsecret() {
    helm install \
      --namespace tenant-ns \
      --create-namespace tenant-ns \
      /Users/cniackz/bash-config/config-files/helm/Tenant/helm-tenant-5.0.9-existingSecret
}

installtenanthelmexistingsecret
Clone this wiki locally