Skip to content

Commit

Permalink
hack/update-expected.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
hakman committed Sep 28, 2024
1 parent 51b1dfd commit 043c625
Show file tree
Hide file tree
Showing 14 changed files with 354 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ spec:
version: 9.99.0
- id: k8s-1.16
manifest: networking.amazon-vpc-routed-eni/k8s-1.16.yaml
manifestHash: 516820e30ab3bc0817c018c36ffd1841d5e6c53b553a0ddd8ae98d7d3779c0fc
manifestHash: 94a817e72c572314ec52dcada92ad99c333bd37dec85f0f9e54a94184dbf8c42
name: networking.amazon-vpc-routed-eni
needsRollingUpdate: all
selector:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,40 @@ spec:
- name: v1alpha1
schema:
openAPIV3Schema:
description: ENIConfig is the Schema for the eniconfigs API
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: ENIConfigSpec defines the desired state of ENIConfig
properties:
securityGroups:
items:
type: string
type: array
subnet:
type: string
required:
- subnet
type: object
status:
description: ENIConfigStatus defines the observed state of ENIConfig
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
served: true
Expand Down Expand Up @@ -275,7 +309,7 @@ metadata:
app.kubernetes.io/instance: aws-vpc-cni
app.kubernetes.io/managed-by: kops
app.kubernetes.io/name: aws-node
app.kubernetes.io/version: v1.18.1
app.kubernetes.io/version: v1.18.4
k8s-app: aws-node
role.kubernetes.io/networking: "1"
name: aws-node
Expand All @@ -300,7 +334,7 @@ metadata:
app.kubernetes.io/instance: aws-vpc-cni
app.kubernetes.io/managed-by: kops
app.kubernetes.io/name: aws-node
app.kubernetes.io/version: v1.18.1
app.kubernetes.io/version: v1.18.4
k8s-app: aws-node
role.kubernetes.io/networking: "1"
name: amazon-vpc-cni
Expand All @@ -317,7 +351,7 @@ metadata:
app.kubernetes.io/instance: aws-vpc-cni
app.kubernetes.io/managed-by: kops
app.kubernetes.io/name: aws-node
app.kubernetes.io/version: v1.18.1
app.kubernetes.io/version: v1.18.4
k8s-app: aws-node
role.kubernetes.io/networking: "1"
name: aws-node
Expand Down Expand Up @@ -398,7 +432,7 @@ metadata:
app.kubernetes.io/instance: aws-vpc-cni
app.kubernetes.io/managed-by: kops
app.kubernetes.io/name: aws-node
app.kubernetes.io/version: v1.18.1
app.kubernetes.io/version: v1.18.4
k8s-app: aws-node
role.kubernetes.io/networking: "1"
name: aws-node
Expand All @@ -422,7 +456,7 @@ metadata:
app.kubernetes.io/instance: aws-vpc-cni
app.kubernetes.io/managed-by: kops
app.kubernetes.io/name: aws-node
app.kubernetes.io/version: v1.18.1
app.kubernetes.io/version: v1.18.4
k8s-app: aws-node
role.kubernetes.io/networking: "1"
name: aws-node
Expand Down Expand Up @@ -498,10 +532,16 @@ spec:
value: "false"
- name: ENABLE_PREFIX_DELEGATION
value: "false"
- name: ENABLE_SUBNET_DISCOVERY
value: "true"
- name: NETWORK_POLICY_ENFORCING_MODE
value: standard
- name: WARM_ENI_TARGET
value: "1"
- name: WARM_PREFIX_TARGET
value: "1"
- name: VPC_CNI_VERSION
value: v1.18.4
- name: MY_NODE_NAME
valueFrom:
fieldRef:
Expand All @@ -514,7 +554,7 @@ spec:
fieldPath: metadata.name
- name: CLUSTER_NAME
value: minimal.example.com
image: 602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni:v1.18.1
image: 602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni:v1.18.4
livenessProbe:
exec:
command:
Expand Down Expand Up @@ -561,6 +601,7 @@ spec:
- --enable-network-policy=false
- --enable-cloudwatch-logs=false
- --enable-policy-event-logs=false
- --log-file=/var/log/aws-routed-eni/network-policy-agent.log
- --metrics-bind-addr=:8162
- --health-probe-bind-addr=:8163
- --conntrack-cache-cleanup-period=300
Expand All @@ -570,7 +611,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
image: 602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-network-policy-agent:v1.1.1
image: 602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-network-policy-agent:v1.1.3
name: aws-eks-nodeagent
resources:
requests:
Expand All @@ -596,7 +637,7 @@ spec:
value: "false"
- name: ENABLE_IPv6
value: "false"
image: 602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni-init:v1.18.1
image: 602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni-init:v1.18.4
name: aws-vpc-cni-init
resources:
requests:
Expand Down Expand Up @@ -631,6 +672,7 @@ spec:
name: run-dir
- hostPath:
path: /run/xtables.lock
type: FileOrCreate
name: xtables-lock
updateStrategy:
rollingUpdate:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ spec:
version: 9.99.0
- id: k8s-1.16
manifest: networking.amazon-vpc-routed-eni/k8s-1.16.yaml
manifestHash: 516820e30ab3bc0817c018c36ffd1841d5e6c53b553a0ddd8ae98d7d3779c0fc
manifestHash: 94a817e72c572314ec52dcada92ad99c333bd37dec85f0f9e54a94184dbf8c42
name: networking.amazon-vpc-routed-eni
needsRollingUpdate: all
selector:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,40 @@ spec:
- name: v1alpha1
schema:
openAPIV3Schema:
description: ENIConfig is the Schema for the eniconfigs API
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: ENIConfigSpec defines the desired state of ENIConfig
properties:
securityGroups:
items:
type: string
type: array
subnet:
type: string
required:
- subnet
type: object
status:
description: ENIConfigStatus defines the observed state of ENIConfig
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
served: true
Expand Down Expand Up @@ -275,7 +309,7 @@ metadata:
app.kubernetes.io/instance: aws-vpc-cni
app.kubernetes.io/managed-by: kops
app.kubernetes.io/name: aws-node
app.kubernetes.io/version: v1.18.1
app.kubernetes.io/version: v1.18.4
k8s-app: aws-node
role.kubernetes.io/networking: "1"
name: aws-node
Expand All @@ -300,7 +334,7 @@ metadata:
app.kubernetes.io/instance: aws-vpc-cni
app.kubernetes.io/managed-by: kops
app.kubernetes.io/name: aws-node
app.kubernetes.io/version: v1.18.1
app.kubernetes.io/version: v1.18.4
k8s-app: aws-node
role.kubernetes.io/networking: "1"
name: amazon-vpc-cni
Expand All @@ -317,7 +351,7 @@ metadata:
app.kubernetes.io/instance: aws-vpc-cni
app.kubernetes.io/managed-by: kops
app.kubernetes.io/name: aws-node
app.kubernetes.io/version: v1.18.1
app.kubernetes.io/version: v1.18.4
k8s-app: aws-node
role.kubernetes.io/networking: "1"
name: aws-node
Expand Down Expand Up @@ -398,7 +432,7 @@ metadata:
app.kubernetes.io/instance: aws-vpc-cni
app.kubernetes.io/managed-by: kops
app.kubernetes.io/name: aws-node
app.kubernetes.io/version: v1.18.1
app.kubernetes.io/version: v1.18.4
k8s-app: aws-node
role.kubernetes.io/networking: "1"
name: aws-node
Expand All @@ -422,7 +456,7 @@ metadata:
app.kubernetes.io/instance: aws-vpc-cni
app.kubernetes.io/managed-by: kops
app.kubernetes.io/name: aws-node
app.kubernetes.io/version: v1.18.1
app.kubernetes.io/version: v1.18.4
k8s-app: aws-node
role.kubernetes.io/networking: "1"
name: aws-node
Expand Down Expand Up @@ -498,10 +532,16 @@ spec:
value: "false"
- name: ENABLE_PREFIX_DELEGATION
value: "false"
- name: ENABLE_SUBNET_DISCOVERY
value: "true"
- name: NETWORK_POLICY_ENFORCING_MODE
value: standard
- name: WARM_ENI_TARGET
value: "1"
- name: WARM_PREFIX_TARGET
value: "1"
- name: VPC_CNI_VERSION
value: v1.18.4
- name: MY_NODE_NAME
valueFrom:
fieldRef:
Expand All @@ -514,7 +554,7 @@ spec:
fieldPath: metadata.name
- name: CLUSTER_NAME
value: minimal.example.com
image: 602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni:v1.18.1
image: 602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni:v1.18.4
livenessProbe:
exec:
command:
Expand Down Expand Up @@ -561,6 +601,7 @@ spec:
- --enable-network-policy=false
- --enable-cloudwatch-logs=false
- --enable-policy-event-logs=false
- --log-file=/var/log/aws-routed-eni/network-policy-agent.log
- --metrics-bind-addr=:8162
- --health-probe-bind-addr=:8163
- --conntrack-cache-cleanup-period=300
Expand All @@ -570,7 +611,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
image: 602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-network-policy-agent:v1.1.1
image: 602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-network-policy-agent:v1.1.3
name: aws-eks-nodeagent
resources:
requests:
Expand All @@ -596,7 +637,7 @@ spec:
value: "false"
- name: ENABLE_IPv6
value: "false"
image: 602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni-init:v1.18.1
image: 602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni-init:v1.18.4
name: aws-vpc-cni-init
resources:
requests:
Expand Down Expand Up @@ -631,6 +672,7 @@ spec:
name: run-dir
- hostPath:
path: /run/xtables.lock
type: FileOrCreate
name: xtables-lock
updateStrategy:
rollingUpdate:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ spec:
version: 9.99.0
- id: k8s-1.16
manifest: networking.amazon-vpc-routed-eni/k8s-1.16.yaml
manifestHash: 516820e30ab3bc0817c018c36ffd1841d5e6c53b553a0ddd8ae98d7d3779c0fc
manifestHash: 94a817e72c572314ec52dcada92ad99c333bd37dec85f0f9e54a94184dbf8c42
name: networking.amazon-vpc-routed-eni
needsRollingUpdate: all
selector:
Expand Down
Loading

0 comments on commit 043c625

Please sign in to comment.