Skip to content

Commit

Permalink
Add trimmed release version to env (#648)
Browse files Browse the repository at this point in the history
Signed-off-by: Jian Qiu <jqiu@redhat.com>
  • Loading branch information
qiujian16 authored Oct 16, 2024
1 parent 1e050b4 commit 8d1fdc2
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 16 deletions.
1 change: 1 addition & 0 deletions .github/workflows/chart-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
outputs:
MAJOR_RELEASE_VERSION: ${{ env.MAJOR_RELEASE_VERSION }}
RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
TRIMMED_RELEASE_VERSION: ${{ env.TRIMMED_RELEASE_VERSION }}
upload:
name: upload
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
outputs:
MAJOR_RELEASE_VERSION: ${{ env.MAJOR_RELEASE_VERSION }}
RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
TRIMMED_RELEASE_VERSION: ${{ env.TRIMMED_RELEASE_VERSION }}
release:
name: release
runs-on: ubuntu-latest
Expand Down
6 changes: 2 additions & 4 deletions pkg/addon/templateagent/testmanifests/addontemplate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,8 @@ spec:
kubeClient:
hubPermissions:
- type: CurrentCluster
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cm-admin
currentCluster:
clusterRoleName: cm-admin
- customSigner:
signerName: example.com/signer-name
signingCA:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,8 @@ spec:
kubeClient:
hubPermissions:
- type: CurrentCluster
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cm-admin
currentCluster:
clusterRoleName: cm-admin
- customSigner:
signerName: example.com/signer-name
signingCA:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,8 @@ spec:
kubeClient:
hubPermissions:
- type: CurrentCluster
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cm-admin
currentCluster:
clusterRoleName: cm-admin
- customSigner:
signerName: example.com/signer-name
signingCA:
Expand Down
6 changes: 2 additions & 4 deletions test/integration/addon/testmanifests/addontemplate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,8 @@ spec:
kubeClient:
hubPermissions:
- type: CurrentCluster
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cm-admin
currentCluster:
clusterRoleName: cm-admin
- customSigner:
signerName: example.com/signer-name
signingCA:
Expand Down

0 comments on commit 8d1fdc2

Please sign in to comment.