Comments (5)
This should be doable, as long as all three commands (grant
, configure
, revoke
) are updated to support this semantic. Right now configure
and revoke
use that name in some capacity to uniquely identify that secret.
On another note, does flux support looking up the secret by labels? We attach the label gruntwork.io/tiller-entity-id
and gruntwork.io/tiller-namespace
that you can use to look up the Secrets using more friendly strings.
from kubergrunt.
Let's keep this open since I think it is a valid enhancement to make. With that said, this whole functionality will be deprecated soon once helm 3 reaches GA :)
from kubergrunt.
I took a look at the code and figured it was md5 hashed number of service account name so I'm currently had success getting the name using the following
flux_namespace_sa = "${var.tiller_namespace}.${local.flux_service_account}"
tls_client_secret_name = "tiller-client-${md5(local.flux_namespace_sa)}-certs"
Note that both flux/tiller is being deployed in the same namespace to be able to mount secrets.
from kubergrunt.
Hi @yorinasub17 sorry for not getting back earlier, currently flux helm chart only able to get certs by secret name, I'm using the workaround which works well for me
tls_client_secret_name = "tiller-client-${md5(local.flux_namespace_sa)}-certs"
if you prefer the issue to be closed, that's fine by me.
Thanks for your help
from kubergrunt.
Helm features are removed, so this is no longer relevant.
from kubergrunt.
Related Issues (20)
- Allow kubergrunt to continue even when it can't verify load balancer state.
- Add debug logs if kubergrunt cannot access Kubernetes cluster HOT 1
- Add support for 1.25 and drop support of 1.21
- Document a list of kubergrunt versions compatible with k8s versions
- Support for new regions: ECR repo HOT 1
- Update dependencies in kubergrunt
- eks 1.26 support for kubergrunt
- EKS has released k8s 1.27 support. Update kubergrunt to support it and remove 1.22
- MacOS issue with signing key
- Update kubergrunt ver in readme
- About the latest release HOT 2
- kubergrunt EKS 1.24 core components are not up to date
- kubergrunt eks deploy - unrecognized loadbalancer annotation
- Add support for EKS 1.28
- Kubergrunt eks sync-core-components Error-message. Code: TOO_MANY_EKS_BUILD_TAGS HOT 2
- Error deploying coredns v1.9.0-eksbuild.7 in EKS Fargate HOT 2
- CoreDNS on Fargate stuck in pending state
- Add Support for EKS 1.29
- Error Code: TOO_MANY_EKS_BUILD_TAGS HOT 8
- Add Kubergrunt Version Support Table to Docs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubergrunt.