Skip to content

Commit 9cdc5b8

Browse files
Manifest, Third Party License and Doc changes
1 parent ad9cd5a commit 9cdc5b8

10 files changed

+1017
-246
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ cloud-provider specific code out of the Kubernetes codebase.
3434
| v1.26.4 | v1.26 | - |
3535
| v1.27.3 | v1.27 | - |
3636
| v1.28.2 | v1.28 | - |
37-
| v1.29.1 | v1.29 | - |
38-
| v1.30.0 | v1.30 | - |
37+
| v1.29.2 | v1.29 | - |
38+
| v1.30.1 | v1.30 | - |
39+
| v1.31.0 | v1.31 | - |
3940

4041

4142
Note:

THIRD_PARTY_LICENSES.txt

+954-190
Large diffs are not rendered by default.

docs/load-balancer-annotations.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ spec:
4444
| `service.beta.kubernetes.io/oci-load-balancer-health-check-interval` | The interval between [health checks][6] requests, in milliseconds. | `10000` | |
4545
| `service.beta.kubernetes.io/oci-load-balancer-connection-idle-timeout` | The maximum idle time, in seconds, allowed between two successive receive or two successive send operations between the client and backend servers. | `300` for TCP listeners, `60` for HTTP listeners | |
4646
| `service.beta.kubernetes.io/oci-load-balancer-security-list-management-mode` | Specifies the [security list mode](##security-list-management-modes) (`"All"`, `"Frontend"`,`"None"`) to configure how security lists are managed by the CCM. | `"All"` | |
47-
| `service.beta.kubernetes.io/oci-load-balancer-backend-protocol` | Specifies protocol on which the listener accepts connection requests. To get a list of valid protocols, use the [`ListProtocols`][5] operation. | `"TCP"` | |
47+
| `service.beta.kubernetes.io/oci-load-balancer-backend-protocol` | Specifies protocol on which the listener accepts connection requests. To get a list of valid protocols, use the [`ListProtocols`][5] operation. Supported[listener protocols][13] | `"TCP"` | |
4848
| `service.beta.kubernetes.io/oci-load-balancer-ssl-ports` | The ports to enable SSL termination on the corresponding load balancer listener | `443` | |
4949
| `service.beta.kubernetes.io/oci-load-balancer-tls-secret` | The TLS secret to install on the load balancer listeners which have SSL enabled. | `N/A` | |
5050
| `oci.oraclecloud.com/oci-network-security-groups` | Specifies Network Security Groups' OCIDs to be associated with the loadbalancer. Please refer [here][8] for NSG details. Example NSG OCID: `ocid1.networksecuritygroup.oc1.iad.aaa` | `N/A` | `"ocid1...aaa, ocid1...bbb"` |
@@ -101,6 +101,7 @@ Note:
101101
| `oci.oraclecloud.com/oci-backend-network-security-group` | Specifies backend Network Security Group(s)' OCID(s) for management of ingress / egress security rules for the LB/NLB by the CCM. Example NSG OCID: `ocid1.networksecuritygroup.oc1.iad.aaa` | `N/A` |
102102
| `oci.oraclecloud.com/ingress-ip-mode` | Specifies ".status.loadBalancer.ingress.ipMode" for a Service with type set to LoadBalancer. Refer: [Specifying IPMode to adjust traffic routing][11] | `VIP` |
103103
| `oci-network-load-balancer.oraclecloud.com/is-ppv2-enabled` | To enable/disable PPv2 feature for the listeners of your NLB managed by the CCM. | `false` |
104+
| `oci-network-load-balancer.oraclecloud.com/external-ip-only` | Specifies public ip only if set to true under ".status.loadBalancer.ingress.ip" for a Service. Refer: [Concealing a Network Load Balancer's Private IP Address][12] | `false` |
104105

105106
Note:
106107
- The only security list management mode allowed when backend protocol is UDP is "None"
@@ -145,3 +146,5 @@ Note:
145146
[9]: https://docs.oracle.com/en-us/iaas/Content/NetworkLoadBalancer/introducton.htm#Overview
146147
[10]: https://docs.oracle.com/en-us/iaas/Content/Balance/Concepts/balanceoverview.htm
147148
[11]: https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengconfiguringloadbalancersnetworkloadbalancers-subtopic.htm#contengcreatingloadbalancer_topic_Specifying_IPMode
149+
[12]: https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengconfiguringloadbalancersnetworkloadbalancers-subtopic.htm#contengcreatingloadbalancer_topic_Skip_private_IP_addresses
150+
[13]: https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengcreatingloadbalancers-subtopic.htm#listenerprotocol

hack/existing-standalone-cluster-env-template.sh

+49-46
Original file line numberDiff line numberDiff line change
@@ -3,80 +3,83 @@
33
##################################################################################################
44
# This template can be used to tweak the environment variables needed to run the E2E tests locally #
55
# Default behavior:
6-
# Runs test on an existing cluster in dev0-iad
6+
# Runs test on an existing cluster
7+
# Note: All variables that have comment as "# Mandatory" need to be filled with appropriate values for the tests to run correctly.
78

89
# To run the tests:
9-
# 1. Change the FOCUS variable here to specify the subset of E2E tests to run
10+
# 1. Change the FOCUS valiable here to specify the subset of E2E tests to run
1011
# 2. Set CLUSTER_KUBECONFIG and CLOUD_CONFIG if needed
11-
# 3. run 'source existing-cluster-dev0-env-template.sh' to set the variables
12+
# 3. run 'source existing-standalone-cluster-env-template.sh' to set the variables
1213
# 4. run 'make run-ccm-e2e-tests-local`
1314
##################################################################################################
1415

1516
# The test suites to run (can replace or add tags)
16-
export FOCUS="\[test1\]"
17+
export FOCUS="\[cloudprovider\]"
1718

1819
# The test suites to skip (can replace or add tags)
1920
export FOCUS_SKIP=""
2021

21-
# Run E2Es in parallel. # of ginkgo "nodes" will be decided automatically based on CPU cores.
22-
export ENABLE_PARALLEL_RUN=true
22+
# Scope can be ARM / AMD / BOTH
23+
# Mandatory
24+
export SCOPE="BOTH"
2325

24-
# This variable tells the test not to install oci cli and wipe out your .oci/config
25-
export LOCAL_RUN=1
26-
export TC_BUILD=0
26+
# A Reserved IP in your compartment for testing LB creation with Reserved IP
27+
# Create a public reserved IP in your compartment using the following link:
28+
# https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/managingpublicIPs.htm#console-reserved
29+
# Set the public reserved IP in the following env-variable:
30+
# Mandatory
31+
export RESERVED_IP=""
2732

28-
# This allows you to use your existing cluster
29-
export ENABLE_CREATE_CLUSTER=false
33+
# Set path to kubeconfig of existing cluster if it does not exist in default path. Defaults to $HOME/.kube/config.
34+
# Mandatory
35+
export CLUSTER_KUBECONFIG=$HOME/.kube/config
3036

31-
# Set path to kubeconfig of existing cluster if it does not exist in default path. Defaults to $HOME/.kube/config_*
32-
export CLUSTER_KUBECONFIG=/Users/ypgohoka/.e2e_ccm_csi/oss-1-31.kubeconfig
37+
# Set path to cloud_config of existing cluster if it does not exist in default path. Defaults to $HOME/cloudconfig.
38+
# Mandatory
39+
export CLOUD_CONFIG=$HOME/cloudconfig
3340

34-
# Set path to cloud_config of existing cluster if it does not exist in default path. Defaults to $HOME/cloudconfig_*
35-
export CLOUD_CONFIG=/Users/ypgohoka/go/src/github.com/oracle/oci-cloud-controller-manager/manifests/provider-config-example.yaml
41+
# ADLOCATION example is IqDk:US-ASHBURN-AD-1
42+
# Mandatory
43+
export ADLOCATION=""
3644

45+
# KMS key for CMEK testing
46+
# CMEK KEY example "ocid1.key.relm.region.bb..cc.aaa...aa"
47+
# Mandatory
48+
export CMEK_KMS_KEY=""
3749

38-
export IMAGE_PULL_REPO="iad.ocir.io/okedev/e2e-tests/"
39-
export ADLOCATION="Ddfp:US-ASHBURN-AD-2"
40-
41-
#KMS key for CMEK testing
42-
export CMEK_KMS_KEY="ocid1.key.oc1.iad.b5r7iu5xaagy2.abuwcljsizwczmdfnitnxaruykluz3p6kwprasd2l7ebfvbkxbytvuumg4cq"
43-
44-
#NSG Network security group created in cluster's VCN
45-
export NSG_OCIDS="ocid1.networksecuritygroup.oc1.iad.aaaaaaaarqaak4vupqsxits6crgsxu5p65eh7p422iry6qttvafn5jvhsmva,ocid1.networksecuritygroup.oc1.iad.aaaaaaaaie4b3quurf3b5sgwz7lwmygii65k3yvlhkyakqacu74xowe3763q"
50+
# NSG Network security group created in cluster's VCN
51+
# CCM E2E tests require two NSGs to run successfully. Please create two NSGs in the cluster's VCN and set NSG_OCIDS
52+
# NSG_OCIDS example ocid1.networksecuritygroup.relm.region.aa...aa,ocid1.networksecuritygroup.relm.region.aa...aa
53+
# Mandatory
54+
export NSG_OCIDS=","
4655

4756
# NSG Network security group created in cluster's VCN for backend management, this NSG will have to be attached to the nodes manually for tests to pass
48-
export BACKEND_NSG_OCIDS="ocid1.networksecuritygroup.oc1.iad.aaaaaaaaie4b3quurf3b5sgwz7lwmygii65k3yvlhkyakqacu74xowe3763q"
49-
50-
#Reserved IP created in e2e test compartment
51-
export RESERVED_IP="169.155.149.109"
57+
export BACKEND_NSG_OCIDS=""
5258

53-
#Architecture to run tests on
54-
export ARCHITECTURE_AMD="AMD"
55-
export ARCHITECTURE_ARM="ARM"
56-
57-
#Focus the tests : ARM, AMD or BOTH
58-
export SCOPE="AMD"
59+
# FSS VOLUME HANDLE in the format filesystem_ocid:mountTargetIP:export_path
60+
# Make sure fss volume handle is in the same subnet as your nodes
61+
# Create a file system, file export path and mount target in your VCN by following
62+
# https://docs.oracle.com/en-us/iaas/Content/File/Tasks/creatingfilesystems.htm#Using_the_Console
63+
# And setup your network for the file system by following:
64+
# https://docs.oracle.com/en-us/iaas/Content/File/Tasks/securitylistsfilestorage.htm
65+
# Mandatory
66+
export FSS_VOLUME_HANDLE=""
5967

6068
# For debugging the tests in existing cluster, do not turn it off by default.
6169
# Optional
6270
# export DELETE_NAMESPACE=false
6371

64-
# FSS volume handle
65-
# format is FileSystemOCID:serverIP:path
66-
export FSS_VOLUME_HANDLE="ocid1.filesystem.oc1.iad.aaaaaaaaaacdndlxnfqwillqojxwiotjmfsc2ylefuyqaaaa:10.0.73.199:/oss-test"
67-
export FSS_VOLUME_HANDLE_ARM="ocid1.filesystem.oc1.iad.aaaaaaaaaacdndlxnfqwillqojxwiotjmfsc2ylefuyqaaaa:10.0.73.199:/oss-test"
68-
69-
export MNT_TARGET_ID="ocid1.mounttarget.oc1.iad.aaaaacvippzjdfiynfqwillqojxwiotjmfsc2ylefuyqaaaa"
70-
export MNT_TARGET_SUBNET_ID="ocid1.subnet.oc1.iad.aaaaaaaafujcpvwdn3s2liqwrilolm7jmxkwq35zieo7zk4medjtqxjac7cq"
71-
export MNT_TARGET_COMPARTMENT_ID="ocid1.compartment.oc1..aaaaaaaaee2fxlf36idmiqlyvnyhkh2oquz5loogbmzat73hnnqhu2c3352a"
72+
# By default, public images are used. But if your Cluster's environment cannot access above public images then below option can be used to specify an accessible repo.
73+
# Optional
74+
# export IMAGE_PULL_REPO="accessiblerepo.com/repo/path/"
7275

73-
export STATIC_SNAPSHOT_COMPARTMENT_ID="ocid1.compartment.oc1..aaaaaaaaee2fxlf36idmiqlyvnyhkh2oquz5loogbmzat73hnnqhu2c3352a"
76+
export MNT_TARGET_ID=""
77+
export MNT_TARGET_SUBNET_ID=""
78+
export MNT_TARGET_COMPARTMENT_ID=""
7479

75-
# For SKE node, node_info, node_lifecycle controller tests against PDE
76-
# To setup PDE and point your localhost:25000 to the PDE CP API refer: Refer: https://bitbucket.oci.oraclecorp.com/projects/OKE/repos/oke-control-plane/browse/personal-environments/README.md
77-
# export CE_ENDPOINT_OVERRIDE="http://localhost:25000"
80+
export STATIC_SNAPSHOT_COMPARTMENT_ID=""
7881

7982
# Whether to run UHP E2Es or not, requires Volume Management Plugin enabled on the node and 16+ cores
8083
# Check the following doc for the exact requirements:
8184
# https://docs.oracle.com/en-us/iaas/Content/Block/Concepts/blockvolumeperformance.htm#shapes_block_details
82-
export RUN_UHP_E2E="false"
85+
export RUN_UHP_E2E="false"

manifests/cloud-controller-manager/oci-cloud-controller-manager.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ spec:
4242
path: /etc/kubernetes
4343
containers:
4444
- name: oci-cloud-controller-manager
45-
image: ghcr.io/yashwantgohokar/cloud-provider-oci:v1.31.0
45+
image: ghcr.io/oracle/cloud-provider-oci:v1.31.0
4646
command: ["/usr/local/bin/oci-cloud-controller-manager"]
4747
args:
4848
- --cloud-config=/etc/oci/cloud-provider.yaml

manifests/container-storage-interface/oci-csi-controller-driver.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ spec:
9696
- --fss-csi-endpoint=unix://var/run/shared-tmpfs/csi-fss.sock
9797
command:
9898
- /usr/local/bin/oci-csi-controller-driver
99-
image: ghcr.io/yashwantgohokar/cloud-provider-oci:v1.31.0
99+
image: ghcr.io/oracle/cloud-provider-oci:v1.31.0
100100
imagePullPolicy: IfNotPresent
101101
volumeMounts:
102102
- name: config

manifests/container-storage-interface/oci-csi-node-driver.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ spec:
117117
fieldPath: spec.nodeName
118118
- name: PATH
119119
value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/host/usr/bin:/host/sbin
120-
image: ghcr.io/yashwantgohokar/cloud-provider-oci:v1.31.0
120+
image: ghcr.io/oracle/cloud-provider-oci:v1.31.0
121121
securityContext:
122122
privileged: true
123123
volumeMounts:

manifests/flexvolume-driver/oci-flexvolume-driver.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:
4040
secretName: oci-flexvolume-driver
4141
containers:
4242
- name: oci-flexvolume-driver
43-
image: ghcr.io/yashwantgohokar/cloud-provider-oci:v1.31.0
43+
image: ghcr.io/oracle/cloud-provider-oci:v1.31.0
4444
command: ["/usr/local/bin/install.py", "-c", "/tmp/config.yaml"]
4545
securityContext:
4646
privileged: true
@@ -76,7 +76,7 @@ spec:
7676
type: DirectoryOrCreate
7777
containers:
7878
- name: oci-flexvolume-driver
79-
image: ghcr.io/yashwantgohokar/cloud-provider-oci:v1.31.0
79+
image: ghcr.io/oracle/cloud-provider-oci:v1.31.0
8080
command: ["/usr/local/bin/install.py"]
8181
securityContext:
8282
privileged: true

manifests/volume-provisioner/oci-volume-provisioner-fss.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
secretName: oci-volume-provisioner
3636
containers:
3737
- name: oci-volume-provisioner
38-
image: ghcr.io/yashwantgohokar/cloud-provider-oci:v1.31.0
38+
image: ghcr.io/oracle/cloud-provider-oci:v1.31.0
3939
command: ["/usr/local/bin/oci-volume-provisioner"]
4040
env:
4141
- name: NODE_NAME

manifests/volume-provisioner/oci-volume-provisioner.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
secretName: oci-volume-provisioner
3636
containers:
3737
- name: oci-volume-provisioner
38-
image: ghcr.io/yashwantgohokar/cloud-provider-oci:v1.31.0
38+
image: ghcr.io/oracle/cloud-provider-oci:v1.31.0
3939
command: ["/usr/local/bin/oci-volume-provisioner"]
4040
env:
4141
- name: NODE_NAME

0 commit comments

Comments
 (0)