These are mostly helper code for setting up env vars. There is a single file copied verbatim, although much of this downward api stuff is a copy. We may want to pull this out and do a direct copy of the the code so it is easier to update and work with upstream to have a shared package that lives outside of k8s.io/kubernetes for downward api.
1.3 KiB
1.3 KiB
Much of this is copied from k8s.io/kubernetes, even if it isn't a 1-1 copy of a file. This exists so we do not have to import from k8s.io/kubernetes which is currently problematic. Ideally most or all of this will go away and an upstream solution is found so that we can share an implementation with Kubelet without importing from k8s.io/kubernetes
| filename | upstream location |
|---|---|
| envvars.go | 98d5dc5d36/pkg/kubelet/envvars/envvars.go (L32) |
| helper.go#ConvertDownwardAPIFieldLabel | 98d5dc5d36/pkg/apis/core/pods/helpers.go (L65) |
| helper.go#ExtractFieldPathAsString | 98d5dc5d36/pkg/fieldpath/fieldpath.go (L46) |
| helper.go#SplitMaybeSubscriptedPath | 98d5dc5d36/pkg/fieldpath/fieldpath.go (L96) |
| helper.go#FormatMap | ea07644522/pkg/fieldpath/fieldpath.go (L29) |
| helper.go#IsServiceIPSet | ea07644522/pkg/apis/core/v1/helper/helpers.go (L139) |