Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove autossl possibility to configure s3 logging at AWS ELB #18

Merged
merged 1 commit into from
Jul 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ else ifeq (${UNAME}, Darwin)
INPLACE_SED=sed -i ""
endif

TAG ?= v0.5.0
TAG ?= v0.5.1
REGISTRY ?= quay.io
ORG ?= 3scale
PROJECT ?= 3scale-saas-operator
Expand Down
12 changes: 0 additions & 12 deletions deploy/crds/saas.3scale.net_autossls_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,18 +178,6 @@ spec:
connectionHealthcheckTimeout:
type: integer
description: Connection healthcheck timeout (seconds)
accessLogEnabled:
type: boolean
description: Enable (true) or disable (false) s3 access logs
accessLogEmitInterval:
type: integer
description: Access logs emit interval (minutes)
accessLogS3BucketName:
type: string
description: Access logs s3 bucket name
accessLogS3BucketPrefix:
type: string
description: Access logs s3 bucket prefix
grafanaDashboard:
type: object
properties:
Expand Down
5 changes: 0 additions & 5 deletions deploy/crds/saas.3scale.net_v1alpha1_autossl_cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,3 @@ spec:
domainWhitelist: autossl.example.3scale.net
redisHost: example-autossl-redis.ng.0001.use1.cache.amazonaws.com
externalDnsHostname: mtssl-edge-a.example.3scale.net,mtssl-edge-b.example.3scale.net,autossl.example.3scale.net
loadBalancer:
accessLogEnabled: true
accessLogEmitInterval: 5
accessLogS3BucketName: s3-bucket-example-logs
accessLogS3BucketPrefix: example-cluster/autossl
8 changes: 0 additions & 8 deletions docs/autossl-crd-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ spec:
connectionHealthcheckUnhealthyThreshold: 2
connectionHealthcheckInterval: 5
connectionHealthcheckTimeout: 3
accessLogEnabled: true
accessLogEmitInterval: 5
accessLogS3BucketName: s3-bucket-example-logs
accessLogS3BucketPrefix: example-cluster/autossl
grafanaDashboard:
label:
key: discovery
Expand Down Expand Up @@ -125,9 +121,5 @@ spec:
| `loadBalancer.connectionHealthcheckUnhealthyThreshold` | `int` | No | `2` | Connection healthcheck unhealthy threshold |
| `loadBalancer.connectionHealthcheckInterval` | `int` | No | `5` | Connection healthcheck interval (seconds) |
| `loadBalancer.connectionHealthcheckTimeout` | `int` | No | `3` | Connection healthcheck timeout (seconds) |
| `loadBalancer.accessLogEnabled` | `bool` | No | - | Enable (`true`) or disable (`false`) s3 access logs |
| `loadBalancer.accessLogEmitInterval` | `int` | No | - | Access logs emit interval (minutes) |
| `loadBalancer.accessLogS3BucketName` | `string` | No | (only if enabled) | Access logs s3 bucket name |
| `loadBalancer.accessLogS3BucketPrefix` | `string` | No | (only if enabled) | Access logs s3 bucket prefix |
| `grafanaDashboard.label.key` | `string` | No | `monitoring-key` | Label `key` used by grafana-operator for dashboard discovery |
| `grafanaDashboard.label.value` | `string` | No | `middleware` | Label `value` used by grafana-operator for dashboard discovery |
12 changes: 0 additions & 12 deletions roles/autossl/templates/autossl-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,6 @@ metadata:
service.beta.kubernetes.io/aws-load-balancer-healthcheck-unhealthy-threshold: "{{ load_balancer.connection_healthcheck_unhealthy_threshold | default (load_balancer_connection_healthcheck_unhealthy_threshold) }}"
service.beta.kubernetes.io/aws-load-balancer-healthcheck-interval: "{{ load_balancer.connection_healthcheck_interval | default (load_balancer_connection_healthcheck_interval) }}"
service.beta.kubernetes.io/aws-load-balancer-healthcheck-timeout: "{{ load_balancer.connection_healthcheck_timeout | default (load_balancer_connection_healthcheck_timeout) }}"
{% if load_balancer.access_log_enabled is defined and load_balancer.access_log_enabled == true %}
service.beta.kubernetes.io/aws-load-balancer-access-log-enabled: "{{ load_balancer.access_log_enabled }}"
{% if load_balancer.access_log_emit_interval is defined %}
service.beta.kubernetes.io/aws-load-balancer-access-log-emit-interval: "{{ load_balancer.access_log_emit_interval }}"
{% endif %}
{% if load_balancer.access_log_s3_bucket_name is defined %}
service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-name: "{{ load_balancer.access_log_s3_bucket_name }}"
{% endif %}
{% if load_balancer.access_log_s3_bucket_prefix is defined %}
service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-prefix: "{{ load_balancer.access_log_s3_bucket_prefix }}"
{% endif %}
{% endif %}
spec:
type: LoadBalancer
ports:
Expand Down