Commit Graph

653 Commits

Author SHA1 Message Date
OpenShift Merge Robot
d20a45d15d
Merge pull request #78 from openshift-bot/updating-dockerfile.openshift-baseimages-to-mach-ocp-build-data-config
Bug 1878163: Updating Dockerfile.openshift baseimages to mach ocp-build-data config
2020-09-19 06:42:34 -04:00
openshift-bot
9c3188d430 Updating Dockerfile.openshift baseimages to mach ocp-build-data config
This PR is autogenerated by the [ocp-build-data-enforcer][1].
It updates the base images in the Dockerfile used for promotion in order to ensure it
matches the configuration in the [ocp-build-data repository][2] used
for producing release artifacts.

Instead of merging this PR you can also create an alternate PR that includes the changes found here.

If you believe the content of this PR is incorrect, please contact the dptp team in
#aos-art.

[1]: https://github.com/openshift/ci-tools/tree/master/cmd/ocp-build-data-enforcer
[2]: https://github.com/openshift/ocp-build-data/tree/openshift-4.6/images
2020-09-16 20:14:32 -04:00
OpenShift Merge Robot
956afbd557
Merge pull request #77 from openshift-bot/updating-dockerfile.openshift-baseimages-to-mach-ocp-build-data-config
Bug 1872080: Updating Dockerfile.openshift baseimages to mach ocp-build-data config
2020-08-25 18:15:31 -04:00
openshift-bot
5aa55766f1 Updating Dockerfile.openshift baseimages to mach ocp-build-data config
This PR is autogenerated by the [ocp-build-data-enforcer][1].
It updates the baseimages in the Dockerfile used for promotion in order to ensure it
matches the configuration in the [ocp-build-data repository][2] used
for producing release artifacts.

If you believe the content of this PR is incorrect, please contact the dptp team in
#forum-testplatform.

[1]: https://github.com/openshift/ci-tools/tree/master/cmd/ocp-build-data-enforcer
[2]: https://github.com/openshift/ocp-build-data/tree/openshift-4.6-rhel-8/images
2020-08-24 19:07:41 +00:00
OpenShift Merge Robot
651c799d9a
Merge pull request #73 from dougbtv/update-crd-yaml-for-explain
Fix CRD yaml file for explain
2020-07-30 13:34:42 -04:00
Tomofumi Hayashi
3683b45c2d Fix CRD yaml file for right explan information 2020-07-28 10:40:16 -04:00
OpenShift Merge Robot
91c7526cdc
Merge pull request #71 from dougbtv/openshift-46-updates-07-2020
Multus CNI updates for OCP 4.6
2020-07-25 19:08:04 +02:00
dougbtv
be2df5b9a1 Merge branch 'master' into openshift-46-updates-07-2020 for regular updates.
Notably, this keeps the ./build file the same without using the build args for openshift.
2020-07-22 08:50:57 -04:00
OpenShift Merge Robot
f47d253353
Merge pull request #70 from multi-arch/master
Switch default binary to RHEL 8
2020-07-22 08:06:45 -04:00
Yaakov Selkowitz
c530558a21 Switch default binary to RHEL 8 2020-07-21 22:11:13 -04:00
Doug Smith
c85b79f5ff
Merge pull request #536 from s1061123/fix/update-vendor
Update vendors
2020-07-21 20:17:50 -04:00
Tomofumi Hayashi
801e1e8940 Update vendors 2020-07-22 09:15:24 +09:00
Doug Smith
41fefbb001
Merge pull request #522 from s1061123/fix/del-error-fix
Fix/del error fix
2020-07-21 17:13:33 -04:00
Tomofumi Hayashi
4eb6ae1553 Fix error handling on cmdDel
Fix #519
2020-07-21 14:52:07 +09:00
Doug Smith
b5211cb0d2
Merge pull request #534 from bmwiedemann/date
Allow to override build date with SOURCE_DATE_EPOCH
2020-07-09 09:52:28 -04:00
Bernhard M. Wiedemann
29df24fa6c Allow to override build date with SOURCE_DATE_EPOCH
in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.

This date call only works with GNU date.

Also use UTC to be independent of timezone.
2020-07-08 05:08:11 +02:00
Doug Smith
e4a8c9f639
Merge pull request #530 from rktidwell/master
build: Enable -mod build flag to be toggled via environment variable
2020-07-06 08:49:58 -04:00
Adrian Chiris
2796202d8c Add infinibandGUID runtime config to delegate netconf
This commit extend the various network conf methods
to translate `infiniband-guid` network attachment configuration
to `infinibandGUID` CNI runtime config.

- Update relevant methods in types package
- Update unit tests
2020-06-26 14:55:21 +09:00
Adrian Chiris
46be700cb5 Struct updates
- Add `infinibandGUID` CNI runtime config
- Add `infiniband-guid` Network attachment attribute
- Reflect infiniband guid request in Delegate network config
2020-06-26 14:55:21 +09:00
Ryan Tidwell
a167d54608
build: Enable -mod build flag to be toggled via environment variable
This change will enable builds to be performed with the option of
passing the -mod flag to 'go build'. This can be done by optionally
setting the MODMODE environment variable prior to building.

For example, toggling the -mod setting for the build can be
accomplished as follows:

```
$ MODMODE=vendor ./build
```

Signed-off-by: Ryan Tidwell <rtidwell@suse.com>
2020-06-24 16:11:19 -05:00
Shahar Klein
ecb79330c0 Add support for log rotation
When using debug level the log files tends to fill up quickly.
Add support for log rotation using lumberjack, simple and easy to use
log rotation module.

