Skip to content

Commit b5e3c90

Browse files
committed
fix: gen crds and update base images
1 parent 111ea2b commit b5e3c90

File tree

5 files changed

+26
-18
lines changed

5 files changed

+26
-18
lines changed

cns/windows.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ COPY . .
88
RUN GOOS=windows CGO_ENABLED=0 go build -a -o /usr/local/bin/azure-cns.exe -ldflags "-X main.version="$VERSION" -X "$CNS_AI_PATH"="$CNS_AI_ID"" -gcflags="-dwarflocationlists=true" cns/service/*.go
99

1010
# intermediate for win-ltsc2019
11-
FROM mcr.microsoft.com/windows/servercore@sha256:6fdf140282a2f809dae9b13fe441635867f0a27c33a438771673b8da8f3348a4 as ltsc2019
11+
FROM mcr.microsoft.com/windows/servercore@sha256:b36581f8c38aa45a8eb1849372603fcbfe97befb3c0ad510e9cfc2ccef8fd3ca as ltsc2019
1212

1313
# intermediate for win-ltsc2022
14-
FROM mcr.microsoft.com/windows/servercore@sha256:45952938708fbde6ec0b5b94de68bcdec3f8c838be018536b1e9e5bd95e6b943 as ltsc2022
14+
FROM mcr.microsoft.com/windows/servercore@sha256:134a4de6ea1c905b526e24819ca3756c7897853c1c7fa2cfb48867f173f9f8e9 as ltsc2022
1515

1616
FROM ${OS_VERSION}
1717
COPY --from=builder /usr/local/src/cns/kubeconfigtemplate.yaml kubeconfigtemplate.yaml

crd/multitenantnetworkcontainer/api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crd/multitenantnetworkcontainer/manifests/networking.azure.com_multitenantnetworkcontainers.yaml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.12.0
6+
controller-gen.kubebuilder.io/version: v0.16.5
77
name: multitenantnetworkcontainers.networking.azure.com
88
spec:
99
group: networking.azure.com
@@ -21,14 +21,19 @@ spec:
2121
API
2222
properties:
2323
apiVersion:
24-
description: 'APIVersion defines the versioned schema of this representation
25-
of an object. Servers should convert recognized schemas to the latest
26-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
24+
description: |-
25+
APIVersion defines the versioned schema of this representation of an object.
26+
Servers should convert recognized schemas to the latest internal value, and
27+
may reject unrecognized values.
28+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2729
type: string
2830
kind:
29-
description: 'Kind is a string value representing the REST resource this
30-
object represents. Servers may infer this from the endpoint the client
31-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
31+
description: |-
32+
Kind is a string value representing the REST resource this object represents.
33+
Servers may infer this from the endpoint the client submits requests to.
34+
Cannot be updated.
35+
In CamelCase.
36+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3237
type: string
3338
metadata:
3439
type: object

crd/nodenetworkconfig/api/v1alpha/zz_generated.deepcopy.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crd/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.12.0
6+
controller-gen.kubebuilder.io/version: v0.16.5
77
name: nodenetworkconfigs.acn.azure.com
88
spec:
99
group: acn.azure.com
@@ -52,14 +52,19 @@ spec:
5252
description: NodeNetworkConfig is the Schema for the nodenetworkconfigs API
5353
properties:
5454
apiVersion:
55-
description: 'APIVersion defines the versioned schema of this representation
56-
of an object. Servers should convert recognized schemas to the latest
57-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
55+
description: |-
56+
APIVersion defines the versioned schema of this representation of an object.
57+
Servers should convert recognized schemas to the latest internal value, and
58+
may reject unrecognized values.
59+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
5860
type: string
5961
kind:
60-
description: 'Kind is a string value representing the REST resource this
61-
object represents. Servers may infer this from the endpoint the client
62-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
62+
description: |-
63+
Kind is a string value representing the REST resource this object represents.
64+
Servers may infer this from the endpoint the client submits requests to.
65+
Cannot be updated.
66+
In CamelCase.
67+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
6368
type: string
6469
metadata:
6570
type: object

0 commit comments

Comments
 (0)