Not true - you are taught to respect the office, if not the man ...
If you disagree with policy, you resign your commission - and then you are free to make any statement you want or to stand for election to oppose him ...
McChrystal was unquestionably right in his opinion - and unquestionably wrong to give the interview before resigning his commission ...