diff --git a/frontend/src/.DS_Store b/frontend/src/.DS_Store deleted file mode 100644 index a4755ba..0000000 Binary files a/frontend/src/.DS_Store and /dev/null differ diff --git a/frontend/src/app/.DS_Store b/frontend/src/app/.DS_Store deleted file mode 100644 index 665c7ff..0000000 Binary files a/frontend/src/app/.DS_Store and /dev/null differ diff --git a/helm/coolstore/.helmignore b/helm/coolstore/.helmignore deleted file mode 100644 index 0e8a0eb..0000000 --- a/helm/coolstore/.helmignore +++ /dev/null @@ -1,23 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*.orig -*~ -# Various IDEs -.project -.idea/ -*.tmproj -.vscode/ diff --git a/helm/coolstore/Chart.yaml b/helm/coolstore/Chart.yaml deleted file mode 100644 index acdf1ec..0000000 --- a/helm/coolstore/Chart.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: v2 -name: coolstore -description: A Helm chart for Kubernetes - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "1.16.0" diff --git a/helm/coolstore/templates/customers/deployment.yaml b/helm/coolstore/templates/customers/deployment.yaml deleted file mode 100644 index 4a4fbfd..0000000 --- a/helm/coolstore/templates/customers/deployment.yaml +++ /dev/null @@ -1,58 +0,0 @@ ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: {{ .Values.customers.name }} - namespace: {{ .Values.namespace }} - labels: - app.kubernetes.io/name: {{ .Values.customers.name }} - app.kubernetes.io/part-of: backend - app.openshift.io/runtime: tomcat - annotations: - app.openshift.io/connects-to: {{ .Values.customers.name }}-db -spec: - replicas: 1 - selector: - matchLabels: - deployment: {{ .Values.customers.name }} - template: - metadata: - labels: - deployment: {{ .Values.customers.name }} - spec: - containers: - - name: {{ .Values.customers.name }} - image: {{ .Values.customers.image }} - imagePullPolicy: Always - ports: - - containerPort: 8080 - protocol: TCP - livenessProbe: - httpGet: - path: /customers-tomcat-0.0.1-SNAPSHOT/actuator/health - port: 8080 - readinessProbe: - httpGet: - path: /customers-tomcat-0.0.1-SNAPSHOT/actuator/health - port: 8080 - resources: - {{- toYaml .Values.customers.resources | nindent 10 }} - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: ["ALL"] - volumeMounts: - - name: {{ .Values.customers.name }} - mountPath: /opt/jws-5.7/tomcat/lib/persistence.properties - subPath: persistence.properties - volumes: - - name: {{ .Values.customers.name }} - secret: - secretName: {{ .Values.customers.name }} - items: - - key: persistence.properties - path: persistence.properties - securityContext: - runAsNonRoot: true - seccompProfile: - type: RuntimeDefault diff --git a/helm/coolstore/templates/customers/secret.yaml b/helm/coolstore/templates/customers/secret.yaml deleted file mode 100644 index 1684c3f..0000000 --- a/helm/coolstore/templates/customers/secret.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -apiVersion: v1 -kind: Secret -metadata: - name: {{ .Values.customers.name }} - namespace: {{ .Values.namespace }} - labels: - app.kubernetes.io/name: {{ .Values.customers.name }} -type: Opaque -stringData: - persistence.properties: |- - jdbc.driverClassName=org.postgresql.Driver - jdbc.url={{ .Values.customers.database.url }} - jdbc.user={{ .Values.customers.database.username }} - jdbc.password={{ .Values.customers.database.username }} - hibernate.hbm2ddl.auto=create-drop - hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect - management.endpoint.health.show-details="always" - management.endpoint.health.show-components="always" - management.endpoint.health.probes.enabled=false diff --git a/helm/coolstore/templates/customers/service.yaml b/helm/coolstore/templates/customers/service.yaml deleted file mode 100644 index 08ea111..0000000 --- a/helm/coolstore/templates/customers/service.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -kind: Service -apiVersion: v1 -metadata: - name: {{ .Values.customers.name }} - namespace: {{ .Values.namespace }} - labels: - app.kubernetes.io/name: {{ .Values.customers.name }} -spec: - ports: - - port: 8080 - targetPort: 8080 - selector: - deployment: {{ .Values.customers.name }} diff --git a/helm/coolstore/templates/frontend/configmap.yaml b/helm/coolstore/templates/frontend/configmap.yaml deleted file mode 100644 index 29d2119..0000000 --- a/helm/coolstore/templates/frontend/configmap.yaml +++ /dev/null @@ -1,108 +0,0 @@ ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ .Values.frontend.name }} - namespace: {{ .Values.namespace }} - labels: - app.kubernetes.io/name: {{ .Values.frontend.name }} -data: - nginx.conf: |- - #user www-data; - worker_processes auto; - - #error_log logs/error.log; - #error_log logs/error.log notice; - #error_log /usr/share/nginx/logs/error.log info; - - #pid /usr/share/nginx/logs/nginx.pid; - - events { - worker_connections 1024; - } - - http { - include mime.types; - default_type application/octet-stream; - - #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' - # '$status $body_bytes_sent "$http_referer" ' - # '"$http_user_agent" "$http_x_forwarded_for"'; - - #access_log /usr/share/nginx/logs/access.log main; - - sendfile on; - #tcp_nopush on; - - #keepalive_timeout 0; - keepalive_timeout 65; - - gzip on; - - # Expires map - map $sent_http_content_type $expires { - default off; - text/html epoch; - text/css epoch; - application/javascript epoch; - application/woff2 max; - ~image/ 30d; - } - - server { - listen 8080; - server_name localhost; - - #charset koi8-r; - - #access_log logs/host.access.log main; - - location / { - root /opt/app-root/src/; - index index.html index.htm; - try_files $uri $uri/ /index.html?param=$request_uri; - } - - #error_page 404 /404.html; - - # redirect server error pages to the static page /50x.html - # - error_page 500 502 503 504 /50x.html; - location = /50x.html { - root /usr/share/nginx/html; - } - - # deny access to .htaccess files, if Apache's document root - # concurs with nginx's one - # - location ~ /\.ht { - deny all; - } - - location /health { - return 200; - } - - location /orders-api { - rewrite /orders-api/(.*) /$1 break; - proxy_pass http://{{ .Values.gateway.name }}:8080; - proxy_redirect off; - } - - location /products-api { - rewrite /products-api/(.*) /$1 break; - proxy_pass http://{{ .Values.gateway.name }}:8080; - proxy_redirect off; - } - - location /customers-api { - rewrite /customers-api/(.*) /$1 break; - proxy_pass http://{{ .Values.gateway.name }}:8080; - proxy_redirect off; - } - - location /crops-api { - proxy_pass https://www.growstuff.org; - } - } - } diff --git a/helm/coolstore/templates/frontend/deployment.yaml b/helm/coolstore/templates/frontend/deployment.yaml deleted file mode 100644 index cbd4442..0000000 --- a/helm/coolstore/templates/frontend/deployment.yaml +++ /dev/null @@ -1,55 +0,0 @@ ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: {{ .Values.frontend.name }} - namespace: {{ .Values.namespace }} - labels: - app.kubernetes.io/name: {{ .Values.frontend.name }} - app.kubernetes.io/part-of: frontend - app.openshift.io/runtime: nodejs - annotations: - app.openshift.io/connects-to: {{ .Values.gateway.name }} -spec: - replicas: 1 - selector: - matchLabels: - deployment: {{ .Values.frontend.name }} - template: - metadata: - labels: - deployment: {{ .Values.frontend.name }} - spec: - containers: - - name: {{ .Values.frontend.name }} - image: {{ .Values.frontend.image }} - imagePullPolicy: Always - ports: - - containerPort: 8080 - protocol: TCP - livenessProbe: - httpGet: - path: /actuator/health - port: 8080 - readinessProbe: - httpGet: - path: /actuator/health - port: 8080 - resources: - {{- toYaml .Values.gateway.resources | nindent 10 }} - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: ["ALL"] - volumeMounts: - - name: {{ .Values.frontend.name }} - mountPath: /etc/nginx/nginx.conf - subPath: nginx.conf - volumes: - - name: {{ .Values.frontend.name }} - configMap: - name: {{ .Values.frontend.name }} - securityContext: - runAsNonRoot: true - seccompProfile: - type: RuntimeDefault diff --git a/helm/coolstore/templates/frontend/route.yaml b/helm/coolstore/templates/frontend/route.yaml deleted file mode 100644 index a9747be..0000000 --- a/helm/coolstore/templates/frontend/route.yaml +++ /dev/null @@ -1,18 +0,0 @@ ---- -apiVersion: route.openshift.io/v1 -kind: Route -metadata: - name: {{ .Values.frontend.name }} - namespace: {{ .Values.namespace }} - labels: - app.kubernetes.io/name: {{ .Values.frontend.name }} -spec: - to: - kind: Service - name: {{ .Values.frontend.name }} - weight: 100 - port: - targetPort: 8080 - tls: - termination: edge - wildcardPolicy: None diff --git a/helm/coolstore/templates/frontend/service.yaml b/helm/coolstore/templates/frontend/service.yaml deleted file mode 100644 index 54b276d..0000000 --- a/helm/coolstore/templates/frontend/service.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -kind: Service -apiVersion: v1 -metadata: - name: {{ .Values.frontend.name }} - namespace: {{ .Values.namespace }} - labels: - app.kubernetes.io/name: {{ .Values.frontend.name }} -spec: - ports: - - port: 8080 - targetPort: 8080 - selector: - deployment: {{ .Values.frontend.name }} diff --git a/helm/coolstore/templates/gateway/configmap.yaml b/helm/coolstore/templates/gateway/configmap.yaml deleted file mode 100644 index 48dbb2a..0000000 --- a/helm/coolstore/templates/gateway/configmap.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ .Values.gateway.name }}-config - namespace: {{ .Values.namespace }} - labels: - app.kubernetes.io/name: {{ .Values.gateway.name }} -data: - application.yaml: |- - services: - orders: - url: http://{{ .Values.orders.name }}:8080/orders - inventory: - url: http://{{ .Values.inventory.name }}:8080/products - customers: - url: http://{{ .Values.customers.name }}:8080/customers-tomcat-0.0.1-SNAPSHOT/customers - hystrix: - command: - ProductsCall: - execution: - isolation: - thread: - timeoutInMilliseconds: 2000 - threadpool: - ProductsThreads: - coreSize: 20 - maxQueueSize: 200 - queueSizeRejectionThreshold: 200 diff --git a/helm/coolstore/templates/gateway/deployment.yaml b/helm/coolstore/templates/gateway/deployment.yaml deleted file mode 100644 index eb528f5..0000000 --- a/helm/coolstore/templates/gateway/deployment.yaml +++ /dev/null @@ -1,47 +0,0 @@ ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: {{ .Values.gateway.name }} - namespace: {{ .Values.namespace }} - labels: - app.kubernetes.io/name: {{ .Values.gateway.name }} - app.kubernetes.io/part-of: frontend - app.openshift.io/runtime: spring-boot - annotations: - app.openshift.io/connects-to: '["{{ .Values.inventory.name }}", "{{ .Values.orders.name }}"]' -spec: - replicas: 1 - selector: - matchLabels: - deployment: {{ .Values.gateway.name }} - template: - metadata: - labels: - deployment: {{ .Values.gateway.name }} - spec: - containers: - - name: {{ .Values.gateway.name }} - image: {{ .Values.gateway.image }} - imagePullPolicy: Always - ports: - - containerPort: 8080 - protocol: TCP - livenessProbe: - httpGet: - path: /actuator/health - port: 8080 - readinessProbe: - httpGet: - path: /actuator/health - port: 8080 - resources: - {{- toYaml .Values.gateway.resources | nindent 10 }} - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: ["ALL"] - securityContext: - runAsNonRoot: true - seccompProfile: - type: RuntimeDefault diff --git a/helm/coolstore/templates/gateway/service.yaml b/helm/coolstore/templates/gateway/service.yaml deleted file mode 100644 index f86546d..0000000 --- a/helm/coolstore/templates/gateway/service.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -kind: Service -apiVersion: v1 -metadata: - name: {{ .Values.gateway.name }} - namespace: {{ .Values.namespace }} - labels: - app.kubernetes.io/name: {{ .Values.gateway.name }} -spec: - ports: - - port: 8080 - targetPort: 8080 - selector: - deployment: {{ .Values.gateway.name }} diff --git a/helm/coolstore/templates/inventory/configmap.yaml b/helm/coolstore/templates/inventory/configmap.yaml deleted file mode 100644 index 359c97d..0000000 --- a/helm/coolstore/templates/inventory/configmap.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ .Values.inventory.name }}-config - namespace: {{ .Values.namespace }} - labels: - app.kubernetes.io/name: {{ .Values.inventory.name }} -data: - application.yaml: |- - quarkus: - kubernetes-client: - trust-certs: true - kubernetes-config: - enabled: true - config-maps: - - {{ .Values.inventory.name }}-config - hibernate-orm: - database: - generation: drop-and-create - sql-load-script: load.sql - datasource: - db-kind: postgresql - username: {{ .Values.inventory.database.username }} - password: {{ .Values.inventory.database.password }} - jdbc: - url: {{ .Values.inventory.database.url }} - log: - level: INFO diff --git a/helm/coolstore/templates/inventory/deployment.yaml b/helm/coolstore/templates/inventory/deployment.yaml deleted file mode 100644 index 68b1dbd..0000000 --- a/helm/coolstore/templates/inventory/deployment.yaml +++ /dev/null @@ -1,47 +0,0 @@ ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: {{ .Values.inventory.name }} - namespace: {{ .Values.namespace }} - labels: - app.kubernetes.io/name: {{ .Values.inventory.name }} - app.kubernetes.io/part-of: backend - app.openshift.io/runtime: quarkus - annotations: - app.openshift.io/connects-to: {{ .Values.inventory.name }}-db -spec: - replicas: 1 - selector: - matchLabels: - deployment: {{ .Values.inventory.name }} - template: - metadata: - labels: - deployment: {{ .Values.inventory.name }} - spec: - containers: - - name: {{ .Values.inventory.name }} - image: {{ .Values.inventory.image }} - imagePullPolicy: Always - ports: - - containerPort: 8080 - protocol: TCP - livenessProbe: - httpGet: - path: /q/health/live - port: 8080 - readinessProbe: - httpGet: - path: /q/health/ready - port: 8080 - resources: - {{- toYaml .Values.inventory.resources | nindent 10 }} - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: ["ALL"] - securityContext: - runAsNonRoot: true - seccompProfile: - type: RuntimeDefault diff --git a/helm/coolstore/templates/inventory/service.yaml b/helm/coolstore/templates/inventory/service.yaml deleted file mode 100644 index f0bd067..0000000 --- a/helm/coolstore/templates/inventory/service.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -kind: Service -apiVersion: v1 -metadata: - name: {{ .Values.inventory.name }} - namespace: {{ .Values.namespace }} - labels: - app.kubernetes.io/name: {{ .Values.inventory.name }} -spec: - ports: - - port: 8080 - targetPort: 8080 - selector: - deployment: {{ .Values.inventory.name }} diff --git a/helm/coolstore/templates/namespace.yaml b/helm/coolstore/templates/namespace.yaml deleted file mode 100644 index 3f01455..0000000 --- a/helm/coolstore/templates/namespace.yaml +++ /dev/null @@ -1,8 +0,0 @@ ---- -apiVersion: v1 -kind: Namespace -metadata: - name: {{ .Values.namespace }} - annotations: - openshift.io/display-name: "Coolstore" - openshift.io/description: "Coolstore namespace description." diff --git a/helm/coolstore/templates/orders/configmap.yaml b/helm/coolstore/templates/orders/configmap.yaml deleted file mode 100644 index a33b382..0000000 --- a/helm/coolstore/templates/orders/configmap.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ .Values.orders.name }}-config - namespace: {{ .Values.namespace }} - labels: - app.kubernetes.io/name: {{ .Values.orders.name }} -data: - application.yaml: |- - spring: - datasource: - url: {{ .Values.orders.database.url }} - driver-class-name: org.postgresql.Driver - jpa: - hibernate: - ddl-auto: create - jdbc: - lob: - non_contextual_creation: true diff --git a/helm/coolstore/templates/orders/deployment.yaml b/helm/coolstore/templates/orders/deployment.yaml deleted file mode 100644 index 9d5c0f4..0000000 --- a/helm/coolstore/templates/orders/deployment.yaml +++ /dev/null @@ -1,54 +0,0 @@ ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: {{ .Values.orders.name }} - namespace: {{ .Values.namespace }} - labels: - app.kubernetes.io/name: {{ .Values.orders.name }} - app.kubernetes.io/part-of: backend - app.openshift.io/runtime: spring-boot - annotations: - app.openshift.io/connects-to: {{ .Values.orders.name }}-db -spec: - replicas: 1 - selector: - matchLabels: - deployment: {{ .Values.orders.name }} - template: - metadata: - labels: - deployment: {{ .Values.orders.name }} - spec: - containers: - - name: {{ .Values.orders.name }} - image: {{ .Values.orders.image }} - imagePullPolicy: Always - ports: - - containerPort: 8080 - protocol: TCP - livenessProbe: - httpGet: - path: /actuator/health - port: 8080 - readinessProbe: - httpGet: - path: /actuator/health - port: 8080 - resources: - {{- toYaml .Values.orders.resources | nindent 10 }} - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: ["ALL"] - volumeMounts: - - name: {{ .Values.orders.name }} - mountPath: /deployments/config - volumes: - - name: {{ .Values.orders.name }} - secret: - secretName: {{ .Values.orders.name }} - securityContext: - runAsNonRoot: true - seccompProfile: - type: RuntimeDefault diff --git a/helm/coolstore/templates/orders/secret.yaml b/helm/coolstore/templates/orders/secret.yaml deleted file mode 100644 index c15f903..0000000 --- a/helm/coolstore/templates/orders/secret.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -apiVersion: v1 -kind: Secret -metadata: - name: {{ .Values.orders.name }} - namespace: {{ .Values.namespace }} - labels: - app.kubernetes.io/name: {{ .Values.orders.name }} -type: Opaque -stringData: - application.yaml: |- - spring: - datasource: - username: {{ .Values.orders.database.username }} - password: {{ .Values.orders.database.password }} diff --git a/helm/coolstore/templates/orders/service.yaml b/helm/coolstore/templates/orders/service.yaml deleted file mode 100644 index 87acdf3..0000000 --- a/helm/coolstore/templates/orders/service.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -kind: Service -apiVersion: v1 -metadata: - name: {{ .Values.orders.name }} - namespace: {{ .Values.namespace }} - labels: - app.kubernetes.io/name: {{ .Values.orders.name }} -spec: - ports: - - port: 8080 - targetPort: 8080 - selector: - deployment: {{ .Values.orders.name }} diff --git a/helm/coolstore/templates/postgresql/deployment.yaml b/helm/coolstore/templates/postgresql/deployment.yaml deleted file mode 100644 index 8250a26..0000000 --- a/helm/coolstore/templates/postgresql/deployment.yaml +++ /dev/null @@ -1,68 +0,0 @@ -{{- range .Values.databases }} ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ .name }} - namespace: {{ $.Values.namespace }} - labels: - app.kubernetes.io/name: {{ .name }} - app.openshift.io/runtime: postgresql -spec: - replicas: 1 - selector: - matchLabels: - name: {{ .name }} - strategy: - type: Recreate - template: - metadata: - labels: - name: {{ .name }} - spec: - containers: - - name: {{ .name }} - image: {{ $.Values.postgresql.image }} - imagePullPolicy: IfNotPresent - env: - - name: POSTGRESQL_DATABASE - value: {{ .name }} - - name: POSTGRESQL_USER - value: {{ .username }} - - name: POSTGRESQL_PASSWORD - value: {{ .password }} - ports: - - containerPort: 5432 - protocol: TCP - livenessProbe: - exec: - command: - - /usr/libexec/check-container - - --live - initialDelaySeconds: 120 - timeoutSeconds: 10 - readinessProbe: - exec: - command: - - /usr/libexec/check-container - initialDelaySeconds: 5 - timeoutSeconds: 1 - resources: - limits: - memory: 512Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: ["ALL"] - terminationMessagePath: /dev/termination-log - volumeMounts: - - mountPath: /var/lib/pgsql/data - name: {{ .name }} - volumes: - - emptyDir: {} - name: {{ .name }} - securityContext: - runAsNonRoot: true - seccompProfile: - type: RuntimeDefault -{{- end }} diff --git a/helm/coolstore/templates/postgresql/service.yaml b/helm/coolstore/templates/postgresql/service.yaml deleted file mode 100644 index 5d410a2..0000000 --- a/helm/coolstore/templates/postgresql/service.yaml +++ /dev/null @@ -1,17 +0,0 @@ -{{- range .Values.databases }} ---- -apiVersion: v1 -kind: Service -metadata: - name: {{ .name }} - namespace: {{ $.Values.namespace }} - labels: - app.kubernetes.io/name: {{ .name }} -spec: - type: ClusterIP - ports: - - port: 5432 - targetPort: 5432 - selector: - name: {{ .name }} -{{- end }} diff --git a/helm/coolstore/templates/rolebinding.yaml b/helm/coolstore/templates/rolebinding.yaml deleted file mode 100644 index 54f60d9..0000000 --- a/helm/coolstore/templates/rolebinding.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: {{ .Values.namespace }}-view - namespace: {{ .Values.namespace }} -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: view -subjects: -- kind: ServiceAccount - name: default diff --git a/helm/coolstore/values.yaml b/helm/coolstore/values.yaml deleted file mode 100644 index ac91d8e..0000000 --- a/helm/coolstore/values.yaml +++ /dev/null @@ -1,81 +0,0 @@ -# Default values for coolstore. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -namespace: coolstore - -postgresql: - image: registry.redhat.io/rhel8/postgresql-13:latest - -databases: - - name: inventory-db - username: redhat - password: redhat - - name: orders-db - username: redhat - password: redhat - - name: customers-db - username: redhat - password: redhat - -inventory: - name: inventory - image: quay.io/openshiftlabs/app-mod-inventory:1.0 - database: - url: jdbc:postgresql://inventory-db:5432/inventory-db - username: redhat - password: redhat - resources: - limits: - memory: 512Mi - requests: - cpu: 10m - memory: 512Mi - -orders: - name: orders - image: quay.io/openshiftlabs/app-mod-orders:1.0 - database: - url: jdbc:postgresql://orders-db:5432/orders-db - username: redhat - password: redhat - resources: - limits: - memory: 512Mi - requests: - cpu: 10m - memory: 512Mi - -customers: - name: customers - image: quay.io/openshiftlabs/app-mod-customers:1.0 - database: - url: jdbc:postgresql://customers-db:5432/customers-db - username: redhat - password: redhat - resources: - limits: - memory: 512Mi - requests: - cpu: 10m - memory: 512Mi - -gateway: - name: gateway - image: quay.io/openshiftlabs/app-mod-gateway:1.1 - resources: - limits: - memory: 512Mi - requests: - cpu: 10m - memory: 512Mi - -frontend: - name: frontend - image: quay.io/openshiftlabs/app-mod-ordersfrontend:1.0 - resources: - limits: - memory: 128Mi - requests: - cpu: 10m - memory: 128Mi