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

Adjust application-operator for mtls #3666

Merged
merged 3 commits into from
Apr 11, 2019
Merged

Adjust application-operator for mtls #3666

merged 3 commits into from
Apr 11, 2019

Conversation

kfurgol
Copy link
Contributor

@kfurgol kfurgol commented Apr 10, 2019

Description

Changes proposed in this pull request:

  • Added DestinationRule for gateway-test-mock-service
  • Added istio-proxy sidecar to event-service-acceptance test

Related issue(s)
#3320
Related PR: #3385

@kfurgol kfurgol added the area/application-connector Issues or PRs related to application connectivity label Apr 10, 2019
@kfurgol kfurgol self-assigned this Apr 10, 2019
@kfurgol kfurgol added this to the Sprint_Goat_10 milestone Apr 10, 2019

var testContainer string
for _, c := range pod.Spec.Containers {
if strings.HasPrefix(c.Name, "test-operator-app-test") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one of the tests pods has such prefix, and it is not really clear. I would suggest changing container name in event-service test pod and use Application name as a prefix.

apiVersion: "networking.istio.io/v1alpha3"
kind: "DestinationRule"
metadata:
name: {{.Release.Name }}-mtls-disable
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think that this is a proper name as the DestinationRule is set for mock service, not for the {{.Release.Name }} itself.

@@ -25,3 +25,13 @@ spec:
- name: MOCK_SERVICE_PORT
value: "8080"
restartPolicy: Never
---
apiVersion: "networking.istio.io/v1alpha3"
kind: "DestinationRule"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest moving it to separate file.

@kfurgol kfurgol merged commit 68a39bb into kyma-project:master Apr 11, 2019
@kfurgol kfurgol deleted the application-operator-mtls branch July 21, 2020 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/application-connector Issues or PRs related to application connectivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants