Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNOW-1486596: Add support for --stdin for SPCS spec path #1210

Open
kameshsampath opened this issue Jun 17, 2024 · 0 comments
Open

SNOW-1486596: Add support for --stdin for SPCS spec path #1210

kameshsampath opened this issue Jun 17, 2024 · 0 comments
Labels
enhancement New feature or request spcs

Comments

@kameshsampath
Copy link

Description

As a developer creating SPCS service, I would like to pass the spec YAML using heredoc. Since other commands e.g. snow sql supporting SQL it will be consistent and nice to have the same with SPCS and other commands where we pass file parameter.

e.g.

cat <<EOF |
snow spcs service create foo  --family --spec-stdin
spec:
  containers:
    - name: nginx
      image: /CHEATSHEETS_DB/DATA_SCHEMA/my_image_repository/nginx
      readinessProbe:
        port: 80
        path: /
  endpoints:
    - name: nginx
      port: 80
      public: true
EOF

Context

SPCS service create

@github-actions github-actions bot changed the title Add support for --stdin for SPCS spec path SNOW-1486596: Add support for --stdin for SPCS spec path Jun 17, 2024
@sfc-gh-pczajka sfc-gh-pczajka added the enhancement New feature or request label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request spcs
Projects
None yet
Development

No branches or pull requests

3 participants