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

0.3.2 #16

Merged
merged 2 commits into from
Jul 20, 2022
Merged

0.3.2 #16

merged 2 commits into from
Jul 20, 2022

Conversation

tomthorogood
Copy link

  • Support external secrets operator (consuming applications no longer need to declare full secret specs):
spec:
  values:
    vaultSecrets:
      tenant: iam
      secrets:
        - name: my-reference-name
          source: dev/secret/name
  • Support image automation policies (consuming applications no longer need to supply these:
spec:
  values:
    image: 
      name: gcr.io/uwit-mci-iam/example-flask-app # {"$imagePolicy": "default:app-name-policy:name"}
      tag: latest # {"$imagePolicy": "default:app-name-policy:tag"}
  automation:
    enabled: true
    stage: dev

Given the above example, once the requisite policies, etc. are created, updates will automatically be published of a deployment tag matches something like:

gcr.io/uwit-mci-iam/example-flask-app:deploy-dev.2022.11.16.10.39.v1.2.3

The target tag needs three things:

  • deploy-{{ stage }} (in this case, dev)
  • A dot-delimited timestamp (2022.11.16.10.39)
  • A semver version: v1.2.3

Each piece is separated by a ..

This allows you to re-deploy any version, as the timestamp in the tag dictates what is deployed.

Tom Thorogood added 2 commits July 20, 2022 12:42
Consuming repositories no longer have to supply full secret specifications or image automation policies.
@tomthorogood tomthorogood marked this pull request as ready for review July 20, 2022 19:54
@tomthorogood tomthorogood merged commit efc3a62 into main Jul 20, 2022
@tomthorogood tomthorogood deleted the 0.3.2 branch July 20, 2022 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant