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

feat: Add admission-webhook-k8s deployment and example #730

Conversation

denis-tingaikin
Copy link
Member

Signed-off-by: Denis Tingaikin [email protected]

Motivation

Closes #481

@denis-tingaikin denis-tingaikin force-pushed the add-admission-webhook-deployments branch from f5f152d to 1d833b1 Compare April 7, 2021 19:29
- name: NSM_ANNOTATION
value: networkservicemesh.io
- name: NSM_CONTAINER_IMAGES
value: networkservicemeshci/cmd-nsc:281975be
Copy link
Member Author

Choose a reason for hiding this comment

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

Note: this will be updated automatically by NSMBot.

- name: NSM_CONTAINER_IMAGES
value: networkservicemeshci/cmd-nsc:281975be
- name: NSM_INIT_CONTAINER_IMAGES
value: networkservicemeshci/cmd-nsc-init:master
Copy link
Member Author

Choose a reason for hiding this comment

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

Note: this will be updated automatically by NSMBot.

serviceAccount: admission-webhook-sa
containers:
- name: admission-webhook-k8s
image: networkservicemeshci/cmd-admission-webhook-k8s:master
Copy link
Member Author

Choose a reason for hiding this comment

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

Note: this will be updated automatically by NSMBot.


11. Try to connect from alpine to database from postgresql service:
```bash
kubectl exec ${NSC} -n ${NAMESPACE} -c alpine -- sh -c 'PGPASSWORD=admin psql -h 172.16.1.100 -p 5432 -U admin test'
Copy link
Member Author

@denis-tingaikin denis-tingaikin Apr 7, 2021

Choose a reason for hiding this comment

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

Note: this will be failed if NSM will not provide connectivity for alpine pod.

Signed-off-by: Denis Tingaikin <[email protected]>
@denis-tingaikin denis-tingaikin marked this pull request as ready for review April 7, 2021 19:33
@edwarnicke edwarnicke merged commit 3509653 into networkservicemesh:main Apr 7, 2021
nsmbot pushed a commit that referenced this pull request May 21, 2024
…d-forwarder-sriov@main

PR link: networkservicemesh/cmd-forwarder-sriov#730

Commit: 08b3306
Author: Network Service Mesh Bot
Date: 2024-05-21 06:02:43 -0500
Message:
  - Sync files with networkservicemesh/cmd-template (#730)
This PR syncs files with https://github.com/networkservicemesh/cmd-template
Revision: https://github.com/networkservicemesh/cmd-template/commits/7369b5fd24fe89c8021d5dcf3f5aea3393a64805
commit 7369b5fd24fe89c8021d5dcf3f5aea3393a64805
Author: Nikita Skrynnik <[email protected]>
Date:   Tue Apr 23 20:12:10 2024 +0700
    Delete check-release-branch job from release workflow (#130)
    * Delete check-release-branch job from release workflow
    Signed-off-by: NikitaSkrynnik <[email protected]>
    * minor fixes
    Signed-off-by: NikitaSkrynnik <[email protected]>
      ---------
    Signed-off-by: NikitaSkrynnik <[email protected]>
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit that referenced this pull request Oct 18, 2024
…d-nsc-vpp@main

PR link: networkservicemesh/cmd-nsc-vpp#730

Commit: 47cb618
Author: Network Service Mesh Bot
Date: 2024-10-18 04:36:58 -0500
Message:
  - Update go.mod and go.sum to latest version from networkservicemesh/sdk-vpp@main (#730)
PR link: networkservicemesh/sdk-vpp#865
Commit: e372dce
Author: Network Service Mesh Bot
Date: 2024-10-17 18:58:32 -0500
Message:
    - Update go.mod and go.sum to latest version from networkservicemesh/sdk-kernel@main (#865)
PR link: networkservicemesh/sdk-kernel#693
Commit: 3e29bf1
Author: Network Service Mesh Bot
Date: 2024-10-17 18:54:50 -0500
Message:
        - Update go.mod and go.sum to latest version from networkservicemesh/sdk@main (#693)
PR link: networkservicemesh/sdk#1685
Commit: a17a4fe
Author: dependabot[bot]
Date: 2024-10-17 19:52:26 -0400
Message:
                - Bump golang.org/x/net from 0.21.0 to 0.23.0 (#1685)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.21.0 to 0.23.0.
- [Commits](golang/net@v0.21.0...v0.23.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: NSMBot <[email protected]>
nsmbot added a commit that referenced this pull request Oct 18, 2024
…d-nsc-vpp@main (#12469)

PR link: networkservicemesh/cmd-nsc-vpp#730

Commit: 47cb618
Author: Network Service Mesh Bot
Date: 2024-10-18 04:36:58 -0500
Message:
  - Update go.mod and go.sum to latest version from networkservicemesh/sdk-vpp@main (#730)
PR link: networkservicemesh/sdk-vpp#865
Commit: e372dce
Author: Network Service Mesh Bot
Date: 2024-10-17 18:58:32 -0500
Message:
    - Update go.mod and go.sum to latest version from networkservicemesh/sdk-kernel@main (#865)
PR link: networkservicemesh/sdk-kernel#693
Commit: 3e29bf1
Author: Network Service Mesh Bot
Date: 2024-10-17 18:54:50 -0500
Message:
        - Update go.mod and go.sum to latest version from networkservicemesh/sdk@main (#693)
PR link: networkservicemesh/sdk#1685
Commit: a17a4fe
Author: dependabot[bot]
Date: 2024-10-17 19:52:26 -0400
Message:
                - Bump golang.org/x/net from 0.21.0 to 0.23.0 (#1685)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.21.0 to 0.23.0.
- [Commits](golang/net@v0.21.0...v0.23.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: NSMBot <[email protected]>
Co-authored-by: NSMBot <[email protected]>
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.

Apply Web admissions controller to deployments-K8s
2 participants