()
| 85 | } |
| 86 | |
| 87 | func (d *diffCmd) isAllowUnreleased() bool { |
| 88 | // helm update --install is effectively the same as helm-diff's --allow-unreleased option, |
| 89 | // support both so that helm diff plugin can be applied on the same command |
| 90 | // https://github.com/databus23/helm-diff/issues/108 |
| 91 | return d.allowUnreleased || d.install |
| 92 | } |
| 93 | |
| 94 | // clusterAccessAllowed returns true if the diff command is allowed to access the cluster at some degree. |
| 95 | // |