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

Exclude name feature: The status of a csib shows the number of nimbus policies as zero #206

Open
shivaccuknox opened this issue Jul 1, 2024 · 0 comments
Labels

Comments

@shivaccuknox
Copy link
Contributor

$ kg csib
NAME          STATUS    AGE   INTENTS   NIMBUSPOLICIES   CLUSTERNIMBUSPOLICY
pet-binding   Created   5s    1                          pet-binding

Where as the yaml of the csib shows the number correctly

apiVersion: v1
items:
- apiVersion: intent.security.nimbus.com/v1alpha1
  kind: ClusterSecurityIntentBinding
  metadata:
    annotations:
      kubectl.kubernetes.io/last-applied-configuration: |
        {"apiVersion":"intent.security.nimbus.com/v1alpha1","kind":"ClusterSecurityIntentBinding","metadata":{"annotations":{},"name":"pet-binding"},"spec":{"intents":[{"name":"pet"}],"selector":{"nsSelector":{"matchNames":["*"]},"workloadSelector":{"matchLabels":{"nf":"webui"}}}}}
    creationTimestamp: "2024-07-01T06:20:33Z"
    generation: 1
    name: pet-binding
    resourceVersion: "2152553"
    uid: 23a82419-d2db-416d-a8e3-df623def9b2c
  spec:
    intents:
    - name: pet
    selector:
      nsSelector:
        matchNames:
        - '*'
      workloadSelector:
        matchLabels:
          nf: webui
  status:
    boundIntents:
    - pet
    clusterNimbusPolicy: pet-binding
    lastUpdated: "2024-07-01T06:20:34Z"
    nimbusPolicyNamespaces:
    - nimbus
    - porch-system
    - capi-system
    - resource-group-system
    - metallb-system
    - capd-system
    - local-path-storage
    - default
    - nephio-webui
    - porch-fn-system
    - capi-kubeadm-bootstrap-system
    - capi-kubeadm-control-plane-system
    - nephio-system
    - backend-system
    - kube-public
    - cert-manager
    - kube-node-lease
    - config-management-system
    - free5gc-cp
    - network-config
    - config-management-monitoring
    - gitea
    - kubearmor
    - kyverno
    numberOfBoundIntents: 1
    numberOfNimbusPolicies: 24
    status: Created
@shivaccuknox shivaccuknox self-assigned this Jul 1, 2024
@nandhued nandhued added this to NIMBUS Jul 8, 2024
@nandhued nandhued moved this to 📋 Backlog in NIMBUS Jul 8, 2024
@nandhued nandhued moved this from 📋 Backlog to 🏗 In progress in NIMBUS Jul 8, 2024
@nandhued nandhued moved this from 🏗 In progress to 👀 In review in NIMBUS Jul 8, 2024
@nandhued nandhued moved this from 👀 In review to ✅ Done in NIMBUS Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: ✅ Done
Development

No branches or pull requests

1 participant