Skip to content

feat: add init.sh post-initialization script#157

Closed
boxcee-interview wants to merge 1 commit intocrossplane:mainfrom
boxcee-interview:fix/issue-88-add-init-script
Closed

feat: add init.sh post-initialization script#157
boxcee-interview wants to merge 1 commit intocrossplane:mainfrom
boxcee-interview:fix/issue-88-add-init-script

Conversation

@boxcee-interview
Copy link
Copy Markdown

Add a post-initialization script that replaces all instances of
function-template-python with the user's function name in:

  • package/crossplane.yaml (the Function resource name)
  • example/*.yaml (example function references)

This enables the Crossplane CLI's xpkg init command to properly
initialize the template by running the init.sh hook automatically.

Closes #88

Add a post-initialization script that replaces all instances of
function-template-python with the user's function name in:
- package/crossplane.yaml (the Function resource name)
- example/*.yaml (example function references)

This enables the Crossplane CLI's xpkg init command to properly
initialize the template by running the init.sh hook automatically.

Fixes crossplane#88

Signed-off-by: Moritz Schmitz von Hülst <moritz@schmitzvonhuelst.de>
@boxcee-interview boxcee-interview force-pushed the fix/issue-88-add-init-script branch from 5fac6a6 to e467bd2 Compare April 29, 2026 07:04
@boxcee-interview
Copy link
Copy Markdown
Author

Superseded by #158 with corrected commit identity (DCO sign-off email).

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.

missing Post-initialization hooks for init commands

2 participants