Allow LPP to read helper logs (#9834)

Signed-off-by: Thomas Anderson <127358482+zc-devs@users.noreply.github.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
This commit is contained in:
Thomas Anderson 2024-03-30 02:01:10 +03:00 committed by Brad Davidson
parent 3f906bee79
commit c59820a52a
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ metadata:
name: local-path-provisioner-role
rules:
- apiGroups: [""]
resources: ["nodes", "persistentvolumeclaims", "configmaps"]
resources: ["nodes", "persistentvolumeclaims", "configmaps", "pods/log"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["endpoints", "persistentvolumes", "pods"]

View File

@ -132,7 +132,7 @@ func corednsYaml() (*asset, error) {
return a, nil
}
var _localStorageYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x56\x51\x6f\xdb\x38\x12\x7e\xd7\xaf\x98\xd3\x35\x0f\x77\x28\xed\xe4\x0e\x68\x16\x2c\xf6\xc1\x4d\x9c\x34\x40\x62\x1b\xb6\xdb\x45\x51\x14\x06\x2d\x8d\x6d\x36\x14\x49\x90\x94\x5b\x35\x9b\xff\xbe\x20\x29\x3b\x92\xe3\x26\x0e\x76\xf7\x6d\xf5\x22\x70\x38\xdf\xcc\xf0\x9b\x19\x0e\x99\xe6\x1f\xd1\x58\xae\x24\x85\xf5\x49\x72\xcb\x65\x4e\x61\x82\x66\xcd\x33\xec\x65\x99\x2a\xa5\x4b\x0a\x74\x2c\x67\x8e\xd1\x04\x40\xb2\x02\x29\x08\x95\x31\x41\x34\x73\x2b\xa2\x8d\x5a\x73\x8f\x47\x43\x6c\xc4\x11\x56\x03\xa3\xba\xd5\x2c\x43\x0a\xb7\xe5\x1c\x89\xad\xac\xc3\x22\x21\x84\x24\x4d\xcf\x66\xce\xb2\x0e\x2b\xdd\x4a\x19\xfe\x83\x39\xae\x64\xe7\xf6\x17\xdb\xe1\xaa\xbb\x8d\xe9\x4c\x94\xd6\xa1\x19\x2b\x81\x87\x07\x64\xbc\xb6\x29\x05\x5a\x9a\x10\x60\x9a\x5f\x1a\x55\x6a\x4b\xe1\x73\x9a\x7e\x49\x00\x0c\x5a\x55\x9a\x0c\x83\x44\xaa\x1c\x6d\xfa\x1a\x52\xed\xc3\xb2\x0e\xa5\x5b\x2b\x51\x16\x98\x09\xc6\x8b\xb0\x93\x29\xb9\xe0\xcb\x82\x69\x1b\xe0\x6b\x34\xf3\x00\x5d\xa2\xf3\xdb\x82\xdb\xf0\xff\xc6\x5c\xb6\x4a\xbf\x3c\xef\x12\x65\xae\x15\x97\x6e\xaf\xdb\x28\x54\xf9\x8e\xaf\xff\x1e\x64\x78\x8d\xde\x6a\x0b\x98\x19\x64\x0e\x83\xd1\xfd\xf1\x59\xa7\x0c\x5b\x62\x4d\xfd\x63\xa3\xf5\x7e\x26\x98\xb5\x78\x20\x03\x7f\x2a\xd1\xef\xb8\xcc\xb9\x5c\x1e\x9e\xef\x39\x97\x79\xe2\x93\x3e\xc6\x85\x57\xde\x1c\xef\x09\xc7\x09\xc0\xe3\x02\x3b\xa4\xac\x6c\x39\xff\x8a\x99\x0b\x95\xb5\xb7\x6d\xfe\xae\x66\x61\x5a\xdb\x07\xba\xce\x51\x0b\x55\x15\xf8\x82\x3e\xfd\xb9\x2b\xab\x31\xa3\x21\xed\x51\xf7\x3d\xf7\x39\xaf\xae\x79\xc1\x1d\x85\xe3\x04\xc0\x3a\xc3\x1c\x2e\x2b\xaf\x05\xe0\x2a\x8d\x14\xc6\x4a\x08\x2e\x97\x1f\x74\xce\x1c\x06\xb9\x69\x4a\xa2\x2a\x40\xc1\xbe\x7f\x90\x6c\xcd\xb8\x60\x73\x81\x14\x4e\xbc\x39\x14\x98\x39\x65\xa2\x4e\xe1\xab\xe6\x9a\xcd\x51\xd8\x0d\x88\x69\xfd\xc4\x31\x1c\x16\x5a\x6c\x5d\x34\xcf\xef\x3f\xd1\xb2\xf4\x9c\x2d\x80\xcd\xe9\xfd\xa7\x0d\x57\x86\xbb\xea\xcc\x17\xfb\x20\x90\x99\x46\x92\x88\xbf\x27\x48\x66\xb8\xe3\x19\x13\x69\xad\x6f\x5b\xb9\x1f\xbc\x2c\xf1\x81\x4a\x25\xd0\x84\xc2\x6c\x44\x0c\x40\xe0\x16\x2b\x0a\xe9\x59\xed\xaf\x97\xe7\x4a\xda\xa1\x14\x55\xda\xd0\x02\x50\xda\xa3\x95\xa1\x90\xf6\xbf\x73\xeb\x6c\xba\xc7\x48\x88\xdc\x17\x6f\xc7\x27\xdd\x48\x74\x18\x7a\x2f\x53\xd2\x19\x25\x88\x16\x4c\xe2\x0b\xec\x02\xe0\x62\x81\x99\xa3\x90\x0e\xd4\x24\x5b\x61\x5e\x0a\x7c\x89\xe3\x82\xf9\x96\xfb\xab\x3c\xfa\x63\x30\x2e\xd1\x6c\x19\x24\xcf\xf5\x41\xfc\x78\xc1\x96\x3e\xc1\x47\x77\x93\x4f\x93\x69\xff\x66\x76\xde\xbf\xe8\x7d\xb8\x9e\xce\xc6\xfd\xcb\xab\xc9\x74\xfc\xe9\xfe\xc8\x30\x99\xad\xd0\x74\xf7\x5b\xa2\xeb\xe3\xce\x71\xe7\x7f\x6f\xd2\xb6\xc9\x51\x29\xc4\x48\x09\x9e\x55\x14\xae\x16\x03\xe5\x46\x06\x2d\x6e\x53\xee\x23\x2e\x0a\x26\xf3\x87\x84\x93\xe7\x42\x25\x60\x1d\x33\xae\xb1\x26\x24\x4e\xa5\x86\xa8\x8b\x2e\xeb\x46\x69\xfd\xeb\x7c\xb5\x4a\x6e\x35\xe2\x7c\xb9\xf1\xd5\x67\x9b\xbe\x23\x59\x11\x41\xa2\x52\x83\xfb\xc2\xeb\x8f\x98\x5b\xd1\x96\x83\xad\x06\xca\xf5\x63\x63\xa3\xe1\xf9\x6c\xd0\xbb\xe9\x4f\x46\xbd\xb3\x7e\xc3\xd8\x9a\x89\x12\x2f\x8c\x2a\x68\x2b\xbb\x0b\x8e\x22\xaf\x2f\xef\x47\xf2\xe8\x7b\xd3\xe5\x9d\xed\x1d\x96\x34\x4f\xf5\x82\x03\x45\xf9\x0d\xd3\x6d\x6f\x8f\x4a\xa6\xe6\x77\xf7\x1e\x6e\x8f\xcb\x87\x1b\x79\x12\xe5\xe1\xe6\x78\xf2\x4e\xf6\x03\x4a\x4a\xe5\x9a\x5d\x9f\xe3\x82\x95\xc2\x7d\x0c\xb1\x4e\xc3\xf5\x9a\x06\x44\x2c\xad\xe6\x08\xde\xe9\x25\x6e\x49\x0d\x26\x61\x9b\x42\xea\x4c\x89\x69\xd2\xac\x53\xa8\xeb\xd8\x03\x1a\x81\x44\x6a\xea\x71\x7b\xa3\x72\xa4\xf0\x1b\xe3\xee\x42\x99\x0b\x6e\xac\x3b\x53\xd2\x96\x05\x9a\xc4\xc4\xb7\xd0\xa6\xa6\xcf\x51\xa0\xc3\x40\x4c\x3d\x43\x37\x8c\x26\x3b\xef\xca\x27\x47\xd3\xb6\x7e\x7f\x32\x95\x36\xc0\x46\x29\x53\xf8\x9d\x04\x42\xee\xea\xd4\x85\x2b\xc6\x17\xc8\x0d\xd3\x29\xfd\x5c\x4b\xef\xb6\x89\x0d\xfb\x29\x4d\x37\x9d\x3d\xea\x4d\xdf\xcf\x2e\x86\xe3\xd9\x60\x38\x98\x5d\x5f\x4d\xa6\xfd\xf3\xd9\x60\x78\xde\x9f\xa4\xaf\x1f\x30\x3e\x3a\x9b\xd2\xcf\xe9\xd1\xdd\x06\x77\x3d\x3c\xeb\x5d\xcf\x26\xd3\xe1\xb8\x77\xd9\x0f\x56\xee\x8f\xc2\x4b\xc8\x7f\xf7\xf5\x3f\xae\xef\xc3\x7c\x73\xfe\xf5\x51\x07\xfb\xef\x7f\x75\xe7\x5c\x76\xed\x2a\xac\xbe\xad\xb8\x40\x58\xa2\x53\xda\x59\x48\x0b\x6a\xa9\xa6\x29\x28\x1d\xbb\x3b\x57\x0f\xd7\x04\xb3\x08\xaf\x94\x76\xc0\x65\xab\x54\xf5\x7f\x5a\x4b\x36\xb7\x4a\x94\x2e\xf0\xf0\xeb\xab\xe1\x68\xda\x1b\x5f\xb6\x14\xde\xbe\x6d\x2d\x6d\x1b\x6e\xf9\x0f\xbc\x92\xef\x2a\x87\xf6\x10\x74\xd1\x46\xaf\x95\xf0\x95\xf3\x1c\x12\x2d\xcb\xea\xf3\xc9\xd8\x8c\xc5\x6d\xce\x0d\x90\x02\x8e\x4f\x4f\x4f\x81\x68\x78\x75\xd7\x3c\x48\x24\x35\x5b\x15\x2a\x87\xd3\xe3\xe3\xdd\xdd\x6e\xa7\x13\x1e\x02\xcc\xe4\xea\x9b\xfc\x87\xea\x27\xa9\x36\x05\x10\xb3\xd8\x43\xf0\x0a\x85\x46\x33\x52\x79\xa7\x62\x85\xd8\xb2\xb8\xd3\xc5\x5e\x14\x1b\x7d\xa4\xf2\xbd\x4f\xae\xd8\xdb\xd1\x1a\xd1\xb5\x52\xf3\x5d\xf5\xf3\x19\xbd\x03\x82\x97\xcd\xe5\x82\x1b\xa3\x0c\xe6\x44\xf0\xb9\x61\xa6\x22\xf3\xd2\x56\x73\xf5\x9d\x9e\x74\xfe\xff\xa6\x73\x72\xe8\x60\xfe\x23\x00\x00\xff\xff\x7f\xfc\x8c\xfd\x0f\x0f\x00\x00")
var _localStorageYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x56\xdf\x6f\xdb\xb6\x13\x7f\xd7\x5f\x71\x5f\x7d\x9b\x87\x0d\xa5\x9d\x6c\x40\x33\xb0\xd8\x83\x9b\x38\x69\x80\xc4\x36\x6c\xb7\x43\x51\x14\x06\x2d\x9d\x6d\x36\x14\x49\x90\x94\x5b\x35\xcb\xff\x3e\x90\x94\x1d\x29\x71\x12\x07\xdb\xde\xa6\x17\x81\xe4\xfd\xe2\xe7\x3e\x77\x47\xa6\xf9\x47\x34\x96\x2b\x49\x61\x7d\x94\x5c\x73\x99\x53\x98\xa0\x59\xf3\x0c\x7b\x59\xa6\x4a\xe9\x92\x02\x1d\xcb\x99\x63\x34\x01\x90\xac\x40\x0a\x42\x65\x4c\x10\xcd\xdc\x8a\x68\xa3\xd6\xdc\xeb\xa3\x21\x36\xea\x11\x56\x2b\x46\x71\xab\x59\x86\x14\xae\xcb\x39\x12\x5b\x59\x87\x45\x42\x08\x49\x9a\x9e\xcd\x9c\x65\x1d\x56\xba\x95\x32\xfc\x07\x73\x5c\xc9\xce\xf5\x6f\xb6\xc3\x55\x77\x1b\xd3\x89\x28\xad\x43\x33\x56\x02\xf7\x0f\xc8\x78\x69\x53\x0a\xb4\x34\x21\xc0\x34\x3f\x37\xaa\xd4\x96\xc2\xe7\x34\xfd\x92\x00\x18\xb4\xaa\x34\x19\x86\x1d\xa9\x72\xb4\xe9\x6b\x48\xb5\x0f\xcb\x3a\x94\x6e\xad\x44\x59\x60\x26\x18\x2f\xc2\x49\xa6\xe4\x82\x2f\x0b\xa6\xa3\x9c\xca\x6d\x57\xa8\x65\x30\xb5\x46\x33\x0f\x66\x96\xe8\xfc\xa1\xe0\x36\xfc\xbf\x31\x97\xad\xd2\x2f\xcf\xbb\x47\x99\x6b\xc5\xa5\xdb\x19\xc2\xd6\x5f\xdb\xd7\xcf\x7b\x19\x5e\xa3\xb7\xda\x52\xcc\x0c\x32\x87\xc1\xe8\xee\xf8\xac\x53\x86\x2d\xb1\x4e\xc3\x43\xa3\xf5\x79\x26\x98\xb5\x68\xf7\x43\xe0\x6f\x25\xfd\x1d\x97\x39\x97\xcb\xfd\x73\x3f\xe7\x32\x4f\x3c\x01\xc6\xb8\xf0\xc2\x9b\xeb\x3d\xe1\x38\x01\x78\x48\xb6\x7d\x28\x66\xcb\xf9\x57\xcc\x5c\x60\xd9\xce\x12\xfa\xb7\x0a\x87\x69\x6d\xef\xe0\x3a\x45\x2d\x54\x55\xe0\x0b\x6a\xf6\x71\x57\x56\x63\x46\x43\xda\xa3\xec\x7b\xee\x73\x5e\x5d\xf2\x82\x3b\x0a\x87\x09\x80\x75\x86\x39\x5c\x56\x5e\x0a\xc0\x55\x1a\x29\x8c\x95\x10\x5c\x2e\x3f\xe8\x9c\x39\x0c\xfb\xa6\xb9\x13\x45\x01\x0a\xf6\xfd\x83\x64\x6b\xc6\x05\x9b\x0b\xa4\x70\xe4\xcd\xa1\xc0\xcc\x29\x13\x65\x0a\xcf\x9a\x4b\x36\x47\x61\x37\x4a\x4c\xeb\x27\xae\xe1\xb0\xd0\x62\xeb\xa2\x79\x7f\xff\x89\x96\xa5\xe7\x6c\x01\x6c\x6e\xef\x3f\x6d\xb8\x32\xdc\x55\x27\x9e\xec\x83\x00\x66\x1a\x41\x22\xbe\x67\x90\xcc\x70\xc7\x33\x26\xd2\x5a\xde\xb6\x72\x3f\x78\x59\xe2\x03\x94\x4a\xa0\x09\xc4\x6c\x44\x0c\x40\xe0\x1a\x2b\x0a\xe9\x49\xed\xaf\x97\xe7\x4a\xda\xa1\x14\x55\xda\x90\x02\x50\xda\x6b\x2b\x43\x21\xed\x7f\xe7\xd6\xd9\x74\x87\x91\x10\xb9\x27\x6f\xc7\x27\xdd\x48\x74\x18\x6a\x2f\x53\xd2\x19\x25\x88\x16\x4c\xe2\x0b\xec\x02\xe0\x62\x81\x99\xa3\x90\x0e\xd4\x24\x5b\x61\x5e\x0a\x7c\x89\xe3\x82\xf9\x92\xfb\xa7\x3c\xfa\x6b\x30\x2e\xd1\x6c\x11\x24\xcf\xd5\x41\xfc\x78\xc1\x96\x3e\xc1\x07\x37\x93\x4f\x93\x69\xff\x6a\x76\xda\x3f\xeb\x7d\xb8\x9c\xce\xc6\xfd\xf3\x8b\xc9\x74\xfc\xe9\xf6\xc0\x30\x99\xad\xd0\x74\x77\x5b\xa2\xeb\xc3\xce\x61\xe7\x97\x37\x69\xdb\xe4\xa8\x14\x62\xa4\x04\xcf\x2a\x0a\x17\x8b\x81\x72\x23\x83\x16\xb7\x29\xf7\x11\x17\x05\x93\xf9\x5d\xc2\xc9\x73\xa1\x12\xb0\x8e\x19\xd7\x58\x13\x12\x27\x54\x63\xab\x8b\x2e\xeb\xc6\xdd\xfa\xd7\xf9\x6a\x95\xdc\x4a\xc4\xf9\x72\xe5\xd9\x67\x9b\xbe\x23\x58\x51\x83\x44\xa1\x06\xf6\x85\x97\x1f\x31\xb7\xa2\x2d\x07\x5b\x09\x94\xeb\x87\xc6\x46\xc3\xd3\xd9\xa0\x77\xd5\x9f\x8c\x7a\x27\xfd\x86\xb1\x35\x13\x25\x9e\x19\x55\xd0\x56\x76\x17\x1c\x45\x5e\x37\xef\x07\xfb\xd1\xf7\xa6\xca\x3b\xdb\x1e\x96\x34\x6f\xf5\x82\x0b\xc5\xfd\x2b\xa6\xdb\xde\x1e\x50\xa6\xc6\xf7\x7e\x1f\x6e\x8f\xcb\xbb\x8e\x3c\x89\xfb\xa1\x73\x3c\xd9\x93\xfd\x80\x92\x52\xb9\x66\xd5\xe7\xb8\x60\xa5\x70\x1f\x43\xac\xd3\xd0\x5e\xd3\xa0\x11\xa9\xd5\x1c\xc1\xf7\x6a\x89\x5b\x52\x2b\x93\x70\x4c\x21\x75\xa6\xc4\x34\x69\xf2\x14\x6a\x1e\x7b\x85\x46\x20\x11\x9a\x7a\xdc\x5e\xa9\x1c\x29\xfc\xc1\xb8\x3b\x53\xe6\x8c\x1b\xeb\x4e\x94\xb4\x65\x81\x26\x31\xf1\x5d\xb4\xe1\xf4\x29\x0a\x74\x18\x80\xa9\x67\xe8\x06\xd1\xe4\xde\x1b\xf3\xc9\xd1\xb4\xe5\xef\x23\x53\x69\xa3\xd8\xa0\x32\x85\x3f\x49\x00\xe4\xa6\x4e\x5d\x68\x31\x9e\x20\x57\x4c\xa7\xf4\x73\xbd\x7b\xb3\x4d\x6c\x38\x4f\x69\xba\xa9\xec\x51\x6f\xfa\x7e\x76\x36\x1c\xcf\x06\xc3\xc1\xec\xf2\x62\x32\xed\x9f\xce\x06\xc3\xd3\xfe\x24\x7d\x7d\xa7\xe3\xa3\xb3\x29\xfd\x9c\x1e\xdc\x6c\xf4\x2e\x87\x27\xbd\xcb\xd9\x64\x3a\x1c\xf7\xce\xfb\xc1\xca\xed\x41\x78\x09\xf9\xef\xb6\xfe\xc7\xf5\x6d\x98\x6f\xce\xbf\x3e\xea\x60\xff\xff\xbf\xee\x9c\xcb\xae\x5d\x85\xd5\xb7\x15\x17\x08\x4b\x74\x4a\x3b\x0b\x69\x41\x2d\xd5\x34\x05\xa5\x63\x75\xe7\xea\xae\x4d\x30\x8b\xf0\x4a\x69\x07\x5c\xb6\xa8\xaa\x7f\x6a\x2d\xd9\xdc\x2a\x51\xba\x80\xc3\xef\xaf\x86\xa3\x69\x6f\x7c\xde\x12\x78\xfb\xb6\xb5\xb4\x6d\x75\xcb\x7f\xe0\x85\x7c\x57\x39\xb4\xfb\x68\x17\x6d\xed\xb5\x12\x9e\x39\xcf\x69\xa2\x65\x59\x7d\x3f\x19\x8b\xb1\xb8\xce\xb9\x01\x52\xc0\xe1\xf1\xf1\x31\x10\x0d\xaf\x6e\x9a\x17\x89\xa0\x66\xab\x42\xe5\x70\x7c\x78\x78\xff\xb4\xdb\xe9\x84\x87\x00\x33\xb9\xfa\x26\xff\x83\xfa\x49\xa8\x4d\x01\xc4\x2c\x76\x00\xbc\x42\xa1\xd1\x8c\x54\xde\xa9\x58\x21\xb6\x28\xde\xab\x62\xbf\x15\x0b\x7d\xa4\xf2\x9d\x4f\xae\x58\xdb\xd1\x1a\xd1\xb5\x50\xf3\x5d\xf5\xf8\x8c\xbe\xa7\x04\x2f\x9b\xcb\x05\x37\x46\x19\xcc\x89\xe0\x73\xc3\x4c\x45\xe6\xa5\xad\xe6\xea\x3b\x3d\xea\xfc\xfa\xa6\x73\xb4\xef\x60\xfe\x2b\x00\x00\xff\xff\x23\x2c\xa0\x6c\x1b\x0f\x00\x00")
func localStorageYamlBytes() ([]byte, error) {
return bindataRead(