Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Operator development update: config files now loading #37

Merged
merged 10 commits into from
Apr 29, 2022

Conversation

planetf1
Copy link
Member

  • Removed security connector definitions from sample configs (see Operator should always be able to start servers configured #36)
  • Config documents mounted from configmaps into /deployments/shadowdata
  • New init container to copy into /deployments/data as egeria needs to write to them (a. if using secure connector b. always, unless passed as part of server start)
  • Additional debug support
  • Debug Logs
  • Disable autostart (so container can be inspected)

Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
…ugging)

Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
…EBUG whilst in dev

Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
@planetf1 planetf1 enabled auto-merge April 29, 2022 16:00
@planetf1 planetf1 merged commit cda53b7 into odpi:master Apr 29, 2022
@@ -1,9 +1,17 @@
#!/bin/sh
#!/bin/zsh
Copy link

Choose a reason for hiding this comment

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

ShellCheck: ShellCheck only supports sh/bash/dash/ksh scripts. Sorry!

(at-me in a reply with help or ignore)


Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]

//autostart["STARTUP_SERVER_LIST"] = "cocoMDS4, cocoMDS1, cocoView1"
autostart["STARTUP_SERVER_LIST"], _ = reconciler.getServersFromConfigMap(ctx, egeriaInstance)

if egeriaInstance.Spec.Autostart == true {
Copy link

Choose a reason for hiding this comment

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

S1002: should omit comparison to bool constant, can be simplified to egeriaInstance.Spec.Autostart

(at-me in a reply with help or ignore)


Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]

//autostart["STARTUP_SERVER_LIST"] = "cocoMDS4, cocoMDS1, cocoView1"
autostart["STARTUP_SERVER_LIST"], _ = reconciler.getServersFromConfigMap(ctx, egeriaInstance)

if egeriaInstance.Spec.Autostart == true {
Copy link

Choose a reason for hiding this comment

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

gosimple: S1002: should omit comparison to bool constant, can be simplified to egeriaInstance.Spec.Autostart

(at-me in a reply with help or ignore)


Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]

@@ -1,9 +1,17 @@
#!/bin/sh
#!/bin/zsh
Copy link

Choose a reason for hiding this comment

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

ShellCheck: ShellCheck only supports sh/bash/dash/ksh scripts. Sorry!

(at-me in a reply with help or ignore)


Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]

//autostart["STARTUP_SERVER_LIST"] = "cocoMDS4, cocoMDS1, cocoView1"
autostart["STARTUP_SERVER_LIST"], _ = reconciler.getServersFromConfigMap(ctx, egeriaInstance)

if egeriaInstance.Spec.Autostart == true {
Copy link

Choose a reason for hiding this comment

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

S1002: should omit comparison to bool constant, can be simplified to egeriaInstance.Spec.Autostart

(at-me in a reply with help or ignore)


Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]

//autostart["STARTUP_SERVER_LIST"] = "cocoMDS4, cocoMDS1, cocoView1"
autostart["STARTUP_SERVER_LIST"], _ = reconciler.getServersFromConfigMap(ctx, egeriaInstance)

if egeriaInstance.Spec.Autostart == true {
Copy link

Choose a reason for hiding this comment

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

gosimple: S1002: should omit comparison to bool constant, can be simplified to egeriaInstance.Spec.Autostart

(at-me in a reply with help or ignore)


Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant