diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a032709..8a3d6c0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,8 +27,8 @@ jobs: runs-on: ubuntu-latest needs: test env: - WASM_BINARY_NAME: psp_flexvolume_drivers - OCI_TARGET: ghcr.io/kubewarden/policies/psp-flexvolume-drivers + WASM_BINARY_NAME: flexvolume_drivers_psp + OCI_TARGET: ghcr.io/kubewarden/policies/flexvolume-drivers-psp METADATA_FILE: metadata.yml KWCTL_VERSION: v0.1.9 steps: diff --git a/Cargo.lock b/Cargo.lock index 17014af..7730710 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -40,6 +40,17 @@ dependencies = [ "winapi", ] +[[package]] +name = "flexvolume-drivers-psp" +version = "0.1.1" +dependencies = [ + "k8s-openapi", + "kubewarden-policy-sdk", + "serde", + "serde_json", + "wapc-guest", +] + [[package]] name = "fnv" version = "1.0.7" @@ -247,17 +258,6 @@ dependencies = [ "unicode-xid", ] -[[package]] -name = "psp-flexvolume-drivers" -version = "0.1.0" -dependencies = [ - "k8s-openapi", - "kubewarden-policy-sdk", - "serde", - "serde_json", - "wapc-guest", -] - [[package]] name = "quote" version = "1.0.10" diff --git a/Cargo.toml b/Cargo.toml index 9e52dd6..70df66c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "psp-flexvolume-drivers" -version = "0.1.0" +name = "flexvolume-drivers-psp" +version = "0.1.1" authors = ["Rafael Fernández López "] edition = "2018" @@ -14,4 +14,4 @@ k8s-openapi = { version = "0.11.0", features = ["v1_20"] } kubewarden-policy-sdk = "0.2.3" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -wapc-guest = "0.4.0" \ No newline at end of file +wapc-guest = "0.4.0" diff --git a/hub.yml b/hub.yml index ddfaa34..04007f0 100644 --- a/hub.yml +++ b/hub.yml @@ -1,4 +1,4 @@ -name: psp-flexvolume-drivers +name: flexvolume-drivers-psp description: Replacement for the Kubernetes Pod Security Policy that controls the allowed `flexVolume` drivers homepage: https://github.com/kubewarden/flexvolume-drivers-psp-policy author: @@ -6,7 +6,7 @@ author: homepage: https://github.com/kubewarden download: # Important: leave the __TAG__ around: this is automatically replaced with the value of the git tag - registry: ghcr.io/kubewarden/policies/psp-flexvolume-drivers:__TAG__ + registry: ghcr.io/kubewarden/policies/flexvolume-drivers-psp:__TAG__ # url is optional url: https://github.com/kubwarden/flexvolume-drivers-psp-policy/releases/download/__TAG__/policy.wasm keywords: