Skip to content

adds reusable work flow on dev for generating config map#33

Merged
Sahil-STFC merged 2 commits into
mainfrom
#32-Create-reusable-workflows-for-generating-configmaps
Jun 11, 2026
Merged

adds reusable work flow on dev for generating config map#33
Sahil-STFC merged 2 commits into
mainfrom
#32-Create-reusable-workflows-for-generating-configmaps

Conversation

@Sahil-STFC

Copy link
Copy Markdown
Contributor

closes: #32

Comment on lines +19 to +20
description: >
The key under which the file content appears in ConfigMap .data.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not sure why only this one is folded but I guess it doesn't matter.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

some descriptions use single quotes, some use double quotes
I guess couldn't hurt to make the formatting more consistent?

jobs:
generate-configmap::
name: Generate & Commit ConfigMap
runs-on: ${{ inputs.runner_label }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I still think we should use GitHubs public runners. And use the azure/setup-kubetcl / install kubectl as part of the workflow.

However we have kubectl on the self hosted runners now so it will work.

Comment on lines +111 to +113
echo "ConfigMap name : ${CM}"
echo "Namespace : ${NS}"
echo "Data key : ${KEY}"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not sure if this is GH displaying it oddly, but this looks like it is being interpreted differently to the rest of the run: | block..

@Sahil-STFC Sahil-STFC merged commit 7278b3d into main Jun 11, 2026
@Sahil-STFC Sahil-STFC deleted the #32-Create-reusable-workflows-for-generating-configmaps branch June 11, 2026 08:55
@Sahil-STFC Sahil-STFC restored the #32-Create-reusable-workflows-for-generating-configmaps branch June 11, 2026 13:05
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.

Create reusable workflows for generating configmaps

4 participants