openziti / ziti

The parent project for OpenZiti. Here you will find the executables for a fully zero trust, application embedded, programmable network @OpenZiti
https://openziti.io
Apache License 2.0
2.68k stars 153 forks source link

@{serviceName} not removed from SERP's service role attributes field when {serviceName} is deleted #168

Closed qrkourier closed 4 years ago

qrkourier commented 4 years ago
❯ ziti edge version
Version     : v0.15.2
GIT revision: 2d886ff19c7a
Build Date  : 2020-07-21 15:16:47
Runtime     : go1.14.6

❯ ziti version
NAME             VERSION
ziti             v0.15.2
ziti-controller  v0.15.2
ziti-enroller    v0.15.2
ziti-fabric      v0.15.2
ziti-fabric-gw   v0.15.2
ziti-fabric-test v0.15.2
ziti-proxy       0.6.0-16
ziti-prox-c      0.15.2-145
ziti-router      v0.15.2
ziti-tunnel      v0.15.2
plorenz commented 4 years ago

I was unable to reproduce this. Please re-open with instructions on how to reproduce if this is still a problem.

plorenz@carrot:~/work/nf$ ziti edge create service name-test
X9QFLFdGg

plorenz@carrot:~/work/nf$ ziti edge create service-policy delete-test-policy Dial --service-roles '@name-test' --identity-roles '#all'
XJ7cLFdMR

plorenz@carrot:~/work/nf$ ziti edge list service-policies 'name="delete-test-policy"'
id: XJ7cLFdMR    name: delete-test-policy    type: Dial    service roles: [@name-test]    identity roles: [#all]
results: 1-1 of 1

plorenz@carrot:~/work/nf$ ziti edge delete service name-test

plorenz@carrot:~/work/nf$ ziti edge list services 'name="name-test"'
results: none

plorenz@carrot:~/work/nf$ ziti edge list service-policies 'name="delete-test-policy"'
id: XJ7cLFdMR    name: delete-test-policy    type: Dial    service roles: []    identity roles: [#all]
results: 1-1 of 1