github.com/opendevstack/tailor@v1.3.5-0.20220119161809-cab064e60a67/internal/test/e2e/testdata/secret/steps.json (about) 1 [ 2 { 3 "command": "apply secret --reveal-secrets", 4 "wantStdout": true, 5 "wantResources": { 6 "secret/foo": true 7 }, 8 "wantFields": { 9 "secret/foo": { 10 ".data.token": "czNjcjN0" 11 } 12 } 13 }, 14 { 15 "command": "apply secret --reveal-secrets", 16 "wantStdout": true, 17 "wantResources": { 18 "secret/foo": true 19 }, 20 "wantFields": { 21 "secret/foo": { 22 ".data.token": "Z2VIM2lt" 23 } 24 } 25 }, 26 { 27 "command": "apply secret --reveal-secrets", 28 "wantStdout": true, 29 "wantErr": true, 30 "wantResources": { 31 "secret/foo": true 32 } 33 }, 34 { 35 "command": "apply secret --reveal-secrets --force", 36 "wantStdout": true, 37 "wantResources": { 38 "secret/foo": false 39 } 40 } 41 ]