Skip to content

Conversation

soharab-ic
Copy link
Contributor

@soharab-ic soharab-ic commented Sep 30, 2024

Description

  • Added deprecation warning for cross namespace parameters builderNamespace, functionNamespace and disableOwnerReference flag.
  • The warning will be visible when user installs or upgrades fission and these parameters are set.

Which issue(s) this PR fixes:

Fixes #

Testing

NAME: fission
LAST DEPLOYED: Mon Sep 30 12:47:06 2024
NAMESPACE: fission
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
WARNING: The 'builderNamespace' parameter is deprecated and will be removed in future release.
WARNING: The 'functionNamespace' parameter is deprecated and will be removed in future release.
WARNING: The 'disableOwnerReference' flag is temporary addition and will be removed in future release.

1. Install the client CLI.

Mac:
  $ curl -Lo fission https://github.com/fission/fission/releases/download/v1.20.4/fission-v1.20.4-darwin-amd64 && chmod +x fission && sudo mv fission /usr/local/bin/

Linux:
  $ curl -Lo fission https://github.com/fission/fission/releases/download/v1.20.4/fission-v1.20.4-linux-amd64 && chmod +x fission && sudo mv fission /usr/local/bin/

Windows:
  For Windows, you can use the linux binary on WSL. Or you can download this windows executable: https://github.com/fission/fission/releases/download/v1.20.4/fission-v1.20.4-windows-amd64.exe

2. You're ready to use Fission!
  You can create fission resources in the namespace "default"

  # Create an environment
  $ fission env create --name nodejs --image fission/node-env --namespace default

  # Get a hello world
  $ curl https://raw.githubusercontent.com/fission/examples/master/nodejs/hello.js > hello.js

  # Register this function with Fission
  $ fission function create --name hello --env nodejs --code hello.js --namespace default

  # Run this function
  $ fission function test --name hello --namespace default
  Hello, world!

Checklist:

  • I ran tests as well as code linting locally to verify my changes.
  • I have done manual verification of my changes, changes working as expected.
  • I have added new tests to cover my changes.
  • My changes follow contributing guidelines of Fission.
  • I have signed all of my commits.

…, `functionNamespace`

and `disableOwnerReference` flag.

Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io>
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io>
@sanketsudake sanketsudake merged commit 2f8ad16 into main Sep 30, 2024
6 checks passed
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.

2 participants