-
Notifications
You must be signed in to change notification settings - Fork 0
Add Argo CD and Helm configuration for UOP and FAP Results Letter topology resources #330
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
Merged
Merged
Changes from 25 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
63b0d46
rabbitmq cluster operator configuration for UOP and fap results letter
Bhaswati1148 8959370
change name of queue from upper case to lower
Bhaswati1148 5740770
remove rabbitmq cluster name and namespace from values.yaml
Bhaswati1148 0a5fcf1
queue name's case correction
Bhaswati1148 6c624b2
Merge branch 'main' of https://github.com/isisbusapps/gitops into add…
Bhaswati1148 b8e84e2
Merge branch 'main' of https://github.com/isisbusapps/gitops into add…
Bhaswati1148 d0046ee
Merge branch 'main' of https://github.com/isisbusapps/gitops into add…
Bhaswati1148 3adbd0e
Merge branch 'main' of https://github.com/isisbusapps/gitops into add…
Bhaswati1148 5675096
add uop exchange vault secret
Bhaswati1148 54290d0
add fap results letter exchange secret
Bhaswati1148 f1f2b0d
Merge branch 'main' of https://github.com/isisbusapps/gitops into add…
Bhaswati1148 0b283fe
add argocd config changes and httproute configuration for rabbitmq cl…
Bhaswati1148 bbdf2c6
Merge branch 'main' of https://github.com/isisbusapps/gitops into add…
Bhaswati1148 371b9c1
add the kustomization yaml files
Bhaswati1148 098ff5a
add the httproute for prod
Bhaswati1148 29d46b6
change values.yaml to value-dev.yaml
Bhaswati1148 efc8b98
changes for review comments
Bhaswati1148 4ee7240
corrections
Bhaswati1148 1e9926a
adding values file for prod and correcting the chart name
Bhaswati1148 e6ea250
adding httproute as helm template and removing kustomize
Bhaswati1148 35dc61d
changing from sources to source
Bhaswati1148 1572044
move file from argocd/<environment> location to argocd /uex/<environ…
Bhaswati1148 fc76645
add argocd config files for uop-exchange and fap-results-letter-excha…
Bhaswati1148 5ef70a4
some modifications
Bhaswati1148 30dfc9e
review comments incorporation
Bhaswati1148 5b06566
Merge branch 'main' of https://github.com/isisbusapps/gitops into add…
Bhaswati1148 aa1c1d9
rectify the target revision for argocd
Bhaswati1148 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
argocd/uex/dev/ra/fap-results-letters-exchange-secret/app.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| apiVersion: argoproj.io/v1alpha1 | ||
| kind: ApplicationSet | ||
| metadata: | ||
| name: frl-exchange-secret | ||
| namespace: argocd | ||
| spec: | ||
| goTemplate: true | ||
| goTemplateOptions: ["missingkey=error"] | ||
| generators: | ||
| - list: | ||
| elements: | ||
| # Names of clusters to deploy the app to | ||
| - name: dev-v3 | ||
| # Uncomment if you want to deploy to dev-microk8s-alternative | ||
| #- name: dev-microk8s-alternative | ||
| template: | ||
| metadata: | ||
| name: '{{.name}}-frl-exchange-secret' | ||
| annotations: | ||
| argocd.argoproj.io/sync-wave: "0" | ||
| spec: | ||
| project: r-a-project | ||
| source: | ||
| path: components/ra/fap-results-letters-exchange-secret | ||
| repoURL: 'https://github.com/isisbusapps/gitops' | ||
| targetRevision: main | ||
| helm: | ||
| valueFiles: | ||
| - values-dev.yaml | ||
| destination: | ||
| namespace: apps | ||
| name: '{{.name}}' | ||
| syncPolicy: | ||
| automated: | ||
| selfHeal: true |
38 changes: 38 additions & 0 deletions
38
argocd/uex/dev/ra/fap-results-letters-exchange-topology/app.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| apiVersion: argoproj.io/v1alpha1 | ||
| kind: ApplicationSet | ||
| metadata: | ||
| name: frl-exchange-topology | ||
| namespace: argocd | ||
| spec: | ||
| goTemplate: true | ||
| goTemplateOptions: ["missingkey=error"] | ||
| generators: | ||
| - list: | ||
| elements: | ||
| # Names of clusters to deploy the app to | ||
| - name: dev-v3 | ||
| # Uncomment if you want to deploy to dev-microk8s-alternative | ||
| #- name: dev-microk8s-alternative | ||
| template: | ||
| metadata: | ||
| name: '{{.name}}-frl-exchange-topology' | ||
| annotations: | ||
| argocd.argoproj.io/sync-wave: "0" | ||
| spec: | ||
| project: r-a-project | ||
| source: | ||
| path: components/ra/fap-results-letters-exchange-topology | ||
| repoURL: 'https://github.com/isisbusapps/gitops' | ||
| targetRevision: add-uop-specific-rabbitmq-definitions | ||
| helm: | ||
| valueFiles: | ||
| - ../../shared/message-broker/rmq-message-broker-chart/values.yaml | ||
| - ../../shared/message-broker-admin/message-broker-admin-chart/values-dev.yaml | ||
| - values-dev.yaml | ||
| destination: | ||
| namespace: apps | ||
| name: '{{.name}}' | ||
| syncPolicy: | ||
| automated: | ||
| selfHeal: true | ||
| enabled: true | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| apiVersion: argoproj.io/v1alpha1 | ||
| kind: ApplicationSet | ||
| metadata: | ||
| name: uop-exchange-secret | ||
| namespace: argocd | ||
| spec: | ||
| goTemplate: true | ||
| goTemplateOptions: ["missingkey=error"] | ||
| generators: | ||
| - list: | ||
| elements: | ||
| # Names of clusters to deploy the app to | ||
| - name: dev-v3 | ||
| # Uncomment if you want to deploy to dev-microk8s-alternative | ||
| #- name: dev-microk8s-alternative | ||
| template: | ||
| metadata: | ||
| name: '{{.name}}-uop-exchange-secret' | ||
| annotations: | ||
| argocd.argoproj.io/sync-wave: "0" | ||
| spec: | ||
| project: submissions-project | ||
| source: | ||
| path: components/submissions/uop-exchange-secret | ||
| repoURL: 'https://github.com/isisbusapps/gitops' | ||
| targetRevision: main | ||
| helm: | ||
| valueFiles: | ||
| - values-dev.yaml | ||
| destination: | ||
| namespace: apps | ||
| name: '{{.name}}' | ||
| syncPolicy: | ||
| automated: | ||
| selfHeal: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| apiVersion: argoproj.io/v1alpha1 | ||
| kind: ApplicationSet | ||
| metadata: | ||
| name: uop-exchange-topology | ||
| namespace: argocd | ||
| spec: | ||
| goTemplate: true | ||
| goTemplateOptions: ["missingkey=error"] | ||
| generators: | ||
| - list: | ||
| elements: | ||
| # Names of clusters to deploy the app to | ||
| - name: dev-v3 | ||
| # Uncomment if you want to deploy to dev-microk8s-alternative | ||
| #- name: dev-microk8s-alternative | ||
| template: | ||
| metadata: | ||
| name: '{{.name}}-uop-exchange-topology' | ||
| annotations: | ||
| argocd.argoproj.io/sync-wave: "0" | ||
| spec: | ||
| project: submissions-project | ||
| source: | ||
| path: components/submissions/uop-exchange-topology | ||
| repoURL: 'https://github.com/isisbusapps/gitops' | ||
| targetRevision: main | ||
| helm: | ||
| valueFiles: | ||
| - ../../shared/message-broker/rmq-message-broker-chart/values.yaml | ||
| - ../../shared/message-broker-admin/message-broker-admin-chart/values-dev.yaml | ||
| - values-dev.yaml | ||
| destination: | ||
| namespace: apps | ||
| name: '{{.name}}' | ||
| syncPolicy: | ||
| automated: | ||
| selfHeal: true | ||
| enabled: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
components/ra/fap-results-letters-exchange-secret/.helmignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # 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/ |
24 changes: 24 additions & 0 deletions
24
components/ra/fap-results-letters-exchange-secret/Chart.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| apiVersion: v2 | ||
| name: frl-exchange-secret-chart | ||
| 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.2.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: "0.2.0" |
22 changes: 22 additions & 0 deletions
22
components/ra/fap-results-letters-exchange-secret/templates/frl-exchange-static-secret.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| apiVersion: secrets.hashicorp.com/v1beta1 | ||
| kind: VaultStaticSecret | ||
| metadata: | ||
| name: frl-exchange-secret | ||
| namespace: apps | ||
| spec: | ||
| type: kv-v2 | ||
| refreshAfter: 30s | ||
| vaultAuthRef: static-auth | ||
| mount: reviews_and_allocations | ||
| path: {{ $.Values.env }}/rabbitmq/ | ||
| destination: | ||
| name: frl-exchange-secret | ||
| overwrite: true | ||
| create: true | ||
| transformation: | ||
| templates: | ||
| username: | ||
| text: "{{`{{ get .Secrets \"username\" }}`}}" | ||
| password: | ||
| text: "{{`{{ get .Secrets \"password\" }}`}}" | ||
|
|
1 change: 1 addition & 0 deletions
1
components/ra/fap-results-letters-exchange-secret/values-dev.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| env: dev |
1 change: 1 addition & 0 deletions
1
components/ra/fap-results-letters-exchange-secret/values-prod.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| env: prod |
23 changes: 23 additions & 0 deletions
23
components/ra/fap-results-letters-exchange-topology/.helmignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # 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/ |
24 changes: 24 additions & 0 deletions
24
components/ra/fap-results-letters-exchange-topology/Chart.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| apiVersion: v2 | ||
| name: frl-exchange-topology-chart | ||
| 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: "0.1.0" |
16 changes: 16 additions & 0 deletions
16
...ents/ra/fap-results-letters-exchange-topology/templates/fap-results-letters-bindings.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| {{- range .Values.binding }} | ||
| apiVersion: rabbitmq.com/v1beta1 | ||
| kind: Binding | ||
| metadata: | ||
| name: {{ .name | lower | replace "_" "-" }}-binding | ||
| namespace: {{ $.Values.namespace }} | ||
| spec: | ||
| vhost: {{ $.Values.frl_exchange_vhost}} | ||
| routingKey: {{ index . "routing_key" }} | ||
| source: {{ .source }} | ||
| destination: {{ .destination }} | ||
| destinationType: {{ index . "destination_type" | default "queue"}} | ||
| rabbitmqClusterReference: | ||
| name: {{ $.Values.rmq_cluster_name }} | ||
| --- | ||
| {{ end }} |
17 changes: 17 additions & 0 deletions
17
...nts/ra/fap-results-letters-exchange-topology/templates/fap-results-letters-exchanges.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| {{- range .Values.exchange}} | ||
| apiVersion: rabbitmq.com/v1beta1 | ||
| kind: Exchange | ||
| metadata: | ||
| name: {{ .name | lower | replace "_" "-"}}-exchange | ||
| namespace: {{ $.Values.namespace }} | ||
| spec: | ||
| name: {{ .name }} | ||
| autoDelete: {{ index . "auto-delete" | default "false" }} | ||
| durable: {{ .durable | default "true" }} | ||
| type: {{ .type | default "direct"}} | ||
| vhost: {{ $.Values.frl_exchange_vhost}} | ||
| rabbitmqClusterReference: | ||
| name: {{ $.Values.rmq_cluster_name }} | ||
| deletionPolicy: retain | ||
| --- | ||
| {{ end }} |
17 changes: 17 additions & 0 deletions
17
...onents/ra/fap-results-letters-exchange-topology/templates/fap-results-letters-queues.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| {{- range .Values.queue}} | ||
| apiVersion: rabbitmq.com/v1beta1 | ||
| kind: Queue | ||
| metadata: | ||
| name: {{ .name }} | ||
| namespace: {{ $.Values.namespace }} | ||
| spec: | ||
| name: {{ .name }} | ||
| autoDelete: {{ index . "auto-delete" | default "false" }} | ||
| durable: {{ .durable | default "true" }} | ||
| type: quorum | ||
| vhost: {{ $.Values.frl_exchange_vhost}} | ||
| rabbitmqClusterReference: | ||
| name: {{ $.Values.rmq_cluster_name }} | ||
| deletionPolicy: retain | ||
| --- | ||
| {{ end }} |
17 changes: 17 additions & 0 deletions
17
...fap-results-letters-exchange-topology/templates/fap-results-letters-user-permissions.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| {{- range $user, $config := .Values.users }} | ||
| apiVersion: rabbitmq.com/v1beta1 | ||
| kind: Permission | ||
| metadata: | ||
| name: {{ $user }}-permission | ||
| namespace: {{ $.Values.namespace | default "apps" }} | ||
| spec: | ||
| vhost: {{ $.Values.frl_exchange_vhost }} | ||
| user: {{ $user }} | ||
| permissions: | ||
| configure: {{ $config.permissions.configure | default "(?!)" }} | ||
| write: {{ $config.permissions.write | default "(?!)" }} | ||
| read: {{ $config.permissions.read | default "(?!)" }} | ||
| rabbitmqClusterReference: | ||
| name: {{ $.Values.rmq_cluster_name }} | ||
| --- | ||
| {{- end }} |
17 changes: 17 additions & 0 deletions
17
...sults-letters-exchange-topology/templates/fap-results-letters-user-topic-permissions.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| {{- range $user, $config := .Values.users }} | ||
| apiVersion: rabbitmq.com/v1beta1 | ||
| kind: TopicPermission | ||
| metadata: | ||
| name: {{ $user }}-topic-permission | ||
| namespace: {{ $.Values.namespace | default "apps" }} | ||
| spec: | ||
| vhost: {{ $.Values.frl_exchange_vhost }} | ||
| user: {{ $user }} | ||
| permissions: | ||
| exchange: {{ $config.topicPermissions.exchange | quote }} | ||
| write: {{ $config.topicPermissions.write | default "(?!)" }} | ||
| read: {{ $config.topicPermissions.read | default "(?!)" }} | ||
| rabbitmqClusterReference: | ||
| name: {{ $.Values.rmq_cluster_name }} | ||
| --- | ||
| {{- end }} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this may need to point to main