Skip to content

Commit

Permalink
Merge #620 into v1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
filippomc committed Dec 21, 2022
1 parent 1bdb75a commit ccf5892
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 105 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG PARENT=python:3.7.6
ARG PARENT=python:3.9
FROM ${PARENT}

COPY libraries/cloudharness-common/requirements.txt /libraries/cloudharness-common/requirements.txt
Expand Down
103 changes: 7 additions & 96 deletions infrastructure/common-images/cloudharness-flask/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,96 +1,7 @@
argo-workflows==5.0.0
asn1crypto==0.24.0
atomicwrites==1.4.0
attrs==21.4.0
autopep8==1.6.0
black==22.1.0
blinker==1.4
cachetools==5.0.0
certifi==2019.3.9
cffi==1.15.0
chardet==3.0.4
charset-normalizer==2.0.12
click==8.0.4
clickclick==20.10.2
connexion==2.6.0
coverage==6.3.2
cryptography==3.3.2
distlib==0.3.4
ecdsa==0.17.0
filelock==3.6.0
flake8==4.0.1
Flask==1.1.2
Flask-Cors==3.0.8
flask-oidc==1.4.0
Flask-SQLAlchemy==2.4.1
Flask-Testing==0.6.1
google-auth==2.6.2
greenlet==1.1.2
gunicorn==20.1.0
httplib2==0.20.4
idna==2.8
importlib-metadata==4.2.0
importlib-resources==5.4.0
inflection==0.5.1
isort==5.10.1
itsdangerous==2.0.1
Jinja2==3.0.3
jsonschema==4.4.0
kafka-python==2.0.2
kazoo==2.5.0
kubernetes==11.0.0
MarkupSafe==2.1.1
mccabe==0.6.1
more-itertools==8.12.0
mypy-extensions==0.4.3
oauth2client==4.1.3
oauthlib==3.2.0
openapi-schema-validator==0.2.3
openapi-spec-validator==0.4.0
packaging==21.3
pathspec==0.9.0
pep517==0.12.0
pip-tools==6.5.1
platformdirs==2.5.1
pluggy==0.13.1
py==1.11.0
pyaml==21.10.1
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycodestyle==2.8.0
pycparser==2.21
pyflakes==2.4.0
PyJWT==1.7.1
pykafka==2.8.0
pyOpenSSL==19.0.0
pyparsing==3.0.7
pyrsistent==0.18.1
PySocks==1.6.8
pytest==4.6.11
pytest-cov==3.0.0
pytest-randomly==1.2.3
python-dateutil==2.8.2
python-jose==3.3.0
python-keycloak==0.24.0
PyYAML==6.0
requests==2.27.1
requests-oauthlib==1.3.1
rsa==4.8
ruamel.yaml==0.16.13
ruamel.yaml.clib==0.2.6
sentry-sdk==0.14.4
six==1.16.0
SQLAlchemy==1.4.32
swagger-ui-bundle==0.0.8
tabulate==0.8.9
toml==0.10.2
tomli==2.0.1
tox==3.24.5
typed-ast==1.5.2
typing_extensions==4.1.1
urllib3==1.26.9
virtualenv==20.13.4
wcwidth==0.2.5
websocket-client==1.3.1
Werkzeug==2.0.3
zipp==3.7.0
gunicorn>=20.0.4
flask>=1.0.2
connexion == 2.7.0
swagger-ui-bundle == 0.0.8
python_dateutil >= 2.6.0
setuptools >= 21.0.0
openapi-spec-validator == 0.4.0
3 changes: 2 additions & 1 deletion libraries/cloudharness-common/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ kubernetes
sentry-sdk[flask]==0.14.4
python-keycloak==0.24.0
argo-workflows==5.0.0
cryptography<3.4
cachetools==4.2.2
cryptography==37.0.4
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ define "deploy_utils.database.mongo.backup"}}
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: "{{ .app.harness.database.name }}-backup"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ define "deploy_utils.database.postgres.backup"}}
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: "{{ .app.harness.database.name }}-backup"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{{- if and (not .Values.local) (not (not .Values.tls)) }}
apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: {{ printf "%s-%s" "letsencrypt" .Values.namespace }}
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: {{ .Values.ingress.letsencrypt.email }}
privateKeySecretRef:
name: tls-secret
name: letsencrypt
solvers:
- http01:
ingress:
ingressName: cloudharness-ingress
class: nginx
{{ end }}
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ metadata:
kubernetes.io/ingress.class: nginx
{{- if and (not .Values.local) $tls }}
kubernetes.io/tls-acme: 'true'
cert-manager.io/cluster-issuer: {{ printf "%s-%s" "letsencrypt" .Values.namespace }}
cert-manager.io/issuer: {{ printf "%s-%s" "letsencrypt" .Values.namespace }}
{{- end }}
nginx.ingress.kubernetes.io/ssl-redirect: {{ (and $tls .Values.ingress.ssl_redirect) | quote }}
nginx.ingress.kubernetes.io/proxy-body-size: '250m'
Expand Down

0 comments on commit ccf5892

Please sign in to comment.