Skip to content

Commit 1e7b533

Browse files
author
Alan Christie
committed
Adds non-encrypted params
1 parent 44e22ed commit 1e7b533

7 files changed

+34
-59
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ __pycache__
33
.coverage
44
venv
55

6-
integration-parameters.yaml
7-
production-parameters.yaml
8-
staging-parameters.yaml
96
parameters.*
107

118
**/*.swp

README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,20 +72,13 @@ To remove the operator (assuming there are no operator-derived instances)...
7272

7373
### Deploying to the official cluster
7474
The parameters used to deploy the operator to our 'official' cluster
75-
are held in this repository as Ansible vault files. They can be used and edited
76-
in-place.
77-
78-
Choose the _integration_, _staging_ or _production_ deployment, then,
79-
to view or edit: -
80-
81-
$ export PARAMS=staging
82-
$ ansible-vault edit ${PARAMS}-parameters.yaml.vault
83-
Vault password: [...]
75+
are held in this repository.
8476

8577
To deploy: -
8678

87-
$ ansible-playbook --ask-vault-pass \
88-
-e @${PARAMS}-parameters.yaml.vault site.yaml
79+
$ export KUBECONFIG=~/k8s-config/config-aws-im-main-eks
80+
$ export PARAMS=staging
81+
$ ansible-playbook -e @${PARAMS}-parameters.yaml site.yaml
8982

9083
> You will need the vault password, held in the company's KeePass under
9184
`data-manager-jupyter-operator -> Ansible Vault Password`

integration-parameters.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
3+
jo_ingress_domain: squonk.it
4+
jo_ingress_tls_secret: data-manager-api-tls
5+
jo_dmapi_name: integration
6+
jo_image_tag: 19.0.0
7+
jo_namespaces: data-manager-api-staging:data-manager-api-integration:data-manager-api-production
8+
9+
jo_kubeconfig: "{{ lookup('env', 'KUBECONFIG') }}"
10+

integration-parameters.yaml.vault

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

production-parameters.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
3+
jo_ingress_domain: squonk.it
4+
jo_ingress_tls_secret: data-manager-api-tls
5+
jo_dmapi_name: production
6+
jo_image_tag: 19.0.0
7+
jo_namespaces: data-manager-api-staging:data-manager-api-integration:data-manager-api-production
8+
9+
jo_kubeconfig: "{{ lookup('env', 'KUBECONFIG') }}"
10+

staging-parameters.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
3+
jo_ingress_domain: squonk.it
4+
jo_ingress_tls_secret: data-manager-api-tls
5+
jo_dmapi_name: staging
6+
jo_image_tag: 19.0.0
7+
jo_namespaces: data-manager-api-staging:data-manager-api-integration:data-manager-api-production
8+
9+
jo_kubeconfig: "{{ lookup('env', 'KUBECONFIG') }}"
10+

staging-parameters.yaml.vault

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

0 commit comments

Comments
 (0)