-
Notifications
You must be signed in to change notification settings - Fork 0
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
App-operator watching label set false #77
base: main
Are you sure you want to change the base?
Conversation
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.
For my interest, teleport operator refreshes the token but we don't want it to be refreshed inside the agents?
@@ -65,6 +65,9 @@ func (t *Teleport) CreateConfigMap(ctx context.Context, log logr.Logger, ctrlCli | |||
ObjectMeta: metav1.ObjectMeta{ | |||
Name: configMapName, | |||
Namespace: clusterNamespace, | |||
Labels: map[string]string{ | |||
"app-operator.giantswarm.io/watching": "false", |
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.
Is it okay to add the label upon creation already?
I'm asking because initially it is needed for the configmap to be used to configure the app. Or does this just mean it won't be watched after the initial configuration?
This PR
Towards: Issue 30290
app-operator.giantswarm.io/watching
to"false"
on configmap created by the operator to avoid the unstopable reconciliation of the resource.Checklist