forked from projectcalico/calico
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Add GA support for Windows hostprocess
Build on the changes from projectcalico#7260: - Add a Windows cni-plugin hostprocess image, which will install the cni binaries and config on the host. - Add a Windows node hostprocess image, which no longer needs to match the hosts' Windows version (e.g. only 1809 needs to be used and is supported on 2022).
- Loading branch information
Showing
16 changed files
with
599 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Copyright (c) 2023 Tigera, Inc. All rights reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
ARG WINDOWS_VERSION | ||
FROM mcr.microsoft.com/windows/nanoserver:${WINDOWS_VERSION} | ||
|
||
ARG GIT_VERSION=unknown | ||
|
||
LABEL name="Calico Networking for CNI" \ | ||
vendor="Project Calico" \ | ||
version=$GIT_VERSION \ | ||
release="1" \ | ||
summary="Calico Networking for CNI" \ | ||
description="Calico Networking for CNI includes a CNI networking plugin and CNI IPAM plugin" \ | ||
maintainer="[email protected]" | ||
|
||
ADD licenses/ /licenses | ||
ADD LICENSE /licenses/ | ||
|
||
ADD bin/windows/ /opt/cni/bin/ | ||
|
||
ENV PATH=$PATH:/opt/cni/bin | ||
WORKDIR /opt/cni/bin | ||
CMD ["/opt/cni/bin/install.exe"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.