UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
O
Opensource
Istio-1.6
install-cni-1.6
Commits
915ccd23
Commit
915ccd23
authored
Oct 27, 2020
by
Michael Simmons
Browse files
Merge branch 'patch-1' into 'development'
add required libraries See merge request
!22
parents
bcd0bbe5
488cb280
Pipeline
#63170
passed with stages
in 15 minutes and 12 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
18 deletions
+19
-18
Dockerfile
Dockerfile
+10
-5
README.md
README.md
+7
-6
download.yaml
download.yaml
+1
-6
renovate.json
renovate.json
+1
-1
No files found.
Dockerfile
View file @
915ccd23
ARG
BASE_REGISTRY=
nexus-docker-secure.levelup-dev
.io
ARG
BASE_REGISTRY=
registry1.dsop
.io
ARG
BASE_IMAGE=redhat/ubi/ubi8
ARG
BASE_IMAGE=
ironbank/
redhat/ubi/ubi8
ARG
BASE_TAG=8.2
ARG
BASE_TAG=8.2
FROM
istio/install-cni:1.6.12 AS base
FROM
istio/install-cni:1.6.12 AS base
...
@@ -13,11 +13,16 @@ LABEL org.opencontainers.image.title="install-cni" \
...
@@ -13,11 +13,16 @@ LABEL org.opencontainers.image.title="install-cni" \
org.opencontainers.image.version="1.6.12" \
org.opencontainers.image.version="1.6.12" \
maintainer="cht@dsop.io"
maintainer="cht@dsop.io"
COPY
jq-linux64 /
COPY
--from=base /opt/cni/bin/istio-cni /opt/cni/bin/istio-iptables.sh /opt/cni/bin/istio-cni-repair /opt/cni/bin/
COPY
--from=base /opt/cni/bin/istio-cni /opt/cni/bin/istio-iptables.sh /opt/cni/bin/istio-cni-repair /opt/cni/bin/
COPY
--from=base /install-cni.sh /filter.jq /
COPY
--from=base /install-cni.sh /filter.jq /
COPY
--from=base /istio-cni.conf.tmp host/etc/cni/net.d/
COPY
--from=base /istio-cni.conf.tmp host/etc/cni/net.d/
RUN
chmod
777 /host/etc/cni/net.d/istio-cni.conf.tmp
RUN
chmod
777 /host/etc/cni/net.d/istio-cni.conf.tmp
&&
\
dnf upgrade
-y
&&
\
dnf
install
-y
jq
hostname
--setopt
=
tsflags
=
nodocs
&&
\
dnf clean all
&&
\
rm
-rf
/var/cache/dnf
ENV
PATH=$PATH:/opt/cni/bin
ENV
PATH=$PATH:/opt/cni/bin
VOLUME
/opt/cni
VOLUME
/opt/cni
WORKDIR
/opt/cni/bin
WORKDIR
/opt/cni/bin
...
@@ -26,4 +31,4 @@ USER 1001
...
@@ -26,4 +31,4 @@ USER 1001
###############################################################
###############################################################
HEALTHCHECK
--interval=1m --start-period=30s CMD curl -f http://localhost:80 || exit 1
HEALTHCHECK
--interval=1m --start-period=30s CMD curl -f http://localhost:80 || exit 1
###############################################################
###############################################################
CMD
["/install-cni.sh"]
CMD
["/install-cni.sh"]
\ No newline at end of file
README.md
View file @
915ccd23
# install-cni
# install-cni
1.
Download the tarball from
[
Iron Bank
](
https://ironbank.dsop.io/ironbank/repomap/opensource/istio-1.6
)
and navigate to the location of the download.
2.
Load the image directory (using istio-cni.tar.gz as an example tarball name):
```
```
# Download the tarball from the Iron Bank repository and navigate to the
docker load -i istio-cni.tar
# download directory. Run the following commands to run the container
# (using istio-cni.tar.gz as example tarball name):
podman load -i istio-cni.tar.gz
podman container run istio-cni
```
```
Use the Istio Container Network Interface to configure and install an
Use the Istio Container Network Interface to configure and install an
...
@@ -19,6 +18,8 @@ fulfill this requirement
...
@@ -19,6 +18,8 @@ fulfill this requirement
In the event that you wish to implement this with a helm chart, you must ensure
In the event that you wish to implement this with a helm chart, you must ensure
that the chart is modified to utilize the install-cni image from the Iron Bank.
that the chart is modified to utilize the install-cni image from the Iron Bank.
Please see
[
here
](
https://istio.io/v1.6/docs/setup/install/
)
for Istio 1.6 Installation Guides.
## Notes
## Notes
The container is configured to run as user 1001.
The container is configured to run as user 1001.
\ No newline at end of file
download.yaml
View file @
915ccd23
---
---
resources
:
resources
:
-
url
:
"
docker://docker.io/istio/install-cni@sha256:5c25b4dded8e9dcd688d018c72b38c03a77d72c32fec4500e3737a12084e683f"
-
url
:
"
docker://docker.io/istio/install-cni@sha256:5c25b4dded8e9dcd688d018c72b38c03a77d72c32fec4500e3737a12084e683f"
tag
:
"
istio/install-cni:1.6.12"
tag
:
"
istio/install-cni:1.6.12"
-
url
:
https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
\ No newline at end of file
filename
:
jq-linux64
validation
:
type
:
sha256
value
:
af986793a515d500ab2d35f8d2aecd656e764504b789b66d7e1a0b727a124c44
renovate.json
View file @
915ccd23
{
{
"assignees"
:
[
"@
gavin.scallo
n"
],
"assignees"
:
[
"@
bhear
n"
],
"baseBranches"
:
[
"development"
],
"baseBranches"
:
[
"development"
],
"packageRules"
:
[
"packageRules"
:
[
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment