X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=helm%2Finfrastructure%2Fsubcharts%2Fkong%2Fci%2Ftest1-values.yaml;h=5619eb810d271d87fcb38a9c71a894ab19338148;hb=75c0de3cae4b58e001f7ec715f13f82ded10e678;hp=c77ae442e4efa40471744a586c06c2d416a8272b;hpb=7799f9c20d56ceaab38178b7083ed66e63312a0c;p=ric-plt%2Fric-dep.git diff --git a/helm/infrastructure/subcharts/kong/ci/test1-values.yaml b/helm/infrastructure/subcharts/kong/ci/test1-values.yaml index c77ae44..5619eb8 100644 --- a/helm/infrastructure/subcharts/kong/ci/test1-values.yaml +++ b/helm/infrastructure/subcharts/kong/ci/test1-values.yaml @@ -1,4 +1,9 @@ -# This tests the following unrealted aspects of Ingress Controller +# This tests the following unrelated aspects of Ingress Controller +# - HPA enabled +autoscaling: + enabled: true + args: + - --alsologtostderr # - ingressController deploys without a database (default) ingressController: enabled: true @@ -7,22 +12,58 @@ ingressController: enabled: true # - environment variables can be injected into ingress controller container env: + anonymous_reports: "false" kong_admin_header: "foo:bar" -# - podSecurityPolicies are enabled -podSecurityPolicy: - enabled: true +# - annotations can be injected for service account + serviceAccount: + annotations: + eks.amazonaws.com/role-arn: arn:aws:iam::AWS_ACCOUNT_ID:role/IAM_ROLE_NAME + userDefinedVolumeMounts: + - name: "tmpdir" + mountPath: "/tmp/foo" + readOnly: true + - name: "controllerdir" + mountPath: "/tmp/controller" +# - pod labels can be added to the deployment template +podLabels: + app: kong + environment: test # - ingress resources are created with hosts admin: - type: NodePort ingress: enabled: true - hosts: ["test.com", "test2.com"] + hostname: admin.kong.example annotations: {} path: / proxy: - type: NodePort ingress: enabled: true - hosts: ["test.com", "test2.com"] + hostname: proxy.kong.example annotations: {} path: / +env: + anonymous_reports: "off" + +deployment: + initContainers: + - name: "bash" + image: "bash:latest" + command: ["/bin/sh", "-c", "true"] + resources: + limits: + cpu: "100m" + memory: "64Mi" + requests: + cpu: "100m" + memory: "64Mi" + volumeMounts: + - name: "tmpdir" + mountPath: "/tmp/foo" + userDefinedVolumes: + - name: "tmpdir" + emptyDir: {} + - name: "controllerdir" + emptyDir: {} + userDefinedVolumeMounts: + - name: "tmpdir" + mountPath: "/tmp/foo"