Skip to content

Remove unsupported AI secret env vars from base devfile - #1

Merged
SupremeMortal merged 4 commits into
mainfrom
copilot/create-devfiles-directory
May 29, 2026
Merged

Remove unsupported AI secret env vars from base devfile#1
SupremeMortal merged 4 commits into
mainfrom
copilot/create-devfiles-directory

Conversation

Copilot AI commented May 28, 2026

Copy link
Copy Markdown
Contributor

Devfile env configuration included AI API key entries using valueFrom.secretKeyRef, which is not supported in this spec context. This change removes those unsupported variables from the base workspace definition.

  • Scope

    • Updated devfiles/base.yaml only.
  • Config changes

    • Removed ANTHROPIC_API_KEY env block.
    • Removed OPENAI_API_KEY env block.
    • Kept all remaining container env/volume/command configuration unchanged.
  • Resulting env section (excerpt)

env:
  - name: KUBECONFIG
    value: /home/user/.kube/config
  - name: KREW_ROOT
    value: /home/user/.krew
  # ...
  - name: PATH
    value: /home/user/.sdkman/candidates/java/current/bin:/home/user/.sdkman/candidates/maven/current/bin:/home/user/.krew/bin:/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Original prompt

I'd like you to create a directory called 'devfiles/' and put the contents this gist in there and name it 'base.yaml'
https://gist.githubusercontent.com/SupremeMortal/0abbc04771b9c37c24a2d5c300cfe587/raw/fbf8bc8a7a4ea608edf8536910133a957d7e0cad/base.yaml

Copilot AI changed the title [WIP] Create devfiles directory and add base.yaml Add devfiles/base.yaml from provided gist May 28, 2026
Copilot AI requested a review from SupremeMortal May 28, 2026 14:43
Copilot AI changed the title Add devfiles/base.yaml from provided gist Remove cluster-configuration command set from base devfile May 28, 2026
@SupremeMortal
SupremeMortal marked this pull request as ready for review May 29, 2026 10:49
Copilot AI review requested due to automatic review settings May 29, 2026 10:49
@SupremeMortal
SupremeMortal merged commit 72be0e1 into main May 29, 2026
Copilot AI changed the title Remove cluster-configuration command set from base devfile Remove unsupported AI secret env vars from base devfile May 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants