diff --git a/deploy-all-in-one-tls.yaml b/deploy-all-in-one-tls.yaml index 8690f75a6..7e4eb92ae 100644 --- a/deploy-all-in-one-tls.yaml +++ b/deploy-all-in-one-tls.yaml @@ -261,7 +261,8 @@ stringData: enabled: false awsSigning: enabled: false # enable awsSigning using IAM for Elastisearch hosted on AWS, if true make sure AWS environment variables are set. Refer https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html - awsRegion: "us-east-1" # AWS region where Elasticsearch is deployed + awsRegion: 'us-east-1' # AWS region where Elasticsearch is deployed + roleArn: '' # AWS IAM Role arn to assume for credentials, use this only if you dont want to use the EC2 instance role or not running on AWS instance server: 'ELASTICSEARCH_ADDRESS' # e.g https://example.com:9243 username: 'ELASTICSEARCH_USERNAME' # Basic Auth password: 'ELASTICSEARCH_PASSWORD' diff --git a/deploy-all-in-one.yaml b/deploy-all-in-one.yaml index 3620287a4..755947471 100644 --- a/deploy-all-in-one.yaml +++ b/deploy-all-in-one.yaml @@ -260,10 +260,11 @@ stringData: elasticsearch: enabled: false awsSigning: - enabled: false # enable awsSigning using IAM for Elastisearch hosted on AWS, if true make sure AWS environment variables are set. Refer https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html - awsRegion: "us-east-1" # AWS region where Elasticsearch is deployed - server: 'ELASTICSEARCH_ADDRESS' # e.g https://example.com:9243 - username: 'ELASTICSEARCH_USERNAME' # Basic Auth + enabled: false # enable awsSigning using IAM for Elastisearch hosted on AWS, if true make sure AWS environment variables are set. Refer https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html + awsRegion: 'us-east-1' # AWS region where Elasticsearch is deployed + roleArn: '' # AWS IAM Role arn to assume for credentials, use this only if you dont want to use the EC2 instance role or not running on AWS instance + server: 'ELASTICSEARCH_ADDRESS' # e.g https://example.com:9243 + username: 'ELASTICSEARCH_USERNAME' # Basic Auth password: 'ELASTICSEARCH_PASSWORD' # ELS index settings index: diff --git a/helm/botkube/templates/deployment.yaml b/helm/botkube/templates/deployment.yaml index 712e70a5d..82f7ea8a9 100644 --- a/helm/botkube/templates/deployment.yaml +++ b/helm/botkube/templates/deployment.yaml @@ -26,6 +26,9 @@ spec: {{ toYaml .Values.extraAnnotations | indent 8 }} {{- end }} spec: + {{- if .Values.priorityClassName }} + priorityClassName: "{{ .Values.priorityClassName }}" + {{- end }} serviceAccountName: {{ include "botkube.serviceAccountName" . }} containers: - name: {{ .Chart.Name }} diff --git a/helm/botkube/values.yaml b/helm/botkube/values.yaml index 08875fa78..9d9833dbb 100644 --- a/helm/botkube/values.yaml +++ b/helm/botkube/values.yaml @@ -5,6 +5,8 @@ replicaCount: 1 # Extra annotations to pass to the botkube pod extraAnnotations: {} +# Priority class name for the pod +priorityClassName: "" image: repository: infracloudio/botkube pullPolicy: IfNotPresent @@ -269,10 +271,11 @@ communications: elasticsearch: enabled: false awsSigning: - enabled: false # enable awsSigning using IAM for Elastisearch hosted on AWS, if true make sure AWS environment variables are set. Refer https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html - awsRegion: "us-east-1" # AWS region where Elasticsearch is deployed - server: 'ELASTICSEARCH_ADDRESS' # e.g https://example.com:9243 - username: 'ELASTICSEARCH_USERNAME' # Basic Auth + enabled: false # enable awsSigning using IAM for Elastisearch hosted on AWS, if true make sure AWS environment variables are set. Refer https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html + awsRegion: "us-east-1" # AWS region where Elasticsearch is deployed + roleArn: '' # AWS IAM Role arn to assume for credentials, use this only if you dont want to use the EC2 instance role or not running on AWS instance + server: 'ELASTICSEARCH_ADDRESS' # e.g https://example.com:9243 + username: 'ELASTICSEARCH_USERNAME' # Basic Auth password: 'ELASTICSEARCH_PASSWORD' # ELS index settings index: