TykTechnologies / tyk-charts

Mozilla Public License 2.0
22 stars 16 forks source link

TT-8812 tyk-oss should have an option to generate a k8s secret for the Tyk Operator #66

Closed zalbiraw closed 4 months ago

zalbiraw commented 1 year ago

tyk-oss should have an option to generate a k8s secret for the Tyk Operator

work around:

kubectl create secret generic tyk-operator-conf \
  --from-literal="TYK_MODE=ce" \
  --from-literal="TYK_URL=http://gateway-svc-$tykReleaseName-$chart.$namespace.svc:443" \
  --from-literal="TYK_AUTH=$(kubectl get secrets -n "$namespace" "secrets-$tykReleaseName-$chart" -o jsonpath="{.data.APISecret}" | base64 -d)" \
  --from-literal="TYK_ORG=tyk"
komalsukhani commented 4 months ago

@zalbiraw This is resolved in #272. It should be part of our latest release.