Signed-off-by: Shahar Klein <sklein@nvidia.com>
2020-06-17 15:31:19 +09:00
Doug Smith
3882e405ef
Merge pull request #515 from s1061123/fix/namespace-in-status
Fix network status name/namespace to compliant with multi-net-spec
2020-06-09 15:08:23 -04:00
Doug Smith
5e15ff18f8
Merge pull request #518 from dougbtv/readme-typo
README typo for roll-YOUR-own
2020-06-09 15:07:49 -04:00
dougbtv
28bb98f78b README typo for roll-YOUR-own 2020-06-09 15:07:19 -04:00
Tomofumi Hayashi
e7c8977423 Fix network status name/namespace to compliant with multi-net-spec
This fix changes network status name to net-attach-def name with
namespace, to compliant with k8s npwg's multi-net-spec.
2020-06-09 12:43:49 +09:00
Doug Smith
fff8e490b9
Merge pull request #511 from s1061123/fix/error-on-fail
Change the error handling for kubernetes client
2020-06-08 09:14:02 -04:00
dougbtv
809a16fbed Adds code of conduct 2020-06-05 09:18:10 +09:00
Tomofumi Hayashi
f5dcb9d8be Change the error handling for kubernetes client
This change adds retry to wait a bit if kubernetes client
returns service unavailable.

This fixes #492
2020-06-01 23:17:42 +09:00
Doug Smith
fdd7d30095
Merge pull request #507 from s1061123/dev/update-example
Simplify examples directory
2020-05-28 09:59:10 -04:00
Tomofumi Hayashi
c976f6bceb Add deviceid in clusterNetwork 2020-05-28 10:00:29 +09:00
Tomofumi Hayashi
8131923b14 Simplify examples directory 2020-05-19 21:29:19 +09:00
Tomofumi Hayashi
4eac660359 Introduce gopkg.in for go module
This change introduces gopkg.in to allow everyone to use multus
code as library. Currently multus-cni uses version 'v3', hence
it hits go modules limitation, as #504 describes.

This change fix #504 with gopkg.in.
2020-05-15 21:33:26 +09:00
OpenShift Merge Robot
69a2963525
Merge pull request #66 from s1061123/dev/remove-git-action
Bug 1835037: Dev/remove git action
2020-05-12 17:42:14 -07:00
OpenShift Merge Robot
96aa1de042
Merge pull request #64 from dougbtv/downstream-45-api-timeout
Bug 1826084: [backport 4.5] Sets the Kubernetes API calls timeout to 60 seconds
2020-05-11 17:56:48 +02:00
dougbtv
ec5fd6c923 Move pre-1.16 Kubernetes assets to a deprecated folder (to later remove) 2020-05-08 09:50:33 +09:00
dougbtv
16eaacbba9 Sets the Kubernetes API calls timeout to 60 seconds 2020-05-05 14:24:42 -04:00
Doug Smith
b8540e190d
Merge pull request #455 from cucosion/feature/gkeexample
Daemonset for Google Kubernetes Engine for kubernetes cluster version…
2020-04-30 09:44:45 -04:00
Doug Smith
a4c2b67784
Merge pull request #497 from s1061123/fix/improve-cni-logs
[WIP] Fix/improve cni logs
2020-04-30 08:43:09 -04:00
Tomofumi Hayashi
b2439f8279 Simplify error message in case of delegating CNI error
This fix removes redundant error messages and try to simplify
if the error comes from delegating CNI plugins.
2020-04-30 18:02:05 +09:00
dougbtv
c8fc357f05 Adds development docs note regarding issue policy 2020-04-30 10:59:26 +09:00
Tomofumi Hayashi
4ef1da49f3 Remove github action that is not worked in openshift
This change removes github action that is not supported with cgo.
2020-04-24 19:27:22 +09:00
OpenShift Merge Robot
f2c97bf2cc
Merge pull request #60 from dougbtv/downstream-master-pick-ns-isolation-default
Bug 1827377: Allows allow pods in any namespace refer to net-attach-defs in default namespace
2020-04-24 11:05:07 +02:00
dougbtv
92beb4bcdc Sets the Kubernetes API calls timeout to 60 seconds 2020-04-23 10:47:11 +09:00
dougbtv
fb29016d92 Allows namespaceIsolation to allow pods in any namespace refer to the default namespace 2020-04-22 14:48:56 -04:00
Tomofumi Hayashi
fec92e59d0 Merge remote-tracking branch 'upstream/master' 2020-04-22 13:23:27 +09:00
dougbtv
931c12531d Allows namespaceIsolation to allow pods in any namespace refer to the default namespace 2020-04-22 09:08:11 +09:00
OpenShift Merge Robot
1683374fde
Merge pull request #59 from s1061123/fix/1822803
Bug 1822803: Add nil check for pod in case of Eventf()
2020-04-21 13:46:39 -04:00
Tomofumi Hayashi
e12749766d Add error message in case of unexpected situation
To troubleshooting #481, adds error message for further analysis.
2020-04-21 23:24:35 +09:00
Tomofumi Hayashi
0f5abb5bbd Add error message in case of unexpected situation
To troubleshooting #481, adds error message for further analysis.
2020-04-21 22:34:50 +09:00
Ted Yu
c1c3193633 Check Pod parameter against nil before calling Eventf
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-04-21 22:34:24 +09:00