Skip to content

Commit

Permalink
Manifest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
YashwantGohokar committed Jun 27, 2024
1 parent f5492ee commit 44aec56
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 37 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${GITHUB_ACTOR,,} --password-stdin

- name: Build Image
run: OSS_REGISTRY="ghcr.io/${GITHUB_ACTOR,,}" VERSION="${{ github.ref_name }}" make image
run: OSS_REGISTRY="ghcr.io/oracle" VERSION="${{ github.ref_name }}" make image

- name: Push Image
run: OSS_REGISTRY="ghcr.io/${GITHUB_ACTOR,,}" VERSION="${{ github.ref_name }}" make docker-push-all
run: OSS_REGISTRY="ghcr.io/oracle" VERSION="${{ github.ref_name }}" make docker-push-all
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
path: /etc/kubernetes
containers:
- name: oci-cloud-controller-manager
image: ghcr.io/oracle/cloud-provider-oci:v1.28.0
image: ghcr.io/oracle/cloud-provider-oci:v1.28.1
command: ["/usr/local/bin/oci-cloud-controller-manager"]
args:
- --cloud-config=/etc/oci/cloud-provider.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
node-role.kubernetes.io/control-plane: ""
containers:
- name: csi-volume-provisioner
image: registry.k8s.io/sig-storage/csi-provisioner:v3.6.0
image: registry.k8s.io/sig-storage/csi-provisioner:v5.0.1
args:
- --csi-address=/var/run/shared-tmpfs/csi.sock
- --volume-name-prefix=csi
Expand All @@ -37,7 +37,7 @@ spec:
- mountPath: /var/run/shared-tmpfs
name: shared-tmpfs
- name: csi-fss-volume-provisioner
image: registry.k8s.io/sig-storage/csi-provisioner:v3.6.0
image: registry.k8s.io/sig-storage/csi-provisioner:v5.0.1
args:
- --csi-address=/var/run/shared-tmpfs/csi-fss.sock
- --volume-name-prefix=csi-fss
Expand All @@ -52,7 +52,7 @@ spec:
- mountPath: /var/run/shared-tmpfs
name: shared-tmpfs
- name: csi-attacher
image: registry.k8s.io/sig-storage/csi-attacher:v4.4.0
image: registry.k8s.io/sig-storage/csi-attacher:v4.6.1
args:
- --csi-address=/var/run/shared-tmpfs/csi.sock
- --timeout=120s
Expand All @@ -65,7 +65,7 @@ spec:
- mountPath: /var/run/shared-tmpfs
name: shared-tmpfs
- name: csi-resizer
image: registry.k8s.io/sig-storage/csi-resizer:v1.9.0
image: registry.k8s.io/sig-storage/csi-resizer:v1.11.1
args:
- --csi-address=/var/run/shared-tmpfs/csi.sock
- --leader-election
Expand Down Expand Up @@ -96,7 +96,7 @@ spec:
- --fss-csi-endpoint=unix://var/run/shared-tmpfs/csi-fss.sock
command:
- /usr/local/bin/oci-csi-controller-driver
image: ghcr.io/oracle/cloud-provider-oci:v1.28.0
image: ghcr.io/oracle/cloud-provider-oci:v1.28.1
imagePullPolicy: IfNotPresent
volumeMounts:
- name: config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ spec:
fieldPath: spec.nodeName
- name: PATH
value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/host/usr/bin:/host/sbin
image: ghcr.io/oracle/cloud-provider-oci:v1.28.0
image: ghcr.io/oracle/cloud-provider-oci:v1.28.1
securityContext:
privileged: true
volumeMounts:
Expand Down
4 changes: 2 additions & 2 deletions manifests/flexvolume-driver/oci-flexvolume-driver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
secretName: oci-flexvolume-driver
containers:
- name: oci-flexvolume-driver
image: ghcr.io/oracle/cloud-provider-oci:v1.28.0
image: ghcr.io/oracle/cloud-provider-oci:v1.28.1
command: ["/usr/local/bin/install.py", "-c", "/tmp/config.yaml"]
securityContext:
privileged: true
Expand Down Expand Up @@ -76,7 +76,7 @@ spec:
type: DirectoryOrCreate
containers:
- name: oci-flexvolume-driver
image: ghcr.io/oracle/cloud-provider-oci:v1.28.0
image: ghcr.io/oracle/cloud-provider-oci:v1.28.1
command: ["/usr/local/bin/install.py"]
securityContext:
privileged: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
secretName: oci-volume-provisioner
containers:
- name: oci-volume-provisioner
image: ghcr.io/oracle/cloud-provider-oci:v1.28.0
image: ghcr.io/oracle/cloud-provider-oci:v1.28.1
command: ["/usr/local/bin/oci-volume-provisioner"]
env:
- name: NODE_NAME
Expand Down
2 changes: 1 addition & 1 deletion manifests/volume-provisioner/oci-volume-provisioner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
secretName: oci-volume-provisioner
containers:
- name: oci-volume-provisioner
image: ghcr.io/oracle/cloud-provider-oci:v1.28.0
image: ghcr.io/oracle/cloud-provider-oci:v1.28.1
command: ["/usr/local/bin/oci-volume-provisioner"]
env:
- name: NODE_NAME
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/cloud-provider-oci/csi_snapshot_restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const (
var _ = Describe("Snapshot Creation and Restore", func() {
f := framework.NewBackupFramework("snapshot-restore")

Context("[cloudprovider][storage][csi][snapshot][restore]", func() {
Context("[cloudprovider][storage][csi][snapshot][restore][test1]", func() {
tests := []struct{
attachmentType string
backupType string
Expand Down
1 change: 0 additions & 1 deletion test/e2e/cloud-provider-oci/csi_volume_creation.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ var _ = Describe("CSI Volume Creation", func() {
// volume name duplicate should not exist
for _, volume := range volumes {
framework.Logf("volume details %v :", volume)
framework.Logf("cluster ocid from setup is %s", setupF.ClusterOcid)
if setupF.AddOkeSystemTags && !framework.HasOkeSystemTags(volume.SystemTags) {
framework.Failf("the resource %s is expected to have oke system tags", *volume.Id)
}
Expand Down
6 changes: 1 addition & 5 deletions test/e2e/cloud-provider-oci/load_balancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,15 @@ package e2e

import (
"context"
"encoding/json"
"fmt"
"net"
"reflect"
"strconv"
"strings"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
cloudprovider "github.com/oracle/oci-cloud-controller-manager/pkg/cloudprovider/providers/oci"
sharedfw "github.com/oracle/oci-cloud-controller-manager/test/e2e/framework"
"github.com/oracle/oci-go-sdk/v65/containerengine"
"github.com/oracle/oci-go-sdk/v65/core"

"go.uber.org/zap"
Expand Down Expand Up @@ -59,7 +56,7 @@ var _ = Describe("Service [Slow]", func() {
},
},
}
Context("[cloudprovider][ccm][lb][SL][system-tags]", func() {
Context("[cloudprovider][ccm][lb][SL][system-tags][test]", func() {
It("should be possible to create and mutate a Service type:LoadBalancer (change nodeport) [Canary]", func() {
for _, test := range basicTestArray {
By("Running test for: " + test.lbType)
Expand Down Expand Up @@ -120,7 +117,6 @@ var _ = Describe("Service [Slow]", func() {
loadBalancer, err := f.Client.LoadBalancer(zap.L().Sugar(), lbType, "", nil).GetLoadBalancerByName(ctx, compartmentId, lbName)
sharedfw.ExpectNoError(err)
sharedfw.Logf("Loadbalancer details %v:", loadBalancer)
sharedfw.Logf("cluster ocid from setup is %s", setupF.ClusterOcid)
if setupF.AddOkeSystemTags && !sharedfw.HasOkeSystemTags(loadBalancer.SystemTags) {
sharedfw.Failf("Loadbalancer is expected to have the system tags")
}
Expand Down
4 changes: 0 additions & 4 deletions test/e2e/cloud-provider-oci/setup.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
package e2e

import (
"time"

"github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
sharedfw "github.com/oracle/oci-cloud-controller-manager/test/e2e/framework"
oke "github.com/oracle/oci-go-sdk/v65/containerengine"
)

var setupF *sharedfw.Framework
Expand Down
13 changes: 0 additions & 13 deletions test/e2e/framework/framework.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,13 @@
package framework

import (
"context"
"flag"
"fmt"
"io/ioutil"
"math/rand"
"os"
"strconv"
"strings"
"time"

imageutils "k8s.io/kubernetes/test/utils/image"

"github.com/oracle/oci-cloud-controller-manager/pkg/cloudprovider/providers/oci/config"

. "github.com/onsi/gomega"
"github.com/oracle/oci-go-sdk/v65/common"
oke "github.com/oracle/oci-go-sdk/v65/containerengine"
"github.com/oracle/oci-go-sdk/v65/core"
"github.com/oracle/oci-go-sdk/v65/identity"
"gopkg.in/yaml.v2"
)

const (
Expand Down

0 comments on commit 44aec56

Please sign in to comment.