Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(examples): update devcontainer-{docker,kubernetes} to use computed env#14328

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
johnstcn merged 2 commits intomainfromcj/examples/devcontainer-computed-env
Aug 20, 2024

Conversation

johnstcn
Copy link
Member

@johnstcnjohnstcn commentedAug 16, 2024
edited
Loading

Relates to#13278

@johnstcnjohnstcn self-assigned thisAug 16, 2024
# You could alternatively write the environment variables to a ConfigMap or Secret
# and use that as `env_from`.
dynamic"env" {
for_each=nonsensitive(var.cache_repo==""? local.envbuilder_env: envbuilder_cached_image.cached.0.env_map)
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

review: apparently this is required to be able tofor_each over amap 🤔

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This makes sense sinceresource "envbuilder_cached_image" "cached" has count set to 1.

@johnstcnjohnstcn changed the titlechore(exmaples): update devcontainer-{docker,kubernetes} to use computed envchore(examples): update devcontainer-{docker,kubernetes} to use computed envAug 16, 2024
Copy link
Member

@mafredrimafredri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Nice cleanup!

@johnstcnjohnstcn merged commit40baa5b intomainAug 20, 2024
@johnstcnjohnstcn deleted the cj/examples/devcontainer-computed-env branchAugust 20, 2024 09:47
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 20, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@matifalimatifalimatifali left review comments

@mafredrimafredrimafredri approved these changes

@dannykoppingdannykoppingAwaiting requested review from dannykopping

Assignees

@johnstcnjohnstcn

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@johnstcn@mafredri@matifali

[8]ページ先頭

©2009-2025 Movatter.jp