-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
57 changed files
with
429 additions
and
583 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
# Directory entries are not enough to encrypt fines beneath it | ||
# https://github.com/AGWA/git-crypt#gitattributes-file | ||
paws/secrets.yaml filter=git-crypt diff=git-crypt | ||
cloud.conf filter=git-crypt diff=git-crypt | ||
ansible/files/csi-secret-cinderplugin.yaml.eqiad1.crypt filter=git-crypt diff=git-crypt | ||
ansible/files/csi-secret-cinderplugin.yaml.codfw1dev.crypt filter=git-crypt diff=git-crypt | ||
paws/codfw-secrets.yaml filter=git-crypt diff=git-crypt | ||
paws/files/minesweeper/secrets/** filter=git-crypt diff=git-crypt | ||
terraform/secrets.tf filter=git-crypt diff=git-crypt | ||
tofu/secrets.tf filter=git-crypt diff=git-crypt | ||
secrets-eqiad1.sh filter=git-crypt diff=git-crypt | ||
secrets-codfw1dev.sh filter=git-crypt diff=git-crypt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
|
||
name: "tofu fmt" | ||
|
||
'on': | ||
pull_request: | ||
|
||
jobs: | ||
tf-fmt: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: install tofu | ||
run: | | ||
sudo apt-get update && sudo apt-get install -y gnupg software-properties-common | ||
curl -s https://packagecloud.io/install/repositories/opentofu/tofu/script.deb.sh?any=true -o /tmp/tofu-repository-setup.sh | ||
sudo bash /tmp/tofu-repository-setup.sh | ||
sudo apt install tofu | ||
- name: tofu fmt | ||
run: | | ||
shopt -s extglob | ||
cd tofu | ||
if ! tofu fmt -check -diff !(secrets).tf ; then | ||
echo "please update your tofu code to match the above."; | ||
echo 'or run `tofu fmt` to have tofu reformat it.'; | ||
exit 1; | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,6 @@ dev-values.yaml | |
*.swp | ||
terraform.tfstate* | ||
.terraform* | ||
tofu/kube.config | ||
.venv* | ||
ansible/collections/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
[defaults] | ||
|
||
# Better error output | ||
stdout_callback=debug | ||
stderr_callback=debug | ||
|
||
collections_path=./collections/ansible_collections | ||
|
||
# we're only using localhost, no need for the warning. | ||
localhost_warning=False | ||
|
||
[inventory] | ||
# Only using localhost, so no inventory | ||
inventory_unparsed_warning=False |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
|
||
apiVersion: storage.k8s.io/v1 | ||
kind: StorageClass | ||
metadata: | ||
name: standard | ||
annotations: | ||
storageclass.kubernetes.io/is-default-class: "true" | ||
provisioner: cinder.csi.openstack.org | ||
parameters: | ||
availability: nova |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: prometheus | ||
spec: | ||
ingressClassName: nginx | ||
rules: | ||
{% if datacenter == 'codfw1dev' %} | ||
- host: prometheus-paws.codfw1dev.wmcloud.org | ||
{% else %} | ||
- host: prometheus-paws.wmcloud.org | ||
{% endif %} | ||
http: | ||
paths: | ||
- backend: | ||
service: | ||
name: prometheus-server | ||
port: | ||
number: 80 | ||
path: / | ||
pathType: Prefix |
Oops, something went wrong.