Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OKE-27032 Flannel Support #28

Merged
merged 3 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 /testutil)
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ Allow <subject> to read certificate-authority-bundles in compartment <compartmen
ALLOW <subject> native-ingress-controller to read public-ips in tenancy
ALLOW <subject> native-ingress-controller to manage floating-ips in tenancy
Allow <subject> to manage waf-family in compartment <compartment-id>
Allow <subject> to read cluster-family in compartment <compartment-id>

Policy scope can be broadened to Tenancy or restricted to a particular location as shown below:
allow <subject> to manage load-balancers in tenancy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ metadata:
name: oci-native-ingress-controller
namespace: native-ingress-controller-system
labels:
helm.sh/chart: oci-native-ingress-controller-1.2.0
helm.sh/chart: oci-native-ingress-controller-1.3.0
app.kubernetes.io/name: oci-native-ingress-controller
app.kubernetes.io/instance: oci-native-ingress-controller
app.kubernetes.io/version: "1.2.0"
app.kubernetes.io/version: "1.3.0"
app.kubernetes.io/managed-by: Helm
spec:
replicas: 1
Expand Down Expand Up @@ -51,7 +51,7 @@ spec:
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000
image: "ghcr.io/oracle/oci-native-ingress-controller:v1.2.0"
image: "ghcr.io/oracle/oci-native-ingress-controller:v1.3.0"
imagePullPolicy: Always
args:
- --lease-lock-name=oci-native-ingress-controller
Expand All @@ -61,14 +61,15 @@ spec:
- --controller-class=oci.oraclecloud.com/native-ingress-controller
- --compartment-id=
- --subnet-id=
- --cluster-id=
- --metrics-backend=prometheus
- --metrics-port=2223
- --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
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ kind: ClusterRole
metadata:
name: oci-native-ingress-controller-role
labels:
helm.sh/chart: oci-native-ingress-controller-1.2.0
helm.sh/chart: oci-native-ingress-controller-1.3.0
app.kubernetes.io/name: oci-native-ingress-controller
app.kubernetes.io/instance: oci-native-ingress-controller
app.kubernetes.io/version: "1.2.0"
app.kubernetes.io/version: "1.3.0"
app.kubernetes.io/managed-by: Helm
rules:
- apiGroups: [""]
Expand Down Expand Up @@ -48,10 +48,10 @@ kind: ClusterRoleBinding
metadata:
name: oci-native-ingress-controller-rolebinding
labels:
helm.sh/chart: oci-native-ingress-controller-1.2.0
helm.sh/chart: oci-native-ingress-controller-1.3.0
app.kubernetes.io/name: oci-native-ingress-controller
app.kubernetes.io/instance: oci-native-ingress-controller
app.kubernetes.io/version: "1.2.0"
app.kubernetes.io/version: "1.3.0"
app.kubernetes.io/managed-by: Helm
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand All @@ -69,10 +69,10 @@ metadata:
name: oci-native-ingress-controller-leader-election-role
namespace: native-ingress-controller-system
labels:
helm.sh/chart: oci-native-ingress-controller-1.2.0
helm.sh/chart: oci-native-ingress-controller-1.3.0
app.kubernetes.io/name: oci-native-ingress-controller
app.kubernetes.io/instance: oci-native-ingress-controller
app.kubernetes.io/version: "1.2.0"
app.kubernetes.io/version: "1.3.0"
app.kubernetes.io/managed-by: Helm
rules:
- apiGroups: ["coordination.k8s.io"]
Expand All @@ -90,10 +90,10 @@ metadata:
name: oci-native-ingress-controller-leader-election-rolebinding
namespace: native-ingress-controller-system
labels:
helm.sh/chart: oci-native-ingress-controller-1.2.0
helm.sh/chart: oci-native-ingress-controller-1.3.0
app.kubernetes.io/name: oci-native-ingress-controller
app.kubernetes.io/instance: oci-native-ingress-controller
app.kubernetes.io/version: "1.2.0"
app.kubernetes.io/version: "1.3.0"
app.kubernetes.io/managed-by: Helm
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ metadata:
name: oci-native-ingress-controller
namespace: native-ingress-controller-system
labels:
helm.sh/chart: oci-native-ingress-controller-1.2.0
helm.sh/chart: oci-native-ingress-controller-1.3.0
app.kubernetes.io/name: oci-native-ingress-controller
app.kubernetes.io/instance: oci-native-ingress-controller
app.kubernetes.io/version: "1.2.0"
app.kubernetes.io/version: "1.3.0"
app.kubernetes.io/managed-by: Helm
spec:
type: ClusterIP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ metadata:
name: oci-native-ingress-controller
namespace: native-ingress-controller-system
labels:
helm.sh/chart: oci-native-ingress-controller-1.2.0
helm.sh/chart: oci-native-ingress-controller-1.3.0
app.kubernetes.io/name: oci-native-ingress-controller
app.kubernetes.io/instance: oci-native-ingress-controller
app.kubernetes.io/version: "1.2.0"
app.kubernetes.io/version: "1.3.0"
app.kubernetes.io/managed-by: Helm
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ kind: MutatingWebhookConfiguration
metadata:
name: oci-native-ingress-controller-webhook
labels:
helm.sh/chart: oci-native-ingress-controller-1.2.0
helm.sh/chart: oci-native-ingress-controller-1.3.0
app.kubernetes.io/name: oci-native-ingress-controller
app.kubernetes.io/instance: oci-native-ingress-controller
app.kubernetes.io/version: "1.2.0"
app.kubernetes.io/version: "1.3.0"
app.kubernetes.io/managed-by: Helm
annotations:
cert-manager.io/inject-ca-from: native-ingress-controller-system/oci-native-ingress-controller-webhook-serving-cert
Expand Down
4 changes: 2 additions & 2 deletions helm/oci-native-ingress-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ apiVersion: v2
name: oci-native-ingress-controller
description: OCI Native Ingress Controller
type: application
version: 1.2.0
appVersion: "1.2.0"
version: 1.3.0
appVersion: "1.3.0"

maintainers:
- name: OKE Foundations team
Expand Down
3 changes: 2 additions & 1 deletion helm/oci-native-ingress-controller/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +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}}
- --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
3 changes: 2 additions & 1 deletion 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 All @@ -21,7 +22,7 @@ image:
repository: ghcr.io/oracle/oci-native-ingress-controller
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "v1.2.0"
tag: "v1.3.0"

imagePullSecrets: []
nameOverride: ""
Expand Down
Loading
Loading