Skip to content

Commit

Permalink
Added cluster cni check
Browse files Browse the repository at this point in the history
  • Loading branch information
Inbaraj-S committed Nov 3, 2023
1 parent 752a4f1 commit a9a2dbd
Show file tree
Hide file tree
Showing 149 changed files with 14,342 additions and 308 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
name: Unit Tests

on:
pull_request: {}
push: {}
pull_request: { }
push: { }
jobs:
build:
name: Build
Expand All @@ -30,7 +30,7 @@ jobs:
- name: Run Unit Tests
run: |
go test -covermode=count -coverprofile=profile.cov ./pkg/...
go test -covermode=count -coverprofile=profile.cov $(go list ./pkg/... | grep -v /server | grep -v /util)
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions helm/oci-native-ingress-controller/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ spec:
- --controller-class={{ .Values.controller_class }}
- --compartment-id={{ .Values.compartment_id }}
- --subnet-id={{ .Values.subnet_id }}
- --cluster-id={{.Values.cluster_id }}
- --metrics-backend={{.Values.metrics.backend}}
- --metrics-port={{.Values.metrics.port}}
- --cniType={{.Values.cniType}}
- --v=4
env:
- name: OCI_RESOURCE_PRINCIPAL_VERSION
value: "2.2"
- name: OCI_RESOURCE_PRINCIPAL_REGION
value: "us-ashburn-1"
value: "us-phoenix-1"
- name: OCI_SDK_DEFAULT_RETRY_ENABLED
value: "true"
ports:
Expand Down
5 changes: 1 addition & 4 deletions helm/oci-native-ingress-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ controller_class: oci.oraclecloud.com/native-ingress-controller
lease_lock_name: oci-native-ingress-controller
compartment_id: ""
subnet_id: ""
cluster_id: ""

deploymentNamespace : native-ingress-controller-system
replicaCount: 1
Expand Down Expand Up @@ -110,7 +111,3 @@ objectSelector:
metrics:
backend: prometheus
port: 2223


# Supported CNI : OCI_VCN_IP_NATIVE, FLANNEL_OVERLAY
cniType: OCI_VCN_IP_NATIVE
Loading

0 comments on commit a9a2dbd

Please sign in to comment.