-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add checksum to operator deployment (#45)
* Add checksum to operator deployment This will force redeployment of the operator when deploy tokens rotate * Add helm cli to dockerfile We can't use helm natively in go unfortunately because of collisions w/ gitops engines deps (argo faces a similar issue apparently). This modifies the dockerfile to add the helm cli * make deploy operator syncs conditional when local flag is set * use contains to check extensions for raw parser
- Loading branch information
1 parent
3dc42f8
commit 6200583
Showing
9 changed files
with
39 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 |
---|---|---|
@@ -1,7 +1,20 @@ | ||
package sync | ||
|
||
import ( | ||
"time" | ||
|
||
"k8s.io/klog/v2/klogr" | ||
) | ||
|
||
const ( | ||
SyncShaAnnotation = "deployments.plural.sh/sync-sha" | ||
SyncAnnotation = "deployments.plural.sh/service-id" | ||
SSAManager = "plural-deployment-agent" | ||
OperatorService = "deploy-operator" | ||
syncDelay = 5 * time.Second | ||
) | ||
|
||
var ( | ||
Local = false | ||
log = klogr.New() | ||
) |
This file contains 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