File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change 15
15
package scaffold
16
16
17
17
import (
18
- "bytes"
19
18
"fmt"
20
19
"io"
21
20
"os"
@@ -113,15 +112,6 @@ func (s *CRD) CustomRender() ([]byte, error) {
113
112
}
114
113
return nil , err
115
114
}
116
- // Until we bump dependencies to Kubernetes v1.16, generated validation
117
- // descriptions for kind and apiVersion will contain an invalid link.
118
- // Manually replace them here.
119
- //
120
- // TODO(estroz): remove on k8s v1.16 bump.
121
- b = bytes .ReplaceAll (b ,
122
- []byte ("https://git.k8s.io/community/contributors/devel/api-conventions.md" ),
123
- []byte ("https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md" ),
124
- )
125
115
if err = yaml .Unmarshal (b , crd ); err != nil {
126
116
return nil , err
127
117
}
You can’t perform that action at this time.
0 commit comments