Skip to content
Snippets Groups Projects
Commit 120d05ed authored by Marc Burnie [AWS]'s avatar Marc Burnie [AWS]
Browse files

Merge branch 'aws-integration' into 'master'

Adding support for EKS 1.23

See merge request !295
parents 71378aba b67c0462
No related branches found
No related tags found
2 merge requests!299Update Dev branch,!295Adding support for EKS 1.23
Pipeline #166601 failed
...@@ -18,7 +18,7 @@ The following software have components provided under the terms of this license: ...@@ -18,7 +18,7 @@ The following software have components provided under the terms of this license:
- google-api-core (from https://github.com/googleapis/python-api-core) - google-api-core (from https://github.com/googleapis/python-api-core)
- google-auth (from https://github.com/GoogleCloudPlatform/google-auth-library-python, https://github.com/googleapis/google-auth-library-python) - google-auth (from https://github.com/GoogleCloudPlatform/google-auth-library-python, https://github.com/googleapis/google-auth-library-python)
- google-cloud-core (from https://github.com/googleapis/python-cloud-core) - google-cloud-core (from https://github.com/googleapis/python-cloud-core)
- google-cloud-storage (from https://github.com/googleapis/python-storage) - google-cloud-storage (from https://github.com/GoogleCloudPlatform/google-cloud-python, https://github.com/googleapis/python-storage)
- google-crc32c (from https://github.com/googleapis/python-crc32c) - google-crc32c (from https://github.com/googleapis/python-crc32c)
- google-resumable-media (from https://github.com/googleapis/google-resumable-media-python) - google-resumable-media (from https://github.com/googleapis/google-resumable-media-python)
- googleapis-common-protos (from https://github.com/googleapis/python-api-common-protos) - googleapis-common-protos (from https://github.com/googleapis/python-api-common-protos)
...@@ -56,7 +56,7 @@ The following software have components provided under the terms of this license: ...@@ -56,7 +56,7 @@ The following software have components provided under the terms of this license:
- click (from https://palletsprojects.com/p/click/) - click (from https://palletsprojects.com/p/click/)
- cryptography (from https://github.com/pyca/cryptography) - cryptography (from https://github.com/pyca/cryptography)
- idna (from https://pypi.org/project/idna/3.4/) - idna (from https://pypi.org/project/idna/3.4/)
- isodate (from https://github.com/gweis/isodate/) - isodate (from http://cheeseshop.python.org/pypi/isodate, https://github.com/gweis/isodate/)
- jinja2 - jinja2
- oauthlib (from https://github.com/oauthlib/oauthlib) - oauthlib (from https://github.com/oauthlib/oauthlib)
- packaging (from https://pypi.org/project/packaging/22.0/, https://pypi.org/project/packaging/23.0/) - packaging (from https://pypi.org/project/packaging/22.0/, https://pypi.org/project/packaging/23.0/)
...@@ -65,7 +65,7 @@ The following software have components provided under the terms of this license: ...@@ -65,7 +65,7 @@ The following software have components provided under the terms of this license:
- pyrsistent (from https://github.com/tobgu/pyrsistent/) - pyrsistent (from https://github.com/tobgu/pyrsistent/)
- python-dateutil (from https://github.com/dateutil/dateutil) - python-dateutil (from https://github.com/dateutil/dateutil)
- sniffio (from https://github.com/python-trio/sniffio) - sniffio (from https://github.com/python-trio/sniffio)
- starlette (from https://pypi.org/project/starlette/0.22.0/, https://pypi.org/project/starlette/0.23.1/) - starlette (from https://pypi.org/project/starlette/0.22.0/, https://pypi.org/project/starlette/0.24.0/)
- uvicorn (from https://github.com/tomchristie/uvicorn, https://pypi.org/project/uvicorn/0.20.0/, https://www.uvicorn.org/) - uvicorn (from https://github.com/tomchristie/uvicorn, https://pypi.org/project/uvicorn/0.20.0/, https://www.uvicorn.org/)
======================================================================== ========================================================================
...@@ -119,10 +119,10 @@ The following software have components provided under the terms of this license: ...@@ -119,10 +119,10 @@ The following software have components provided under the terms of this license:
- coloredlogs (from https://coloredlogs.readthedocs.io) - coloredlogs (from https://coloredlogs.readthedocs.io)
- coverage (from https://github.com/nedbat/coveragepy) - coverage (from https://github.com/nedbat/coveragepy)
- exceptiongroup (from https://pypi.org/project/exceptiongroup/1.0.1/, https://pypi.org/project/exceptiongroup/1.1.0/) - exceptiongroup (from https://pypi.org/project/exceptiongroup/1.0.1/, https://pypi.org/project/exceptiongroup/1.1.0/)
- fastapi (from https://pypi.org/project/fastapi/0.86.0/, https://pypi.org/project/fastapi/0.89.1/) - fastapi (from https://pypi.org/project/fastapi/0.86.0/, https://pypi.org/project/fastapi/0.90.1/)
- h11 - h11
- humanfriendly (from https://humanfriendly.readthedocs.io) - humanfriendly (from https://humanfriendly.readthedocs.io)
- iniconfig (from https://pypi.org/project/iniconfig/2.0.0/) - iniconfig (from http://github.com/RonnyPfannschmidt/iniconfig, https://pypi.org/project/iniconfig/2.0.0/)
- jmespath (from https://github.com/jmespath/jmespath.py) - jmespath (from https://github.com/jmespath/jmespath.py)
- jsonschema - jsonschema
- msal (from https://github.com/AzureAD/microsoft-authentication-library-for-python) - msal (from https://github.com/AzureAD/microsoft-authentication-library-for-python)
...@@ -139,9 +139,9 @@ The following software have components provided under the terms of this license: ...@@ -139,9 +139,9 @@ The following software have components provided under the terms of this license:
- pytest-order (from https://github.com/pytest-dev/pytest-order) - pytest-order (from https://github.com/pytest-dev/pytest-order)
- pytz (from http://pythonhosted.org/pytz) - pytz (from http://pythonhosted.org/pytz)
- requests (from http://python-requests.org, https://requests.readthedocs.io) - requests (from http://python-requests.org, https://requests.readthedocs.io)
- six (from https://github.com/benjaminp/six) - six (from http://pypi.python.org/pypi/six/, https://github.com/benjaminp/six)
- sniffio (from https://github.com/python-trio/sniffio) - sniffio (from https://github.com/python-trio/sniffio)
- starlette (from https://pypi.org/project/starlette/0.22.0/, https://pypi.org/project/starlette/0.23.1/) - starlette (from https://pypi.org/project/starlette/0.22.0/, https://pypi.org/project/starlette/0.24.0/)
- starlette-context (from https://github.com/tomwojcik/starlette-context) - starlette-context (from https://github.com/tomwojcik/starlette-context)
- tomli (from https://pypi.org/project/tomli/1.2.2/, https://pypi.org/project/tomli/2.0.0/, https://pypi.org/project/tomli/2.0.1/) - tomli (from https://pypi.org/project/tomli/1.2.2/, https://pypi.org/project/tomli/2.0.0/, https://pypi.org/project/tomli/2.0.1/)
- urllib3 (from https://urllib3.readthedocs.io/) - urllib3 (from https://urllib3.readthedocs.io/)
......
apiVersion: v2 apiVersion: v2
name: "os-policy" name: "os-policy"
version: __CHART_VERSION__ version: __CHART_VERSION__
kubeVersion: "v1.21.x-x-x" kubeVersion: ">= 1.21.x-x-x < 1.24.x-x-x"
description: Policy Service Helm Chart for Kubernetes description: Policy Service Helm Chart for Kubernetes
type: application type: application
appVersion: __VERSION__ appVersion: __VERSION__
dependencies: dependencies:
- name: osdu-aws-lib - name: osdu-aws-lib
version: 0.1.0 version: 0.2.0
repository: __HELM_REPO__/osdu-aws-lib/ repository: __HELM_REPO__/osdu-aws-lib/
deprecated: false deprecated: false
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "common.fullname" . }}-test-connection"
labels:
{{- include "common.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never
...@@ -6,10 +6,8 @@ ...@@ -6,10 +6,8 @@
"image", "image",
"imagePullPolicy", "imagePullPolicy",
"service", "service",
"podAnnotations",
"replicaCount", "replicaCount",
"serviceAccountRole", "serviceAccountRole"
"securityContext"
], ],
"properties": { "properties": {
"image": { "image": {
...@@ -262,10 +260,10 @@ ...@@ -262,10 +260,10 @@
"type": "string", "type": "string",
"title": "Allowed principal", "title": "Allowed principal",
"examples": [ "examples": [
"cluster.local/ns/istio-system/sa/istio-ingressgateway-service-account", "cluster.local/ns/istio-system/sa/istio-ingressgateway",
"cluster.local/ns/osdu-services/sa/compliance-queue" "cluster.local/ns/osdu-services/sa/compliance-queue"
] ]
} }
} }
} }
} }
\ No newline at end of file
...@@ -38,8 +38,6 @@ environmentVariables: ...@@ -38,8 +38,6 @@ environmentVariables:
value: http://os-legal:8080 value: http://os-legal:8080
- name: OPA_URL - name: OPA_URL
value: http://opa-agent value: http://opa-agent
podAnnotations:
seccomp.security.alpha.kubernetes.io/pod: "runtime/default"
# Resource Config # Resource Config
replicaCount: 1 replicaCount: 1
...@@ -67,9 +65,13 @@ securityContext: ...@@ -67,9 +65,13 @@ securityContext:
capabilities: capabilities:
drop: drop:
- ALL - ALL
podSecurityContext:
fsGroup: 1337
seccompProfile:
type: RuntimeDefault
allowedPrincipals: allowedPrincipals:
- cluster.local/ns/istio-system/sa/istio-ingressgateway-service-account - cluster.local/ns/istio-system/sa/istio-ingressgateway
- cluster.local/ns/{{ .Release.Namespace }}/sa/os-search - cluster.local/ns/{{ .Release.Namespace }}/sa/os-search
- cluster.local/ns/aws-binary-dms/sa/binary-dms - cluster.local/ns/aws-binary-dms/sa/binary-dms
- cluster.local/ns/osdu-airflow/sa/airflow-dag-upload - cluster.local/ns/osdu-airflow/sa/airflow-dag-upload
......
apiVersion: v2 apiVersion: v2
name: "opa-agent" name: "opa-agent"
version: __CHART_VERSION__ version: __CHART_VERSION__
kubeVersion: "v1.21.x-x-x" kubeVersion: ">= 1.21.x-x-x < 1.24.x-x-x"
description: OPA Agent Helm Chart for Kubernetes description: OPA Agent Helm Chart for Kubernetes
type: application type: application
appVersion: __VERSION__ appVersion: __VERSION__
dependencies: dependencies:
- name: osdu-aws-lib - name: osdu-aws-lib
version: 0.1.0 version: 0.2.0
repository: __HELM_REPO__/osdu-aws-lib/ repository: __HELM_REPO__/osdu-aws-lib/
deprecated: false deprecated: false
...@@ -6,10 +6,8 @@ ...@@ -6,10 +6,8 @@
"partitions", "partitions",
"image", "image",
"imagePullPolicy", "imagePullPolicy",
"podAnnotations",
"replicaCount", "replicaCount",
"serviceAccountRole", "serviceAccountRole"
"securityContext"
], ],
"properties": { "properties": {
"partitions": { "partitions": {
...@@ -221,10 +219,10 @@ ...@@ -221,10 +219,10 @@
"type": "string", "type": "string",
"title": "Allowed principal", "title": "Allowed principal",
"examples": [ "examples": [
"cluster.local/ns/istio-system/sa/istio-ingressgateway-service-account", "cluster.local/ns/istio-system/sa/istio-ingressgateway",
"cluster.local/ns/osdu-services/sa/compliance-queue" "cluster.local/ns/osdu-services/sa/compliance-queue"
] ]
} }
} }
} }
} }
\ No newline at end of file
...@@ -18,8 +18,6 @@ environmentVariables: ...@@ -18,8 +18,6 @@ environmentVariables:
value: "http://os-entitlements:8080" value: "http://os-entitlements:8080"
- name: LEGAL_BASE_URL - name: LEGAL_BASE_URL
value: http://os-legal:8080 value: http://os-legal:8080
podAnnotations:
seccomp.security.alpha.kubernetes.io/pod: "runtime/default"
# Resource Config # Resource Config
maxConnections: 200 maxConnections: 200
...@@ -48,3 +46,7 @@ securityContext: ...@@ -48,3 +46,7 @@ securityContext:
capabilities: capabilities:
drop: drop:
- ALL - ALL
podSecurityContext:
fsGroup: 1337
seccompProfile:
type: RuntimeDefault
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment