Lantao Liu
c6203ec13b
Fix panic for task in unknown state.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-09-03 14:56:15 -07:00
Lantao Liu
b5ec5ee4f6
Merge pull request #1255 from Random-Liu/fix-doc
...
FDQN is a typo, and we don't support trailing dot in FQDN.
2019-08-30 14:58:22 -07:00
Lantao Liu
2d03ccf5dd
FDQN is a typo, and we don't support trailing dot in FQDN.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-30 13:31:04 -07:00
Mike Brown
f304b16a16
Merge pull request #1251 from Random-Liu/add-task-max
...
Add TaskMax=infinity in the systemd unit.
2019-08-29 17:19:53 -05:00
Lantao Liu
0997453f33
Update cri-tools to fix all image reference test failure.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-29 15:11:01 -07:00
Lantao Liu
567cd57f5f
Merge pull request #1250 from awesomenix/fixemptyauth
...
fix: support empty auth config for anonymous registry
2019-08-29 14:40:09 -07:00
Lantao Liu
523f3440b0
Add TaskMax=infinity
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-29 14:35:43 -07:00
Nishchay
f41675d234
fix: support empty auth config for anonymous registry
...
- empty username means caller wants to use no credentials, typically for anonymous registry
- Fixes https://github.com/containerd/cri/issues/1249
Signed-off-by: Nishchay Kumar <mrawesomenix@gmail.com>
2019-08-28 10:24:31 -07:00
Lantao Liu
6dc2a87447
Merge pull request #1244 from Random-Liu/support-cni-dns-capabilities
...
Support CNI DNS capabilities.
2019-08-22 15:06:52 -07:00
Lantao Liu
28aef2fe38
Support CNI DNS capabilities.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-22 14:29:04 -07:00
Lantao Liu
ff0889fb4d
Merge pull request #1242 from Random-Liu/explicitly-import-runtime-v2
...
Explicitly import runtime v2 in the test containerd binary.
2019-08-20 22:49:51 -07:00
Lantao Liu
be3d4a8acf
Explicitly import runtime v2 in the test containerd binary.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-20 18:44:49 -07:00
Lantao Liu
eed3956689
Merge pull request #1240 from Random-Liu/fix-apparmor-privileged
...
Fix apparmor for privileged.
2019-08-20 10:13:28 -07:00
Lantao Liu
10acd8e769
Fix apparmor for privileged.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-19 16:28:45 -07:00
Mike Brown
f1d492b0cd
Merge pull request #1237 from Random-Liu/update-cni-plugins
...
Update cni plugins to v0.7.6.
2019-08-14 14:46:57 -05:00
Lantao Liu
cda752fd59
Update cni plugins to v0.7.6.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-14 10:19:42 -07:00
Lantao Liu
92603895fd
Merge pull request #1238 from crosbymichael/cni-update
...
Update cni and go-cni to the v0.7.1 release
2019-08-14 10:18:29 -07:00
Michael Crosby
3995efc7c1
Update cni and go-cni to the v0.7.1 release
...
Closes #1236
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-08-14 16:19:37 +00:00
Lantao Liu
5ea371c689
Merge pull request #1235 from Random-Liu/wildcard-mirror
...
Add wildcard mirror support.
2019-08-13 13:04:48 -07:00
Lantao Liu
81ca274c6f
Add wildcard mirror support.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-13 12:02:57 -07:00
Lantao Liu
8021850e91
Merge pull request #1233 from AkihiroSuda/allow-ca-without-client-certs
...
allow non-mutual TLS
2019-08-11 17:07:57 -07:00
Lantao Liu
a4b145adbb
Merge pull request #1234 from Random-Liu/update-containerd-to-fix-race
...
Update containerd to fix panic caused by race condition.
2019-08-11 16:51:56 -07:00
Lantao Liu
7f330dc4aa
Update containerd to fix panic caused by race condition.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-10 10:40:43 -07:00
Lantao Liu
fd6c732cd7
Merge pull request #1232 from Random-Liu/avoid-schema1-roundtrip
...
Remove extra roundtrip for checking schema1.
2019-08-10 10:25:46 -07:00
Lantao Liu
f1fbdbfab7
Merge pull request #1231 from Random-Liu/consider-endpoint-path-for-default
...
Consider endpoint path when checking default host.
2019-08-10 10:23:49 -07:00
Akihiro Suda
28e492fce0
allow non-mutual TLS
...
Previously, client keypair had needed to be specified even when unused.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-08-10 21:48:03 +09:00
Lantao Liu
d64fa3b6b8
Remove extra roundtrip for checking schema1.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-09 18:47:40 -07:00
Lantao Liu
005f9f7378
Consider endpoint path when checking default host.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-09 18:22:08 -07:00
Lantao Liu
a7481289bb
Merge pull request #1227 from Random-Liu/new-registry-mirror
...
New registry mirror
2019-08-09 16:24:38 -07:00
Lantao Liu
2fd69f0b78
Move config validation into pkg/config and add unit test.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-09 14:39:30 -07:00
Lantao Liu
53e94c6753
Use containerd registry mirror library.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-09 14:39:30 -07:00
Lantao Liu
27de1a5862
Update containerd to 5222236c1b
.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-09 10:41:46 -07:00
Akihiro Suda
29d5eb69bc
Merge pull request #1228 from Random-Liu/improve-vendor
...
Improve vendor.conf
2019-08-09 15:08:27 +09:00
Lantao Liu
f994f43aec
Update vendors.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-08 10:39:50 -07:00
Lantao Liu
7d56fdcc83
Split dependencies and update sort-vendor correspondingly
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-08 10:39:50 -07:00
Lantao Liu
aaf15b6777
Merge pull request #1225 from awprice/privileged_without_host_devices_flag
...
Add flag to overload default privileged host device behaviour
2019-08-08 00:13:02 -07:00
Alex Price
3353ab76d9
Add flag to overload default privileged host device behaviour
...
This commit adds a flag to the runtime config that allows overloading of the default
privileged behaviour. When the flag is enabled on a runtime, host devices won't
be appended to the runtime spec if the container is run as privileged.
By default the flag is false to maintain the current behaviour of privileged.
Fixes #1213
Signed-off-by: Alex Price <aprice@atlassian.com>
2019-08-08 12:16:42 +10:00
Lantao Liu
95bd02d28f
Merge pull request #1200 from jterry75/image_user
...
Assign ImageSpec User if SecurityContext is not set
2019-08-07 13:50:08 -07:00
Lantao Liu
8ea0cc90aa
Merge pull request #1221 from jterry75/log_g
...
Switch to containerd/log package
2019-08-07 13:49:33 -07:00
Justin Terry (VM)
bc2cff625b
Assign ImageSpec User if SecurityContext is not set
...
By default the SecurityContext for Container activation can contain a Username
UID, GID. The order of precedences is username, UID, GID. If none of these
options are specified as a last resort attempt to set the ImageSpec username.
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2019-08-07 12:20:52 -07:00
Justin Terry (VM)
193918b702
Switch to containerd/log package
...
Moves to the containerd/log package over logrus directly. This benefits the
traces because if using any log context such as OpenCensus on the entry gRPC
API all traces for that gRPC method will now contain the appropriate TraceID,
SpanID for easy correlation.
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2019-08-07 12:18:18 -07:00
Mike Brown
29104d94d6
Merge pull request #1223 from Random-Liu/update-support-metrics
...
Update support metrics to reflect 1.11 EOL.
2019-08-07 08:13:55 -05:00
Mike Brown
5fd4ab7ef9
Merge pull request #1226 from Random-Liu/use-golangci-lint
...
Use golangci-lint
2019-08-07 08:12:37 -05:00
Lantao Liu
9bf53555a0
Use golangci-lint.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-07 01:20:52 -07:00
Lantao Liu
c7b48c09d7
Merge pull request #1224 from Random-Liu/infer-systemd-cgroup
...
Infer systemd cgroup
2019-08-06 13:33:40 -07:00
Lantao Liu
eae5fc360f
Infer systemd cgroup based on path suffix.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-06 11:00:51 -07:00
Lantao Liu
30fb9ea9b2
Update support metrics to reflect 1.11 EOL.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-05 18:17:30 -07:00
Lantao Liu
f9760af8d4
Merge pull request #1220 from Random-Liu/remove-no-pivot-deprecation
...
Do not deprecate no_pivot yet.
2019-08-05 18:15:51 -07:00
Lantao Liu
871a8b89c8
Do not deprecate no_pivot yet.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-05 15:12:50 -07:00
Lantao Liu
b213648c5b
Merge pull request #1219 from Random-Liu/rename-test-containerd-bin
...
Rename the test binary to containerd-test.
2019-08-05 10:11:07 -07:00