Skip to content

Commit a12a648

Browse files
Terraform Module GKE (#15)
* feat: updated attributes * feat: updated attributes * feat: updated attributes * feat: added network policy * feat: removed unused variables * feat: Added pod security policy * feat: updated versions * feat: testing pod secutity policy * feat: update gke terraform module * feat: updated network policy * feat: resolved tf-checks issue * feat: resolved tfLint warnings * feat: resolved tflint warnings * feat: resolved tflint warnings provider * feat: resolved tflint warnings related credentials * feat: resolved defsec comments * feat: resolved variable issue * feat: resolved tfcheck issue * feat: resolved tfcheck issue * feat: resolved tfcheck issue * feat: resolved defsec comments * feat: resolved tfcheck issue * feat: updated workflow files * feat: Resolved Security Scan issue * feat: Resolved tfcheck error * feat: Resolved master network issue * feat: Resolved format issue * feat: Resolved Security Scan issue * feat: Resolved Security Scan * feat: Resolved network issue * feat: added default value * feat: added ip allocation * feat: changes in module * feat: format issue * feat: Resolved Security Scan issue * feat: Resolved code format * feat: added resource labels * feat: removed labels * feat: removed labels * feat: code format * feat: added default label * feat: new update * feat: update module * feat: added new file for gke * feat: change in workflow * feat: change in readme and workflow * feat: tfcheck issue --------- Co-authored-by: AshutoshAM2002 <[email protected]> Co-authored-by: Ashutosh Mahajan <[email protected]>
1 parent b937419 commit a12a648

31 files changed

+3162
-748
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# These owners will be the default owners for everything in the repo.
2+
* @anmolnagpal @clouddrove/approvers @clouddrove-ci

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## what
2+
* Describe high-level what changed as a result of these commits (i.e. in plain-english, what do these changes mean?)
3+
* Use bullet points to be concise and to the point.
4+
5+
## why
6+
* Provide the justifications for the changes (e.g. business case).
7+
* Describe why these changes were made (e.g. why do these commits fix the problem?)
8+
* Use bullet points to be concise and to the point.
9+
10+
## references
11+
* Link to any supporting jira issues or helpful documentation to add some context (e.g. stackoverflow).
12+
* Use `closes #123`, if this PR closes a Jira issue `#123`

.github/dependabot.yml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,28 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: "terraform" # See documentation for possible values
9-
directory: "/" # Location of package manifests
8+
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
1011
schedule:
11-
interval: "weekly"
12+
interval: "daily"
13+
open-pull-requests-limit: 3
14+
assignees:
15+
- "clouddrove-ci"
16+
reviewers:
17+
- "approvers"
18+
1219
- package-ecosystem: "terraform" # See documentation for possible values
13-
directory: "_example/" # Location of package manifests
20+
directory: "examples/complete-example" # Location of package manifests
1421
schedule:
1522
interval: "weekly"
16-
17-
23+
# Add assignees
24+
assignees:
25+
- "clouddrove-ci"
26+
# Add reviewer
27+
reviewers:
28+
- "approvers"
29+
# Allow up to 3 open pull requests for pip dependencies
30+
open-pull-requests-limit: 3
31+
32+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Auto Assign PRs
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened]
6+
7+
workflow_dispatch:
8+
jobs:
9+
assignee:
10+
uses: clouddrove/github-shared-workflows/.github/workflows/auto_assignee.yml@master
11+
secrets:
12+
GITHUB: ${{ secrets.GITHUB }}
13+
with:
14+
assignees: 'clouddrove-ci'

.github/workflows/readme.yml

Lines changed: 9 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,14 @@
1-
name: 'Create README.md file'
1+
name: readme workflow
22
on:
33
push:
44
branches:
55
- master
6-
6+
paths-ignore:
7+
- 'README.md'
8+
workflow_dispatch:
79
jobs:
8-
readme-create:
9-
name: 'readme-create'
10-
runs-on: ubuntu-latest
11-
steps:
12-
- name: 'Checkout'
13-
uses: actions/[email protected]
14-
15-
- name: Set up Python 3.7.
16-
uses: actions/setup-python@v2
17-
with:
18-
python-version: '3.x'
19-
20-
- name: 'create readme'
21-
uses: 'clouddrove/[email protected]'
22-
with:
23-
actions_subcommand: 'readme'
24-
github_token: '${{ secrets.GITHUB}}'
25-
env:
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
27-
28-
- name: pre-commit check errors
29-
uses: pre-commit/[email protected]
30-
continue-on-error: true
31-
32-
- name: pre-commit fix erros
33-
uses: pre-commit/[email protected]
34-
continue-on-error: true
35-
36-
- name: 'push readme'
37-
uses: 'clouddrove/[email protected]'
38-
continue-on-error: true
39-
with:
40-
actions_subcommand: 'push'
41-
env:
42-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
43-
44-
- name: 'Slack Notification'
45-
uses: clouddrove/action-slack@v2
46-
with:
47-
status: ${{ job.status }}
48-
fields: repo,author
49-
author_name: 'CloudDrove'
50-
env:
51-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
52-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
53-
if: always()
10+
readme:
11+
uses: clouddrove/github-shared-workflows/.github/workflows/readme.yml@master
12+
secrets:
13+
TOKEN : ${{ secrets.GITHUB }}
14+
SLACK_WEBHOOK_TERRAFORM: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }}

.github/workflows/terraform.yml

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

.github/workflows/terratest.yml

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

.github/workflows/tf-checks.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: tf-checks
2+
on:
3+
push:
4+
branches: [ master ]
5+
pull_request:
6+
workflow_dispatch:
7+
jobs:
8+
basic:
9+
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
10+
with:
11+
working_directory: './examples/complete-example/'
12+
13+

.github/workflows/tflint.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: tf-lint
2+
on:
3+
push:
4+
branches: [ master ]
5+
pull_request:
6+
workflow_dispatch:
7+
jobs:
8+
tf-lint:
9+
uses: clouddrove/github-shared-workflows/.github/workflows/tf-lint.yml@master
10+
secrets:
11+
GITHUB: ${{ secrets.GITHUB }}

0 commit comments

Comments
 (0)