Skip to content

Commit 789a53e

Browse files
Merge branch 'master' into fix/permissions-related-resource-ignored
2 parents 0716c8b + 00f3822 commit 789a53e

21 files changed

+32
-26
lines changed

.github/workflows/draft-release.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
jobs:
1111
update_release_draft:
1212
runs-on: ubuntu-latest
13+
permissions:
14+
contents: write
15+
pull-requests: write
1316
steps:
1417
- uses: release-drafter/release-drafter@v5
1518
env:

codefresh/data_account.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
func dataSourceAccount() *schema.Resource {
1111
return &schema.Resource{
12-
Description: "This data source retrieves an account by _id or name.",
12+
Description: "This data source retrieves an account by _id or name. Requires a Codefresh admin token and applies only to Codefresh on-premises installations.",
1313
Read: dataSourceAccountRead,
1414
Schema: map[string]*schema.Schema{
1515
"_id": {

codefresh/data_idps.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
func dataSourceIdps() *schema.Resource {
1212
return &schema.Resource{
13-
Description: "This data source retrieves all Identity Providers (IdPs) in the system.",
13+
Description: "This data source retrieves all Identity Providers (IdPs) in the system. Requires a Codefresh admin token and applies only to Codefresh on-premises installations.",
1414
Read: dataSourceIdpRead,
1515
Schema: IdpSchema(),
1616
}

codefresh/data_user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
func dataSourceUser() *schema.Resource {
1212
return &schema.Resource{
13-
Description: "This data source retrieves a user by email.",
13+
Description: "This data source retrieves a user by email. Requires a Codefresh admin token and applies only to Codefresh on-premises installations.",
1414
Read: dataSourceUserRead,
1515
Schema: *UserSchema(),
1616
}

codefresh/data_users.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
func dataSourceUsers() *schema.Resource {
1111
return &schema.Resource{
12-
Description: "This data source retrieves all users in the system.",
12+
Description: "This data source retrieves all users in the system. Requires a Codefresh admin token and applies only to Codefresh on-premises installations.",
1313
Read: dataSourceUsersRead,
1414
Schema: map[string]*schema.Schema{
1515
"users": {

codefresh/resource_account.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
func resourceAccount() *schema.Resource {
99
return &schema.Resource{
1010
Description: `
11-
By creating different accounts for different teams within the same company a customer can achieve complete segregation of assets between the teams.
11+
By creating different accounts for different teams within the same company a customer can achieve complete segregation of assets between the teams. Requires a Codefresh admin token and applies only to Codefresh on-premises installations.
1212
`,
1313
Create: resourceAccountCreate,
1414
Read: resourceAccountRead,

codefresh/resource_account_admins.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
func resourceAccountAdmins() *schema.Resource {
1010
return &schema.Resource{
1111
Description: `
12-
Use this resource to set a list of admins for any account.
12+
Use this resource to set a list of admins for any account. Requires a Codefresh admin token and applies only to Codefresh on-premises installations.
1313
`,
1414
Create: resourceAccountAdminsCreate,
1515
Read: resourceAccountAdminsRead,

codefresh/resource_api_key.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ func resourceApiKey() *schema.Resource {
1414
return &schema.Resource{
1515
Description: `
1616
Manages an API Key tied to an Account and a User.
17+
Requires a Codefresh admin token and applies only to Codefresh on-premises installations.
1718
`,
1819
Create: resourceApiKeyCreate,
1920
Read: resourceApiKeyRead,

codefresh/resource_idp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616

1717
func resourceIdp() *schema.Resource {
1818
return &schema.Resource{
19-
Description: "Codefresh global level identity provider. Requires Codefresh admin token, hence is relevant only for on-prem deployments of Codefresh",
19+
Description: "Codefresh global level identity provider. Requires a Codefresh admin token and applies only to Codefresh on-premises installations.",
2020
Create: resourceIDPCreate,
2121
Read: resourceIDPRead,
2222
Update: resourceIDPUpdate,

codefresh/resource_user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
func resourceUser() *schema.Resource {
1313
return &schema.Resource{
14-
Description: "This resource is used to manage a Codefresh user.",
14+
Description: "This resource is used to manage a Codefresh user. Requires a Codefresh admin token and applies only to Codefresh on-premises installations.",
1515
Create: resourceUsersCreate,
1616
Read: resourceUsersRead,
1717
Update: resourceUsersUpdate,

0 commit comments

Comments
 (0)