Skip to content

Commit

Permalink
Merge branch 'main' into sylvainsf-pr-format-check
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvainsf authored Mar 1, 2024
2 parents 92c46b7 + e3c8e51 commit 07081e1
Show file tree
Hide file tree
Showing 88 changed files with 3,979 additions and 416 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
generate_release_note:
name: Generate release note from template
runs-on: ubuntu-latest
if: github.repository == 'radius-project/radius' && github.event_name == 'pull_request' && github.event.pull_request.head.ref == 'main'
# We should only create the release note if this is a pull request against main
if: github.repository == 'radius-project/radius' && github.event_name == 'pull_request' && github.base_ref == 'main'
env:
RELNOTE_FOUND: false
steps:
Expand Down Expand Up @@ -151,6 +152,13 @@ jobs:
ref: main
token: ${{ secrets.GH_RAD_CI_BOT_PAT }}
path: recipes
- name: Checkout radius-project/dashboard@main
uses: actions/checkout@v3
with:
repository: radius-project/dashboard
ref: main
token: ${{ secrets.GH_RAD_CI_BOT_PAT }}
path: dashboard
- name: Set up GitHub credentials
run: |
git config --global user.name "Radius CI Bot"
Expand Down Expand Up @@ -214,3 +222,7 @@ jobs:
if: success() && steps.release-branch-exists.outputs.result == 'false'
run: |
./radius/.github/scripts/release-create-tag-and-branch.sh recipes ${{ steps.get-version.outputs.release-version }} ${{ steps.get-version.outputs.release-branch-name }}
- name: Release radius-project/dashboard version ${{ steps.get-version.outputs.release-version }}
if: success() && steps.release-branch-exists.outputs.result == 'false'
run: |
./radius/.github/scripts/release-create-tag-and-branch.sh dashboard ${{ steps.get-version.outputs.release-version }} ${{ steps.get-version.outputs.release-branch-name }}
34 changes: 34 additions & 0 deletions deploy/Chart/templates/dashboard/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{{- if .Values.dashboard.enabled }}
{{- $appversion := include "radius.versiontag" . }}
apiVersion: apps/v1
kind: Deployment
metadata:
name: dashboard
namespace: "{{ .Release.Namespace }}"
labels:
control-plane: dashboard
app.kubernetes.io/name: dashboard
app.kubernetes.io/part-of: radius
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: dashboard
template:
metadata:
labels:
control-plane: dashboard
app.kubernetes.io/name: dashboard
app.kubernetes.io/part-of: radius
spec:
serviceAccountName: dashboard
containers:
- name: dashboard
image: "{{ .Values.dashboard.image }}:{{ .Values.dashboard.tag | default $appversion }}"
imagePullPolicy: Always
ports:
- name: http
containerPort: {{ .Values.dashboard.containerPort }}
securityContext:
allowPrivilegeEscalation: false
{{- end }}
31 changes: 31 additions & 0 deletions deploy/Chart/templates/dashboard/rbac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{{- if .Values.dashboard.enabled }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: dashboard
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: dashboard
app.kubernetes.io/part-of: radius
rules:
- apiGroups: ['api.ucp.dev']
resources: ['*']
verbs: ['get', 'list']
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: dashboard
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: dashboard
app.kubernetes.io/part-of: radius
subjects:
- kind: ServiceAccount
name: dashboard
namespace: {{ .Release.Namespace }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: dashboard
{{- end }}
17 changes: 17 additions & 0 deletions deploy/Chart/templates/dashboard/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{{- if .Values.dashboard.enabled }}
apiVersion: v1
kind: Service
metadata:
name: dashboard
namespace: "{{ .Release.Namespace }}"
labels:
app.kubernetes.io/name: dashboard
app.kubernetes.io/part-of: radius
spec:
ports:
- name: http
port: 80
targetPort: {{ .Values.dashboard.containerPort }}
selector:
app.kubernetes.io/name: dashboard
{{- end }}
10 changes: 10 additions & 0 deletions deploy/Chart/templates/dashboard/serviceaccount.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{{- if .Values.dashboard.enabled }}
apiVersion: v1
kind: ServiceAccount
metadata:
name: dashboard
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: dashboard
app.kubernetes.io/part-of: radius
{{- end }}
12 changes: 12 additions & 0 deletions deploy/Chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,15 @@ rp:
deleteRetryDelaySeconds: 60
terraform:
path: "/terraform"

dashboard:
enabled: true
containerPort: 7007
image: ghcr.io/radius-project/dashboard
# Default tag uses Chart AppVersion.
# tag: latest
resources:
requests:
memory: "60Mi"
limits:
memory: "300Mi"
65 changes: 65 additions & 0 deletions docs/release-notes/v0.31.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
## Announcing Radius v0.31.0

Today we're happy to announce the release of Radius v0.31.0. Check out the [highlights](#highlights) below, along with the [full changelog](#full-changelog) for more details.

We would like to extend our thanks to all the [new](#new-contributors) and existing contributors who helped make this release possible!

## Intro to Radius

If you're new to Radius, check out our website, [radapp.io](https://radapp.io), for more information. Also visit our [getting started guide](https://docs.radapp.io/getting-started/) to learn how to install Radius and create your first app.

## Highlights

## Breaking changes

None

## New contributors

Welcome to our new contributors who have merged their first PR in this release!

* @jhandel made their first contribution in <https://github.com/radius-project/radius/pull/7095>

## Upgrading to Radius v0.31.0

During our preview stage, an upgrade to Radius v0.31.0 requires a full reinstallation of the Radius control-plane, rad CLI, and all Radius apps. Stay tuned for an in-place upgrade path in the future.

1. Delete any environments you have created:
```bash
rad env delete <env-name>
```
1. Uninstall the previous version of the Radius control-plane:
```bash
rad uninstall kubernetes
```
1. Visit the [Radius installation guide](https://docs.radapp.io/getting-started/install/) to install the latest CLI, or download a binary below
1. Install the latest version of the Radius control-plane:
```bash
rad install kubernetes
```

## Full changelog

* Fix Delete application confirmation message points to the workspace but says environment #7089 by @jhandel in <https://github.com/radius-project/radius/pull/7095>
* versions.yaml updated for release 0.30 - final release by @vinayada1 in <https://github.com/radius-project/radius/pull/7103>
* Run release workflow on push to release branch by @willdavsmith in <https://github.com/radius-project/radius/pull/7127>
* Adding GHCR login step to the long running tests by @ytimocin in <https://github.com/radius-project/radius/pull/7130>
* Use unique resource names in test Terraform Recipe by @kachawla in <https://github.com/radius-project/radius/pull/7108>
* Add GH action to close stale PRs by @kachawla in <https://github.com/radius-project/radius/pull/7143>
* Rename stale PRs workflow filename by @kachawla in <https://github.com/radius-project/radius/pull/7152>
* Update RequireResource to handle duplicate short names and proper fully qualified names (also make life a little better for windows file system contributors) by @jhandel in <https://github.com/radius-project/radius/pull/7134>
* Update Namespace.ValidateNamespace to add workspace to arguments by @jhandel in <https://github.com/radius-project/radius/pull/7154>
* Set go version to 1.21.7 by @youngbupark in <https://github.com/radius-project/radius/pull/7179>
* updating patch api def for applications resource by @vishwahiremat in <https://github.com/radius-project/radius/pull/7182>
* Adding changes to extend secret stores scope to global by @vishwahiremat in <https://github.com/radius-project/radius/pull/7155>
* Adding support for terraform private module source for git by @vishwahiremat in <https://github.com/radius-project/radius/pull/7167>
* Adding dashboard release branch creation and tag push by @willdavsmith in <https://github.com/radius-project/radius/pull/7160>
* Fix syntax error in release workflow by @willdavsmith in <https://github.com/radius-project/radius/pull/7200>
* Add dashboard to Radius installation and rad run by @willdavsmith in <https://github.com/radius-project/radius/pull/7186>
* Update typespec to support all Terraform Recipe Providers and Env by @ytimocin in <https://github.com/radius-project/radius/pull/7202>
* Add support to set environment variables to Terraform environment by @lakshmimsft in <https://github.com/radius-project/radius/pull/7192>
* Add logic to build configuration for multiple Terraform providers support by @lakshmimsft in <https://github.com/radius-project/radius/pull/7189>
* Updating versions.yaml for 0.31-rc1 by @ytimocin in <https://github.com/radius-project/radius/pull/7205>
* Fix release workflow to include dashboard repo clone by @willdavsmith in <https://github.com/radius-project/radius/pull/7206>
* Updating versions.yaml for 0.31-rc2 by @ytimocin in <https://github.com/radius-project/radius/pull/7209>
* Updating versions.yaml for 0.31-rc3 by @ytimocin in <https://github.com/radius-project/radius/pull/7212>

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion hack/bicep-types-radius/generated/index.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Resources":{"Applications.Core/applications@2023-10-01-preview":{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":58},"Applications.Core/containers@2023-10-01-preview":{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":123},"Applications.Core/environments@2023-10-01-preview":{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":148},"Applications.Core/extenders@2023-10-01-preview":{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":166},"Applications.Core/gateways@2023-10-01-preview":{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":187},"Applications.Core/httpRoutes@2023-10-01-preview":{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":201},"Applications.Core/secretStores@2023-10-01-preview":{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":224},"Applications.Core/volumes@2023-10-01-preview":{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":261},"Applications.Dapr/pubSubBrokers@2023-10-01-preview":{"RelativePath":"applications/applications.dapr/2023-10-01-preview/types.json","Index":49},"Applications.Dapr/secretStores@2023-10-01-preview":{"RelativePath":"applications/applications.dapr/2023-10-01-preview/types.json","Index":66},"Applications.Dapr/stateStores@2023-10-01-preview":{"RelativePath":"applications/applications.dapr/2023-10-01-preview/types.json","Index":84},"Applications.Datastores/mongoDatabases@2023-10-01-preview":{"RelativePath":"applications/applications.datastores/2023-10-01-preview/types.json","Index":50},"Applications.Datastores/redisCaches@2023-10-01-preview":{"RelativePath":"applications/applications.datastores/2023-10-01-preview/types.json","Index":69},"Applications.Datastores/sqlDatabases@2023-10-01-preview":{"RelativePath":"applications/applications.datastores/2023-10-01-preview/types.json","Index":88},"Applications.Messaging/rabbitMQQueues@2023-10-01-preview":{"RelativePath":"applications/applications.messaging/2023-10-01-preview/types.json","Index":50}},"Functions":{"applications.core/extenders":{"2023-10-01-preview":[{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":262}]},"applications.core/secretstores":{"2023-10-01-preview":[{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":268}]},"applications.datastores/mongodatabases":{"2023-10-01-preview":[{"RelativePath":"applications/applications.datastores/2023-10-01-preview/types.json","Index":90}]},"applications.datastores/rediscaches":{"2023-10-01-preview":[{"RelativePath":"applications/applications.datastores/2023-10-01-preview/types.json","Index":92}]},"applications.datastores/sqldatabases":{"2023-10-01-preview":[{"RelativePath":"applications/applications.datastores/2023-10-01-preview/types.json","Index":94}]},"applications.messaging/rabbitmqqueues":{"2023-10-01-preview":[{"RelativePath":"applications/applications.messaging/2023-10-01-preview/types.json","Index":52}]}}}
{"Resources":{"Applications.Core/applications@2023-10-01-preview":{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":58},"Applications.Core/containers@2023-10-01-preview":{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":123},"Applications.Core/environments@2023-10-01-preview":{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":158},"Applications.Core/extenders@2023-10-01-preview":{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":176},"Applications.Core/gateways@2023-10-01-preview":{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":197},"Applications.Core/httpRoutes@2023-10-01-preview":{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":211},"Applications.Core/secretStores@2023-10-01-preview":{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":234},"Applications.Core/volumes@2023-10-01-preview":{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":271},"Applications.Dapr/pubSubBrokers@2023-10-01-preview":{"RelativePath":"applications/applications.dapr/2023-10-01-preview/types.json","Index":49},"Applications.Dapr/secretStores@2023-10-01-preview":{"RelativePath":"applications/applications.dapr/2023-10-01-preview/types.json","Index":66},"Applications.Dapr/stateStores@2023-10-01-preview":{"RelativePath":"applications/applications.dapr/2023-10-01-preview/types.json","Index":84},"Applications.Datastores/mongoDatabases@2023-10-01-preview":{"RelativePath":"applications/applications.datastores/2023-10-01-preview/types.json","Index":50},"Applications.Datastores/redisCaches@2023-10-01-preview":{"RelativePath":"applications/applications.datastores/2023-10-01-preview/types.json","Index":69},"Applications.Datastores/sqlDatabases@2023-10-01-preview":{"RelativePath":"applications/applications.datastores/2023-10-01-preview/types.json","Index":88},"Applications.Messaging/rabbitMQQueues@2023-10-01-preview":{"RelativePath":"applications/applications.messaging/2023-10-01-preview/types.json","Index":50}},"Functions":{"applications.core/extenders":{"2023-10-01-preview":[{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":272}]},"applications.core/secretstores":{"2023-10-01-preview":[{"RelativePath":"applications/applications.core/2023-10-01-preview/types.json","Index":278}]},"applications.datastores/mongodatabases":{"2023-10-01-preview":[{"RelativePath":"applications/applications.datastores/2023-10-01-preview/types.json","Index":90}]},"applications.datastores/rediscaches":{"2023-10-01-preview":[{"RelativePath":"applications/applications.datastores/2023-10-01-preview/types.json","Index":92}]},"applications.datastores/sqldatabases":{"2023-10-01-preview":[{"RelativePath":"applications/applications.datastores/2023-10-01-preview/types.json","Index":94}]},"applications.messaging/rabbitmqqueues":{"2023-10-01-preview":[{"RelativePath":"applications/applications.messaging/2023-10-01-preview/types.json","Index":52}]}}}
Loading

0 comments on commit 07081e1

Please sign in to comment.