Skip to content

Commit 48a73c4

Browse files
authored
Merge pull request #4 from chezmoi-sh/docs/update-documentation
📝(gh): Update documentation for this provider
2 parents 53d9629 + e333688 commit 48a73c4

File tree

6 files changed

+319
-35
lines changed

6 files changed

+319
-35
lines changed

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
# See also OWNERS.md for governance details
1515

1616
# Fallback owners
17-
* @ulucinar @sergenyalcin
17+
* @xunleii

CODE_OF_CONDUCT.md

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1-
## Code of Conduct
1+
# Code of Conduct
22

3-
Upjet is under [the Apache 2.0 license](LICENSE) with [notice](NOTICE).
3+
All participants of `cloudflare-provider` are expected to abide by our Code of Conduct, both online and during
4+
in-person events that are hosted and/or associated with `cloudflare-provider`.
5+
6+
## The Pledge
7+
8+
In the interest of fostering an open and welcoming environment, we pledge to make participation in our project
9+
and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity,
10+
level of experience, nationality, personal appearance, race, religion, sex or sexual orientation.
11+
12+
## The Standards
13+
14+
Examples of behaviour that contributes to creating a positive environment include:
15+
16+
- Using welcoming and inclusive language
17+
- Being respectful of differing viewpoints and experiences
18+
- Gracefully accepting constructive criticism
19+
20+
Examples of unacceptable behaviour by participants include:
21+
22+
- Trolling, insulting/derogatory comments, public or private harassment
23+
- Publishing others' private information, such as a physical or electronic address, without explicit permission
24+
- Not being respectful to reasonable communication boundaries, such as 'leave me alone,' 'go away,' or 'I’m not
25+
discussing this with you.'
26+
- The usage of sexualised language or imagery and unwelcome sexual attention or advances
27+
- Swearing, usage of strong or disturbing language
28+
- Demonstrating the graphics or any other content you know may be considered disturbing
29+
- Starting and/or participating in arguments related to politics
30+
- Assuming or promoting any kind of inequality including but not limited to: age, body size, disability, ethnicity,
31+
nationality and race, personal appearance, religion, sex or sexual orientation
32+
- Drug promotion of any kind
33+
- Attacking personal tastes
34+
- Other conduct which you know could reasonably be considered inappropriate in a professional setting.
35+
36+
## Enforcement
37+
38+
Violations of the Code of Conduct may be reported by sending an email to `[email protected]`.
39+
All reports will be reviewed and investigated and will result in a response that is deemed necessary and appropriate
40+
to the circumstances. Further details of specific enforcement policies may be posted separately.
41+
42+
We hold the right and responsibility to remove comments or other contributions that are not aligned to this Code of
43+
Conduct, or to ban temporarily or permanently any members for other behaviours that they deem inappropriate,
44+
threatening, offensive, or harmful.

Makefile

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,15 +239,30 @@ schema-version-diff:
239239

240240
$(PROJECT_NAME): $(PROJECT_NAME).generate generate build
241241

242-
$(PROJECT_NAME).generate:
242+
$(PROJECT_NAME).generate: $(YQ)
243243
@$(INFO) Generating Cloudflare resource definitions for v$(TERRAFORM_PROVIDER_VERSION)
244-
@yq $(PROJECT_NAME).resources.yaml --output-format json \
244+
@$(YQ) $(PROJECT_NAME).resources.yaml --output-format json \
245245
| go run ./scripts/generate_provider_config.go -version $(TERRAFORM_PROVIDER_VERSION) -package $(TERRAFORM_PROVIDER_REPO)
246246

247+
$(PROJECT_NAME).reference_matrix: $(YQ)
248+
@$(INFO) Generating Cloudflare reference matrix for v$(TERRAFORM_PROVIDER_VERSION)
249+
@echo >&2 "| Status | API Group | Kind | Terraform Equivalent |"
250+
@echo >&2 "|--------|-----------|------|----------------------|"
251+
@$(YQ) provider-cloudflare.resources.yaml -o json \
252+
| jq '.supported | to_entries[] | .key as $$group | .value | to_entries[] | "|:white_check_mark:|\($$group).cloudflare.crossplane.io|\(.value.kind)|\(.key)|"' --raw-output \
253+
| sort >&2
254+
@$(YQ) provider-cloudflare.resources.yaml -o json \
255+
| jq '.not_supported[] | "|:black_square_button:|||\(.)|"' --raw-output \
256+
| sort >&2
257+
@$(YQ) provider-cloudflare.resources.yaml -o json \
258+
| jq '.deprecated[] | "|:no_entry_sign:|||\(.)|"' --raw-output \
259+
| sort >&2
260+
247261
define PROVIDER_MAKE_HELP
248262

249263
$(PROJECT_NAME) Targets:
250-
$(PROJECT_NAME).generate Generate $(PROJECT_NAME) resource definitions for v$(TERRAFORM_PROVIDER_VERSION)
264+
$(PROJECT_NAME).generate Generate $(PROJECT_NAME) resource definitions for v$(TERRAFORM_PROVIDER_VERSION)
265+
$(PROJECT_NAME).reference_matrix Generate $(PROJECT_NAME) reference matrix for v$(TERRAFORM_PROVIDER_VERSION)
251266

252267
endef
253268
export PROVIDER_MAKE_HELP

OWNERS.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)