Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing envFrom to allow configure all key-value pairs in a ConfigMap as Pod environment variables #78

Closed
odedpriva opened this issue Oct 22, 2017 · 7 comments

Comments

@odedpriva
Copy link

Hi there,

Configure all key-value pairs in a ConfigMap as Pod environment variables was added in k8s 1.6 using envFrom configuration in container spec, it seems that this option is missing from terraform k8s provider.

this example was taken from here

apiVersion: v1
kind: Pod
metadata:
  name: dapi-test-pod
spec:
  containers:
    - name: test-container
      image: gcr.io/google_containers/busybox
      command: [ "/bin/sh", "-c", "env" ]
      envFrom:
      - configMapRef:
          name: special-config
  restartPolicy: Never
@pdecat
Copy link
Contributor

pdecat commented Oct 26, 2017

Need it too ;) I'm working on it now, PR incoming.

@ivantorrellas
Copy link

I need this too, how can I set configMap values in a terraform kubernetes_pod resource ??

@nblakely731
Copy link

Any updates on this issue? Currently have a project that requires envFrom.

@andre-brongniart
Copy link

+1

@walterdolce
Copy link

Looking forward to see this merged and released!

@ltomes
Copy link

ltomes commented Nov 2, 2018

Is this now supported? I see env_from in the documentation at this point.

Edit: I see it's referenced above, I missed that on my first read.

@ghost
Copy link

ghost commented May 22, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators May 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants