Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 4a57a6d08c1812fa674bdce326305d900347ca62
Merge: 1f31eaf 29fa587
Author: Even Holthe <[email protected]>
Date:   Mon Feb 5 09:30:53 2024 +0100

    Merge pull request #403 from kartverket/dependabot/github_actions/sigstore/cosign-installer-3.4.0

    Bump sigstore/cosign-installer from 3.3.0 to 3.4.0

commit 1f31eafcb154cb2e6d473fc35add0ad1cf786130
Merge: e38c7c6 908c476
Author: Even Holthe <[email protected]>
Date:   Mon Feb 5 09:20:21 2024 +0100

    Merge pull request #404 from kartverket/dependabot/go_modules/github.com/cert-manager/cert-manager-1.14.1

    Bump github.com/cert-manager/cert-manager from 1.13.3 to 1.14.1

commit 908c4767912fc2284581b0f95678060a9118705f
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Feb 5 07:51:50 2024 +0000

    Bump github.com/cert-manager/cert-manager from 1.13.3 to 1.14.1

    Bumps [github.com/cert-manager/cert-manager](https://github.com/cert-manager/cert-manager) from 1.13.3 to 1.14.1.
    - [Release notes](https://github.com/cert-manager/cert-manager/releases)
    - [Commits](https://github.com/cert-manager/cert-manager/compare/v1.13.3...v1.14.1)

    ---
    updated-dependencies:
    - dependency-name: github.com/cert-manager/cert-manager
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 29fa587b92710535cc034391e98feaaac79b803b
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Feb 5 07:22:44 2024 +0000

    Bump sigstore/cosign-installer from 3.3.0 to 3.4.0

    Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.3.0 to 3.4.0.
    - [Release notes](https://github.com/sigstore/cosign-installer/releases)
    - [Commits](https://github.com/sigstore/cosign-installer/compare/v3.3.0...v3.4.0)

    ---
    updated-dependencies:
    - dependency-name: sigstore/cosign-installer
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit e38c7c66702ae1c47ce7d84e7f0bd3e0ea173710
Merge: 2b08dd0 6b375b6
Author: Even Holthe <[email protected]>
Date:   Mon Jan 29 10:52:23 2024 +0100

    Merge pull request #402 from kartverket/dependabot/go_modules/k8s.io/apiextensions-apiserver-0.29.1

    Bump k8s.io/apiextensions-apiserver from 0.29.0 to 0.29.1

commit 2b08dd072128ce8abb3dd2645d136103cbd6124f
Merge: 4a37c14 e6cb798
Author: Even Holthe <[email protected]>
Date:   Mon Jan 29 09:13:06 2024 +0100

    Merge pull request #401 from kartverket/dependabot/go_modules/github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring-0.71.2

    Bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.71.0 to 0.71.2

commit 6b375b6d0026bfc81b23d9d95f208d1a0e0f81f0
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jan 29 07:27:37 2024 +0000

    Bump k8s.io/apiextensions-apiserver from 0.29.0 to 0.29.1

    Bumps [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) from 0.29.0 to 0.29.1.
    - [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
    - [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.29.0...v0.29.1)

    ---
    updated-dependencies:
    - dependency-name: k8s.io/apiextensions-apiserver
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit e6cb7986cde88783a2c606662b185a2b578ac190
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jan 29 07:27:13 2024 +0000

    Bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring

    Bumps [github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring](https://github.com/prometheus-operator/prometheus-operator) from 0.71.0 to 0.71.2.
    - [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases)
    - [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/prometheus-operator/prometheus-operator/compare/v0.71.0...v0.71.2)

    ---
    updated-dependencies:
    - dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 4a37c14f6edcaac6a9dcfdfc65bc2e216702f2b2
Merge: 216df6b 5273e9f
Author: Even Holthe <[email protected]>
Date:   Tue Jan 23 11:59:26 2024 +0100

    Merge pull request #399 from kartverket/dependabot/go_modules/k8s.io/client-go-0.29.1

    Bump k8s.io/client-go from 0.29.0 to 0.29.1

commit 5273e9f2e1d625da6bf8b16ec5010bd4b7a3ae8b
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Jan 23 08:12:53 2024 +0000

    Bump k8s.io/client-go from 0.29.0 to 0.29.1

    Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.29.0 to 0.29.1.
    - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/kubernetes/client-go/compare/v0.29.0...v0.29.1)

    ---
    updated-dependencies:
    - dependency-name: k8s.io/client-go
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 216df6b9b277b7304b872e73f56d335172537766
Merge: c69da44 6721d24
Author: Even Holthe <[email protected]>
Date:   Tue Jan 23 09:11:39 2024 +0100

    Merge pull request #398 from kartverket/dependabot/go_modules/k8s.io/apimachinery-0.29.1

    Bump k8s.io/apimachinery from 0.29.0 to 0.29.1

commit c69da442ac3c25ef5b176092a7b7d1fd83d5a2bf
Author: Even Holthe <[email protected]>
Date:   Tue Jan 23 09:04:06 2024 +0100

    sandbox-deploy: pull before pushing

commit 507bf572ab6749110512f4776d6f68f1b023b358
Merge: 7d72243 99b0291
Author: Even Holthe <[email protected]>
Date:   Mon Jan 22 10:11:52 2024 +0100

    Merge pull request #397 from kartverket/manual-deploy-to-two-sandboxes

    Deploy skiperator to atkv1 and atgcp1

commit 6721d247792db98177ad94b62bfed92b26761c51
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jan 22 07:38:42 2024 +0000

    Bump k8s.io/apimachinery from 0.29.0 to 0.29.1

    Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.29.0 to 0.29.1.
    - [Commits](https://github.com/kubernetes/apimachinery/compare/v0.29.0...v0.29.1)

    ---
    updated-dependencies:
    - dependency-name: k8s.io/apimachinery
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 7d72243b197ade9f042c3cc13a1053e712214df7
Merge: 1db7e3c bc8713a
Author: Even Holthe <[email protected]>
Date:   Mon Jan 22 08:36:47 2024 +0100

    Merge pull request #391 from kartverket/dependabot/go_modules/github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring-0.71.0

    Bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.70.0 to 0.71.0

commit 1db7e3c001a292d020c0fb48c454af6291cf15e8
Merge: f4fe753 94936ec
Author: Even Holthe <[email protected]>
Date:   Mon Jan 22 08:36:25 2024 +0100

    Merge pull request #393 from kartverket/dependabot/go_modules/sigs.k8s.io/controller-tools-0.14.0

    Bump sigs.k8s.io/controller-tools from 0.13.0 to 0.14.0

commit f4fe753f290cc104efffc822c5ff098e002bc50b
Merge: 95d7a68 8bbdf06
Author: Even Holthe <[email protected]>
Date:   Sat Jan 20 18:29:06 2024 +0100

    Merge pull request #390 from kartverket/scrape-istio-proxy-by-default

commit 99b0291f3b1376925f1476ecc308b826e899611a
Author: Even Holthe <[email protected]>
Date:   Sat Jan 20 15:26:16 2024 +0100

    Deploy skiperator to atkv1 and atgcp1

commit 95d7a687c2c8b4e7b41bbfc9889fbcff0a7dd21d
Merge: acb819c 996ab0f
Author: Even Holthe <[email protected]>
Date:   Sat Jan 20 15:17:34 2024 +0100

    Merge pull request #394 from kartverket/dependabot/go_modules/istio.io/client-go-1.20.2

    Bump istio.io/client-go from 1.20.1 to 1.20.2

commit 8bbdf063d90aeeffaf393c3ac2c85b43d6037934
Author: Even Holthe <[email protected]>
Date:   Sat Jan 20 14:10:50 2024 +0100

    Remove ServiceMonitor if istio is not present

commit acb819c6463c3486bd378f1a897f9ae9033a9ca6
Merge: 8e45f89 f34ba24
Author: Even Holthe <[email protected]>
Date:   Fri Jan 19 18:21:54 2024 +0100

    Merge pull request #396 from kartverket/deployments-annotation

    added annotation for pod template

commit f34ba24781cff6adec18506520362118a9e35ef1
Author: Griznah <[email protected]>
Date:   Fri Jan 19 15:25:46 2024 +0100

    Added annotation to test

commit c25c92592a969f9028e7290e08406f35b51dd177
Author: Griznah <[email protected]>
Date:   Thu Jan 18 13:13:55 2024 +0100

    added annotation for pod template

commit 8e45f897a1a9fa40f647b169f334a8e17014c47c
Merge: d9f8a54 c773abb
Author: Even Holthe <[email protected]>
Date:   Tue Jan 16 13:40:42 2024 +0100

    Merge pull request #395 from anderssonw/use-correct-label-skipjob-netpol

    Use correct labelselector for skipjob pods in netpol

commit c773abb4dda105ac84709606d214323e0e5299bf
Author: anderssonw <[email protected]>
Date:   Tue Jan 16 13:32:44 2024 +0100

    update name of netpol podSelector in test

commit fd35e16446408f360db7bd12420d1531c49a4b7f
Author: anderssonw <[email protected]>
Date:   Tue Jan 16 13:24:12 2024 +0100

    use correct labelselector for skipjob pods in netpol

commit 996ab0f970e04b714b449ea8f5c5126a956b6be7
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jan 15 11:12:43 2024 +0000

    Bump istio.io/client-go from 1.20.1 to 1.20.2

    Bumps [istio.io/client-go](https://github.com/istio/client-go) from 1.20.1 to 1.20.2.
    - [Commits](https://github.com/istio/client-go/compare/1.20.1...1.20.2)

    ---
    updated-dependencies:
    - dependency-name: istio.io/client-go
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 94936ecc6c9811c30c4c43585885fc7cc05ea099
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jan 15 11:11:01 2024 +0000

    Bump sigs.k8s.io/controller-tools from 0.13.0 to 0.14.0

    Bumps [sigs.k8s.io/controller-tools](https://github.com/kubernetes-sigs/controller-tools) from 0.13.0 to 0.14.0.
    - [Release notes](https://github.com/kubernetes-sigs/controller-tools/releases)
    - [Changelog](https://github.com/kubernetes-sigs/controller-tools/blob/master/RELEASE.md)
    - [Commits](https://github.com/kubernetes-sigs/controller-tools/compare/v0.13.0...v0.14.0)

    ---
    updated-dependencies:
    - dependency-name: sigs.k8s.io/controller-tools
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit bc8713adfebf9371d072911d56bea6fe6682dd87
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jan 15 11:09:53 2024 +0000

    Bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring

    Bumps [github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring](https://github.com/prometheus-operator/prometheus-operator) from 0.70.0 to 0.71.0.
    - [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases)
    - [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/prometheus-operator/prometheus-operator/compare/v0.70.0...v0.71.0)

    ---
    updated-dependencies:
    - dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit d9f8a54775caf598f1bb2d5fa9b139437a6f4b98
Merge: 74199e0 f66c15a
Author: Thomas Berg <[email protected]>
Date:   Mon Jan 15 12:08:36 2024 +0100

    Merge pull request #392 from kartverket/dependabot/go_modules/istio.io/api-1.20.2

    Bump istio.io/api from 1.20.1 to 1.20.2

commit f66c15a5e786753ccc5e8d27db77d66d5eb8ae58
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jan 15 07:59:20 2024 +0000

    Bump istio.io/api from 1.20.1 to 1.20.2

    Bumps [istio.io/api](https://github.com/istio/api) from 1.20.1 to 1.20.2.
    - [Commits](https://github.com/istio/api/compare/1.20.1...1.20.2)

    ---
    updated-dependencies:
    - dependency-name: istio.io/api
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 18c25d6116876952ce98aa0b8de4ae8009027564
Author: Even Holthe <[email protected]>
Date:   Tue Jan 9 10:01:47 2024 +0100

    Only scrape istio-proxy

    We'll always want to scrape istio-proxy. If custom application
    metrics is exposed through the spec, the istio-proxy should scrape
    those metrics and expose the merged result.

    SKIP-1288

commit 74199e00d41509b889553f16dff0a84279c898e8
Author: Even Holthe <[email protected]>
Date:   Mon Jan 8 14:29:56 2024 +0100

    Bump deps

    Fixes #377
    Fixes #387
    Fixes #388
    Fixes #389

commit 91ec782e58eb4d7a0d6584c5762c935472e1cf7a
Author: Even Holthe <[email protected]>
Date:   Fri Jan 5 15:13:26 2024 +0100

    tests: bump to K8s 1.29.0 following bump of api+client-go

commit 8822e5161ab8c675b94055ada76cbce5bc891e46
Author: Martin Haram Nygård <[email protected]>
Date:   Fri Jan 5 10:01:53 2024 +0100

    Use different istio reference in makefile for istio version (#386)

commit 5a267b0bd0b943ea768d0767e3fe1d3e2dffd093
Author: Even Holthe <[email protected]>
Date:   Thu Jan 4 12:20:55 2024 +0100

    @actions/artifact: Unique ARTIFACT_NAME

commit 2c5a4b0914f82190a21fb07f7359a9d5644ace91
Merge: 588937f 65ff4c5
Author: Snorre Selmer <[email protected]>
Date:   Wed Jan 3 14:04:47 2024 +0100

    Merge pull request #380 from kartverket/dependabot/github_actions/actions/download-artifact-4

    Bump actions/download-artifact from 3 to 4

commit 588937f8ea88283ae3de090b993d44ae1612dc28
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Jan 2 09:38:01 2024 +0100

    Bump k8s.io/client-go from 0.28.4 to 0.29.0 (#385)

    Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.28.4 to 0.29.0.
    - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/kubernetes/client-go/compare/v0.28.4...v0.29.0)

    ---
    updated-dependencies:
    - dependency-name: k8s.io/client-go
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 6af772c67a20c8adbb1867c063b03edccf5798d5
Merge: bc781b8 955b1d7
Author: Even Holthe <[email protected]>
Date:   Tue Jan 2 07:53:29 2024 +0100

    Merge pull request #382 from kartverket/dependabot/go_modules/golang.org/x/crypto-0.17.0

commit bc781b856ecd9c1c9fb9f36f0dcf6ef494f55414
Author: Even Holthe <[email protected]>
Date:   Wed Dec 20 14:21:11 2023 +0100

    deployment: don't modify selector when using team labels

commit 83be8e31c100bdee81b6ff84b000db44e0fe7c8e
Merge: 51a7328 285d5c8
Author: Even Holthe <[email protected]>
Date:   Wed Dec 20 13:53:28 2023 +0100

    Merge pull request #384 from kartverket/team-label

    application: add 'team' to spec

commit 285d5c827838f9835c5bc828da974ff2046c05d9
Author: Even Holthe <[email protected]>
Date:   Wed Dec 20 13:44:15 2023 +0100

    application: add extra negative test case

commit 87e6810859798bbfaedd4949cba70a343133853f
Author: Even Holthe <[email protected]>
Date:   Wed Dec 20 10:54:57 2023 +0100

    application: add 'team' to spec

    In order to propagate team name down to running Pod's this field
    needs to be explicitly set or inferred from the Application's
    namespace.

    Co-authored-by: Johannes Bråthen Oma <[email protected]>

commit 51a73289c704fd9a311bfa29f9f122090496fa42
Merge: 2ad5dff 63729cc
Author: Even Holthe <[email protected]>
Date:   Wed Dec 20 10:42:46 2023 +0100

    Merge pull request #383 from kartverket/better-return-values

    refactor: extract reconcile return functions

commit 63729cc7d3ab354911ad2af927b17ae44d83dbf8
Author: Even Holthe <[email protected]>
Date:   Wed Dec 20 09:26:18 2023 +0100

    refactor: extract reconcile return functions

    In order to give more semantic meaning, the common return values
    are refactored into helper functions

commit 2ad5dff0f4599f7f6934c502f03a774b42314322
Merge: c94df19 e143e0a
Author: Even Holthe <[email protected]>
Date:   Tue Dec 19 08:51:26 2023 +0100

    Merge pull request #379 from kartverket/dependabot/github_actions/sigstore/cosign-installer-3.3.0

commit c94df191d58c3b72442a10f65d4f109aa621417e
Merge: 18ad190 dffeb89
Author: Even Holthe <[email protected]>
Date:   Tue Dec 19 08:50:36 2023 +0100

    Merge pull request #381 from kartverket/dependabot/go_modules/github.com/kyverno/chainsaw-0.1.1

commit 955b1d77b5116fde185bf38fe090989dbb51e8d2
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Dec 19 00:04:25 2023 +0000

    Bump golang.org/x/crypto from 0.16.0 to 0.17.0

    Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.16.0 to 0.17.0.
    - [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0)

    ---
    updated-dependencies:
    - dependency-name: golang.org/x/crypto
      dependency-type: indirect
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 18ad190817a823e897626fff3ae4a44c58f4454f
Author: Martin Haram Nygård <[email protected]>
Date:   Mon Dec 18 12:36:38 2023 +0100

    Workflow should fail if tests fail (#373)

commit dffeb893cb8ef45411e9f0355fa1979e81b22d50
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Dec 18 11:03:10 2023 +0000

    Bump github.com/kyverno/chainsaw from 0.0.9 to 0.1.1

    Bumps [github.com/kyverno/chainsaw](https://github.com/kyverno/chainsaw) from 0.0.9 to 0.1.1.
    - [Release notes](https://github.com/kyverno/chainsaw/releases)
    - [Changelog](https://github.com/kyverno/chainsaw/blob/main/.goreleaser.yaml)
    - [Commits](https://github.com/kyverno/chainsaw/compare/v0.0.9...v0.1.1)

    ---
    updated-dependencies:
    - dependency-name: github.com/kyverno/chainsaw
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 45a332573caacd284772926a9ac3df47b46fb76e
Merge: b9ed599 c2ad973
Author: Even Holthe <[email protected]>
Date:   Mon Dec 18 09:11:22 2023 +0100

    Merge pull request #370 from kartverket/dependabot/go_modules/github.com/cert-manager/cert-manager-1.13.3

commit c2ad97388fe83da2ede33fbace44eccec489e9bf
Merge: ab24861 b9ed599
Author: Thomas Berg <[email protected]>
Date:   Mon Dec 18 08:44:11 2023 +0100

    Merge branch 'main' into dependabot/go_modules/github.com/cert-manager/cert-manager-1.13.3

commit 65ff4c574290c63dac5e8707d290ee23ac9a1d80
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Dec 18 07:39:28 2023 +0000

    Bump actions/download-artifact from 3 to 4

    Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.
    - [Release notes](https://github.com/actions/download-artifact/releases)
    - [Commits](https://github.com/actions/download-artifact/compare/v3...v4)

    ---
    updated-dependencies:
    - dependency-name: actions/download-artifact
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit e143e0a87bee39f14dbbeac74b6ef94a9fefe090
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Dec 18 07:39:22 2023 +0000

    Bump sigstore/cosign-installer from 3.2.0 to 3.3.0

    Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.2.0 to 3.3.0.
    - [Release notes](https://github.com/sigstore/cosign-installer/releases)
    - [Commits](https://github.com/sigstore/cosign-installer/compare/v3.2.0...v3.3.0)

    ---
    updated-dependencies:
    - dependency-name: sigstore/cosign-installer
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit b9ed599c3d88917d2e9f8473cb5aaf267100f909
Author: Espen Henriksen <[email protected]>
Date:   Thu Dec 14 11:00:29 2023 +0100

    Link to crds.dev for API doc

commit 3d5eb0a88f661377f3103f5e7246527699fce846
Author: Martin Haram Nygård <[email protected]>
Date:   Tue Dec 12 10:13:17 2023 +0100

    Add more permissions for proxy, so frontends can run (#372)

commit ab24861e6ebf4c4f4a85e403bf227bb365ef3a2e
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Dec 11 14:55:07 2023 +0000

    Bump github.com/cert-manager/cert-manager from 1.13.2 to 1.13.3

    Bumps [github.com/cert-manager/cert-manager](https://github.com/cert-manager/cert-manager) from 1.13.2 to 1.13.3.
    - [Release notes](https://github.com/cert-manager/cert-manager/releases)
    - [Commits](https://github.com/cert-manager/cert-manager/compare/v1.13.2...v1.13.3)

    ---
    updated-dependencies:
    - dependency-name: github.com/cert-manager/cert-manager
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 8c02f754569376fde9aac8e4b5fbe712c3adf7a6
Author: Martin Haram Nygård <[email protected]>
Date:   Mon Dec 11 09:49:04 2023 +0100

    [SKIP-1185] - add missing securityContext values in deployment (#368)

    * [SKIP-1185] - add missing securityContext values in deployment

    * change workflow

commit 5d292de1ee0dc6f07cec570a4e2733d8e02e7bab
Author: Martin Haram Nygård <[email protected]>
Date:   Mon Dec 11 09:37:41 2023 +0100

    Add on workflow_dispatch

commit 3160debc6d007d3c116708d71a9d78016720c307
Merge: 35b7dab 99a39ef
Author: Even Holthe <[email protected]>
Date:   Mon Dec 11 09:18:57 2023 +0100

    Merge pull request #371 from kartverket/dependabot/go_modules/github.com/kyverno/chainsaw-0.0.9

commit 35b7dab8c4307e82dc8acff9f2a2e42289b2a340
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Dec 11 09:08:30 2023 +0100

    Bump actions/setup-go from 4 to 5 (#369)

    Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
    - [Release notes](https://github.com/actions/setup-go/releases)
    - [Commits](https://github.com/actions/setup-go/compare/v4...v5)

    ---
    updated-dependencies:
    - dependency-name: actions/setup-go
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 99a39ef9f3c2332cbb6a2f13700484d446d288b8
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Dec 11 07:42:13 2023 +0000

    Bump github.com/kyverno/chainsaw from 0.0.8 to 0.0.9

    Bumps [github.com/kyverno/chainsaw](https://github.com/kyverno/chainsaw) from 0.0.8 to 0.0.9.
    - [Release notes](https://github.com/kyverno/chainsaw/releases)
    - [Changelog](https://github.com/kyverno/chainsaw/blob/main/.goreleaser.yaml)
    - [Commits](https://github.com/kyverno/chainsaw/compare/v0.0.8...v0.0.9)

    ---
    updated-dependencies:
    - dependency-name: github.com/kyverno/chainsaw
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 2c6f6b82343fdc6ce32af97c5857d581be9eb49d
Merge: 63aad7d e14db74
Author: Even Holthe <[email protected]>
Date:   Fri Dec 8 13:59:15 2023 +0100

    Merge pull request #367 from kartverket/disable-nightly-push

commit 63aad7d0322869d69cc454940fa33b4a8e1e2c2b
Merge: 97d3585 547ea06
Author: Even Holthe <[email protected]>
Date:   Fri Dec 8 10:58:21 2023 +0100

    Merge pull request #366 from kartverket/bump-deps

commit e14db741234a1c2668d29510b513f87d926ed70e
Author: Even Holthe <[email protected]>
Date:   Fri Dec 8 10:54:20 2023 +0100

    Disable automatic deploy on nightly builds

commit 547ea06aead7b8f5402261ce5016dd0ba2f71bc7
Author: Even Holthe <[email protected]>
Date:   Fri Dec 8 10:28:50 2023 +0100

    Bump kyaml to v0.16.0

commit c90a8a457aea95d8d4d7b68a905749cc4f234217
Author: Even Holthe <[email protected]>
Date:   Fri Dec 8 10:27:00 2023 +0100

    Bump x/exp

commit d739d1ccda9bbf1d2ca8e9970fe386ecbe259fc2
Author: Even Holthe <[email protected]>
Date:   Fri Dec 8 10:10:32 2023 +0100

    Bump mergo to v1.0.0

commit 34fc5cc25270124d1d10e323cd17e6128577a502
Author: Even Holthe <[email protected]>
Date:   Fri Dec 8 09:32:13 2023 +0100

    Bump chainsaw to v0.0.8

commit 97d35858b188458523de871ccd8668d98f7f6283
Merge: de31d5a 8bda320
Author: Even Holthe <[email protected]>
Date:   Fri Dec 8 09:26:42 2023 +0100

    Merge pull request #362 from kartverket/dependabot/go_modules/github.com/google/k8s-digester-0.1.13

commit de31d5abc7431a4e40b113a5cfd9ab99cb742bb9
Merge: 7bc94fa 23a3f0f
Author: Even Holthe <[email protected]>
Date:   Thu Dec 7 12:53:46 2023 +0100

    Merge pull request #365 from kartverket/fix-service-port

commit 23a3f0f421646eb1be5966e3d7b280d480cc6f18
Author: Even Holthe <[email protected]>
Date:   Thu Dec 7 12:34:13 2023 +0100

    service: refactor default port handling

commit bcbe19316533d536fe19b24ce7f7e6acf9534d7a
Author: Even Holthe <[email protected]>
Date:   Thu Dec 7 12:22:06 2023 +0100

    service: allow both TCP and UDP

commit f21d60b46b0cb29853ec2da8c063a745f919861e
Author: Even Holthe <[email protected]>
Date:   Thu Dec 7 12:13:21 2023 +0100

    service: expose appProtocol

commit 0063e0deb9144f1036aecb13ff1345844978c32f
Author: Even Holthe <[email protected]>
Date:   Thu Dec 7 10:11:02 2023 +0100

    service: add tests

commit 8bda3202c85be0358d1d5753b6fcca11bbbefbd6
Author: Even Holthe <[email protected]>
Date:   Mon Dec 4 10:54:50 2023 +0100

    digester: fix api incompatibiltiy

commit 0e72056d154c246b91721e9a3b6495c0969976e8
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Nov 30 12:51:31 2023 +0000

    Bump github.com/google/k8s-digester from 0.1.10 to 0.1.13

    Bumps [github.com/google/k8s-digester](https://github.com/google/k8s-digester) from 0.1.10 to 0.1.13.
    - [Release notes](https://github.com/google/k8s-digester/releases)
    - [Changelog](https://github.com/google/k8s-digester/blob/main/docs/release.md)
    - [Commits](https://github.com/google/k8s-digester/compare/v0.1.10...v0.1.13)

    ---
    updated-dependencies:
    - dependency-name: github.com/google/k8s-digester
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 7bc94faf21870eadbb99e7443da166eb12d018ee
Merge: 2c1dc87 96740d1
Author: Thomas Berg <[email protected]>
Date:   Mon Dec 4 10:02:28 2023 +0100

    Merge pull request #364 from kartverket/dependabot/go_modules/github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring-0.70.0

    Bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.68.0 to 0.70.0

commit 2c1dc87685e2f8a661e9e406c8156853f0a7158b
Merge: 9013f59 86ec054
Author: Even Holthe <[email protected]>
Date:   Mon Dec 4 09:55:08 2023 +0100

    Merge pull request #357 from kartverket/dependabot/go_modules/istio.io/client-go-1.20.0

commit 86ec054774b907123ce94f2c0105588e306dea2d
Author: Even Holthe <[email protected]>
Date:   Mon Dec 4 09:44:18 2023 +0100

    istio: don't depend on beta

commit e7cdb20b4c99c62d33934c783da1fa133546710d
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Dec 4 08:38:59 2023 +0000

    Bump istio.io/client-go from 1.19.1 to 1.20.0

    Bumps [istio.io/client-go](https://github.com/istio/client-go) from 1.19.1 to 1.20.0.
    - [Commits](https://github.com/istio/client-go/compare/1.19.1...1.20.0)

    ---
    updated-dependencies:
    - dependency-name: istio.io/client-go
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 9013f59d78c7117af429b90fa4f3770133f2c2c5
Merge: bc751db cf979f5
Author: Even Holthe <[email protected]>
Date:   Mon Dec 4 09:37:45 2023 +0100

    Merge pull request #356 from kartverket/dependabot/github_actions/sigstore/cosign-installer-3.2.0

commit cf979f5b2d4ed51786a2c3c6b65abcd23f1a4303
Merge: ab2b4aa bc751db
Author: Martin Haram Nygård <[email protected]>
Date:   Mon Dec 4 09:32:38 2023 +0100

    Merge branch 'main' into dependabot/github_actions/sigstore/cosign-installer-3.2.0

commit bc751dbd971f8bfd4d5bf35037ff3067dccd822d
Merge: 7647cb4 c9bbf46
Author: Even Holthe <[email protected]>
Date:   Mon Dec 4 09:29:30 2023 +0100

    Merge pull request #354 from kartverket/dependabot/go_modules/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc-0.46.0

commit 7647cb499634584ef304daaa2c76172601347ed5
Merge: cb0dc29 ba19f90
Author: Even Holthe <[email protected]>
Date:   Mon Dec 4 09:06:57 2023 +0100

    Merge pull request #355 from kartverket/dependabot/github_actions/kartverket/pharos-0.1.5

commit 96740d1d77d34e62eb305431a88ca44ba473bfae
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Dec 4 07:12:55 2023 +0000

    Bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring

    Bumps [github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring](https://github.com/prometheus-operator/prometheus-operator) from 0.68.0 to 0.70.0.
    - [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases)
    - [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/prometheus-operator/prometheus-operator/compare/v0.68.0...v0.70.0)

    ---
    updated-dependencies:
    - dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit cb0dc291ef1639c38be83ade92b40b48a3c6608f
Merge: 94579e4 4819342
Author: Snorre Selmer <[email protected]>
Date:   Fri Dec 1 10:59:10 2023 +0100

    Merge pull request #360 from kartverket/SKIP-1225

    SKIP-1225 Egress using NamespacesByLabel

commit 4819342fe73f78134fc8451a5a7a158ac801e969
Author: Snorre Selmer <[email protected]>
Date:   Fri Dec 1 10:35:15 2023 +0100

    Moved to Chainsaw-tests, cleaned up tests a bit

commit bb099f2aeedd8d274e69f6f244c04ab96ca46695
Merge: befe9aa 94579e4
Author: Snorre Selmer <[email protected]>
Date:   Fri Dec 1 10:03:51 2023 +0100

    Merge remote-tracking branch 'origin/main'

    # Conflicts:
    #	tests/application/access-policy/inbound-rule-assert.yaml
    #	tests/application/access-policy/inbound-rule-ns-by-label-patch-assert.yaml
    #	tests/application/access-policy/inbound-rule-ns-by-label-patch.yaml
    #	tests/application/access-policy/inbound-rule-ns-override-patch-assert.yaml
    #	tests/application/access-policy/inbound-rule-ns-override-patch.yaml
    #	tests/application/replicas/application.yaml

commit c9bbf46323929a5ea2547707aeb072a483e8714e
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Nov 30 12:51:07 2023 +0000

    Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc

    Bumps [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.35.0 to 0.46.0.
    - [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.35.0...zpages/v0.46.0)

    ---
    updated-dependencies:
    - dependency-name: go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
      dependency-type: indirect
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 94579e49a05025701190373ca0090acf8c6195b1
Merge: 9eb7d08 b3244ad
Author: Even Holthe <[email protected]>
Date:   Thu Nov 30 13:50:04 2023 +0100

    Merge pull request #352 from kartverket/dependabot/go_modules/github.com/cert-manager/cert-manager-1.13.2

commit b3244add8e061687e6058655f126ab285fbfcff3
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Nov 30 11:44:18 2023 +0000

    Bump github.com/cert-manager/cert-manager from 1.13.1 to 1.13.2

    Bumps [github.com/cert-manager/cert-manager](https://github.com/cert-manager/cert-manager) from 1.13.1 to 1.13.2.
    - [Release notes](https://github.com/cert-manager/cert-manager/releases)
    - [Commits](https://github.com/cert-manager/cert-manager/compare/v1.13.1...v1.13.2)

    ---
    updated-dependencies:
    - dependency-name: github.com/cert-manager/cert-manager
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 9eb7d085137ee31f30ce91158340fc69446ad7bb
Author: Martin Haram Nygård <[email protected]>
Date:   Thu Nov 30 12:43:01 2023 +0100

    [SKIP-1153] - refactor from kuttl to chainsaw (#358)

    * [SKIP-1153] - refactor from kuttl to chainsaw

    * add chainsaw workflow

    * Fixes

    * Fixes

    * Fix application tests

    * Fix application tests

    * test less updates

    * remove concurrency

    * add job and namespace tests

    * upgrade kind cluster version

    * remove target branch

    * dependency cleanup

    * chainsaw 0.0.7

    * Add subresource test

    * Remove frequent status updates

    * merge with main

    * cleanup

    * Remove etcd dependency

    * makefile: introduce "run-local"

    * remove temporary ns hack

    * Embed chainsaw version in go.mod

    * makefile: use versions from go.mod

    K8s version doesn't always have a matching kind version

    * autogen

    * Introduce a way for testing a single dir

    * whitespace fixes

    * run correct make cmd in workflow

    * Standardize on go 1.21.4

    * bug: fix mktemp on gha

    ---------

    Co-authored-by: Even Holthe <[email protected]>

commit befe9aaefe171a8286e4a04c365471c99a8455fa
Merge: 42830cc dfbf40f
Author: Snorre Selmer <[email protected]>
Date:   Wed Nov 29 12:38:16 2023 +0100

    Merge branch 'main' into SKIP-1225

commit 42830ccf3e463a8e01fd291f9f91d1092e4b3521
Author: Snorre Selmer <[email protected]>
Date:   Wed Nov 29 12:21:29 2023 +0100

    - Reworked GetEgressService logic to prioritize namespace over namespacesByLabel
    - Fixed a couple of typos in comments

commit 1c6e488f11b99c3bc89d566e1568d6472ada2444
Author: Snorre Selmer <[email protected]>
Date:   Wed Nov 29 10:58:50 2023 +0100

    - Removed unused code

commit 48eafcd579d27c8197a57fa4f64d81e48baed99a
Author: Snorre Selmer <[email protected]>
Date:   Wed Nov 29 09:44:16 2023 +0100

    - Added namespaceMatchesNamespacesByLabel utility-function

commit 94b893582647f50d484cd68e38156ada654e7caf
Author: Snorre Selmer <[email protected]>
Date:   Tue Nov 28 10:39:14 2023 +0100

    Update README.md

    Corrected documentation indentation for better clarity

    Co-authored-by: Espen Henriksen <[email protected]>

commit dfbf40f1df4d14e1bfea2ae7f750e2d3ca734ed5
Merge: a49ac2a eed9ee2
Author: Bård Ove Hoel <[email protected]>
Date:   Mon Nov 27 10:03:24 2023 +0100

    Merge pull request #361 from kartverket/monitoring

    Monitoring

commit a49ac2af5c93e4699eec65651985af938fc283cf
Author: Espen Henriksen <[email protected]>
Date:   Fri Nov 24 15:28:28 2023 +0100

    Add nightly build

commit df6eb32a5ef4f83cc36002dc5f6ecbb2c6e3a400
Author: Snorre Selmer <[email protected]>
Date:   Fri Nov 24 12:13:34 2023 +0100

    - Added namespace-priority testing to access-policy tests

commit eed9ee24ba6790c26d63b97e5b9b92146aea138b
Author: Bård Ove Hoel <[email protected]>
Date:   Fri Nov 24 11:58:37 2023 +0100

    updated readme

commit 1d9e8aeaf7e37e89a5badc1ee0494efcd05a1cc6
Author: Even Holthe <[email protected]>
Date:   Fri Nov 24 11:32:04 2023 +0100

    Add Istio to SKIPJob w/PodMonitor

commit d678ca2fa43afa1d6d660a3996ef3db483e96fd0
Author: Even Holthe <[email protected]>
Date:   Fri Nov 24 11:16:00 2023 +0100

    Fix istioEnabled check

commit a852c7492b44b3a6fb3bb1531364e4861eaca21b
Author: Bård Ove Hoel <[email protected]>
Date:   Fri Nov 24 11:08:05 2023 +0100

    tests

commit 77a840283b1702d4d7ffd6d303c8f3830e25036f
Author: Bård Ove Hoel <[email protected]>
Date:   Fri Nov 24 09:53:30 2023 +0100

    added monitoring for skip-job

commit 3d7ce36fa3ea52540f124707527fa95cb2465da4
Merge: c43d51d 38c016e
Author: Snorre Selmer <[email protected]>
Date:   Wed Nov 22 13:52:20 2023 +0100

    Merge branch 'main' into SKIP-1225

commit c43d51dfc549c042489e60f6fe36ef3e141921c6
Author: Snorre Selmer <[email protected]>
Date:   Wed Nov 22 13:51:34 2023 +0100

    - Updated README.md with namespacesByLabel

commit c6a00cd98c2d6e139a57da177ab109cd510f7d46
Author: Snorre Selmer <[email protected]>
Date:   Wed Nov 22 13:28:29 2023 +0100

    - Egress NamespacesByLabel is in and working

commit 38c016e96296ff0c544edda6aace4d87e4778a77
Merge: 9d57caf f247944
Author: Even Holthe <[email protected]>
Date:   Wed Nov 22 13:00:01 2023 +0100

    Merge pull request #359 from kartverket/resources-modification-bug

commit 5947f3b9bf70c68ed6190bf67c69b748696c424f
Author: Snorre Selmer <[email protected]>
Date:   Wed Nov 22 08:19:47 2023 +0100

    - Initial push, code still needs more work

commit f2479445bd7c32bacdddb4d8df33e0959817e74b
Author: Even Holthe <[email protected]>
Date:   Tue Nov 21 14:27:38 2023 +0100

    Fix "resources" not getting updated

    SKIP-1245

commit 9d57caf46272d5e7c594634e5083357177409559
Author: Even Holthe <[email protected]>
Date:   Tue Nov 21 14:28:26 2023 +0100

    updated crds descriptions

commit ab2b4aa5b0a9dc76e864928340646badf49ff32e
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Nov 13 07:49:02 2023 +0000

    Bump sigstore/cosign-installer from 3.1.2 to 3.2.0

    Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.1.2 to 3.2.0.
    - [Release notes](https://github.com/sigstore/cosign-installer/releases)
    - [Commits](https://github.com/sigstore/cosign-installer/compare/v3.1.2...v3.2.0)

    ---
    updated-dependencies:
    - dependency-name: sigstore/cosign-installer
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit ba19f90d9517c7088ad5338e157463cc84a7bd40
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Nov 13 07:48:58 2023 +0000

    Bump kartverket/pharos from 0.1.4 to 0.1.5

    Bumps [kartverket/pharos](https://github.com/kartverket/pharos) from 0.1.4 to 0.1.5.
    - [Release notes](https://github.com/kartverket/pharos/releases)
    - [Commits](https://github.com/kartverket/pharos/compare/v0.1.4...v0.1.5)

    ---
    updated-dependencies:
    - dependency-name: kartverket/pharos
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 68235a331b99d66f4d6b371917228e783da63b1c
Merge: 8e68a3c b36cf43
Author: Thomas Berg <[email protected]>
Date:   Fri Nov 10 14:18:39 2023 +0100

    Merge pull request #348 from kartverket/dependabot/go_modules/github.com/docker/docker-24.0.7incompatible

    Bump github.com/docker/docker from 20.10.24+incompatible to 24.0.7+incompatible

commit aa41b22aaa05808cbfb1b7f84990dec80c2a8571
Author: Snorre Selmer <[email protected]>
Date:   Wed Nov 8 14:29:53 2023 +0100

    - Messing with Kuttl rules

commit 8e68a3cbaaa9d841d0b65de7f29e3dd95427531f
Author: Jørn Ola Birkeland <[email protected]>
Date:   Mon Nov 6 07:51:02 2023 +0100

    Oppretter sikkerhetsmappa med beskrivelse.yaml og legger til Security Champion i CODEOWNERS (#340)

    Co-authored-by: Jørn Ola Birkeland <[email protected]>
    Co-authored-by: William Andersson <[email protected]>

commit 431a954ae17dee3f61004e916499bfed9f91a930
Author: Snorre Selmer <[email protected]>
Date:   Fri Nov 3 14:15:34 2023 +0100

    - First pass at outbound namespacesByLabel

commit a9710951508b53aabc5a7304ed476b72d199bf56
Author: William Andersson <[email protected]>
Date:   Thu Nov 2 14:40:52 2023 +0100

    [SKIP-1224] Add PodSettings (#349)

    * add podsettings for adding annotations and terminationgraceperiodsettings on pod templates

    * add some docs

    * not yaml yaml

commit 0f8848b4a9e1dbd3ab23b42169c154bbd8587f4f
Merge: f5e8a55 2994847
Author: Even Holthe <[email protected]>
Date:   Thu Nov 2 13:44:54 2023 +0100

    Merge pull request #350 from kartverket/features-by-k8s-version

commit 29948470ac7def97c5a10952d8db2cee43d7b703
Author: Even Holthe <[email protected]>
Date:   Thu Nov 2 13:29:36 2023 +0100

    Add new version package for controlling feature gated features

commit f5e8a55be4450eacfa14821d4b374cddc8ae2b3d
Author: William Andersson <[email protected]>
Date:   Tue Oct 31 09:18:42 2023 +0100

    [SKIP-1214] SKIPJob fixes for failed Jobs (#335)

    * wip for fixing skipjob stuff

    * more WIP fixing of inconsistent istio-proxy killing

    * update failed job message

    * wip hahaha

    * hahaha-ify

    * rename back to old label key

    * comment labels

    * add correct labels for minimal job test

commit b36cf430c493ee1324545c8638989e9df350c396
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Oct 30 15:37:46 2023 +0000

    Bump github.com/docker/docker

    Bumps [github.com/docker/docker](https://github.com/docker/docker) from 20.10.24+incompatible to 24.0.7+incompatible.
    - [Release notes](https://github.com/docker/docker/releases)
    - [Commits](https://github.com/docker/docker/compare/v20.10.24...v24.0.7)

    ---
    updated-dependencies:
    - dependency-name: github.com/docker/docker
      dependency-type: indirect
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 7828678bbe5c7efedf7792ed1685880e7cc9b327
Merge: 310e1b5 6dea344
Author: Even Holthe <[email protected]>
Date:   Mon Oct 30 15:09:10 2023 +0100

    Merge pull request #344 from kartverket/dependabot/go_modules/github.com/go-logr/logr-1.3.0

commit 310e1b5757f4b49cfaed443c812d631abcde4c8f
Merge: 6ce1db6 60aa261
Author: Even Holthe <[email protected]>
Date:   Mon Oct 30 15:04:07 2023 +0100

    Merge pull request #346 from kartverket/dependabot/go_modules/sigs.k8s.io/controller-runtime-0.16.3

commit 6ce1db62af6dfd438e56e7ad8a92c00e1ef5816a
Author: Johannes Bråthen Oma <[email protected]>
Date:   Mon Oct 30 14:30:52 2023 +0100

    Set UnhealthyPodEviction to AlwaysAllow (#342)

commit 60aa261867abd37bc9ca298b87361eca06d3d7ab
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Oct 30 13:27:36 2023 +0000

    Bump sigs.k8s.io/controller-runtime from 0.16.2 to 0.16.3

    Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.16.2 to 0.16.3.
    - [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
    - [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
    - [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.16.2...v0.16.3)

    ---
    updated-dependencies:
    - dependency-name: sigs.k8s.io/controller-runtime
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit a331f985910ba31351ab68ff7f8d3042a69a843d
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Oct 30 14:25:41 2023 +0100

    Bump sigs.k8s.io/kustomize/kyaml from 0.13.9 to 0.15.0 (#347)

    Bumps [sigs.k8s.io/kustomize/kyaml](https://github.com/kubernetes-sigs/kustomize) from 0.13.9 to 0.15.0.
    - [Release notes](https://github.com/kubernetes-sigs/kustomize/releases)
    - [Commits](https://github.com/kubernetes-sigs/kustomize/compare/kyaml/v0.13.9...api/v0.15.0)

    ---
    updated-dependencies:
    - dependency-name: sigs.k8s.io/kustomize/kyaml
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 60a75ebf48038f15fe5774cad9d142c806f571ab
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Oct 30 09:41:56 2023 +0100

    Bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.67.1 to 0.68.0 (#345)

    Bumps [github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring](https://github.com/prometheus-operator/prometheus-operator) from 0.67.1 to 0.68.0.
    - [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases)
    - [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/prometheus-operator/prometheus-operator/compare/v0.67.1...v0.68.0)

    ---
    updated-dependencies:
    - dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 6dea34493529b68c4aab77cfdf8b55836684afd8
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Oct 30 07:56:57 2023 +0000

    Bump github.com/go-logr/logr from 1.2.4 to 1.3.0

    Bumps [github.com/go-logr/logr](https://github.com/go-logr/logr) from 1.2.4 to 1.3.0.
    - [Release notes](https://github.com/go-logr/logr/releases)
    - [Changelog](https://github.com/go-logr/logr/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/go-logr/logr/compare/v1.2.4...v1.3.0)

    ---
    updated-dependencies:
    - dependency-name: github.com/go-logr/logr
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 80358d3b4953a4d1b46b41e6d7867891d4f6aa29
Merge: 9e9f082 17a38af
Author: Even Holthe <[email protected]>
Date:   Thu Oct 26 11:55:09 2023 +0200

    Merge pull request #343 from kartverket/skipjob-gcp-env-fix

commit 9e9f082816e70b06c69e9144da0f833ba9480cf4
Merge: 5be360e d5f4a80
Author: Even Holthe <[email protected]>
Date:   Thu Oct 26 11:52:59 2023 +0200

    Merge pull request #341 from kartverket/dependabot/go_modules/google.golang.org/grpc-1.57.1

commit 17a38af6d77ebaad996371bed97a96e07c49310d
Author: anderssonw <[email protected]>
Date:   Thu Oct 26 09:37:27 2023 +0200

    remove unused function

commit ee9b703d2ebea5dee3060989583fe46677e40614
Author: anderssonw <[email protected]>
Date:   Thu Oct 26 09:35:08 2023 +0200

    do not add gcp env var to skipjob spec, make copy instead

commit d5f4a80f76dfddca4ba0d3f0d4195181fde7a14f
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed Oct 25 21:41:50 2023 +0000

    Bump google.golang.org/grpc from 1.57.0 to 1.57.1

    Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.57.0 to 1.57.1.
    - [Release notes](https://github.com/grpc/grpc-go/releases)
    - [Commits](https://github.com/grpc/grpc-go/compare/v1.57.0...v1.57.1)

    ---
    updated-dependencies:
    - dependency-name: google.golang.org/grpc
      dependency-type: indirect
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 5be360e443efec647e61ac8299e44da4ca825157
Author: William Andersson <[email protected]>
Date:   Mon Oct 23 13:06:52 2023 +0200

    Update README.md

commit 9eed43f94c35b1bfb497e639a0c68f33f8b7636d
Merge: a2d6303 597ce97
Author: Thomas Berg <[email protected]>
Date:   Mon Oct 23 09:20:49 2023 +0200

    Merge pull request #337 from kartverket/dependabot/go_modules/k8s.io/apiextensions-apiserver-0.28.3

    Bump k8s.io/apiextensions-apiserver from 0.28.1 to 0.28.3

commit 597ce97aba15ba0c64787da9b58b46023910178f
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Oct 23 06:04:35 2023 +0000

    Bump k8s.io/apiextensions-apiserver from 0.28.1 to 0.28.3

    Bumps [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) from 0.28.1 to 0.28.3.
    - [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
    - [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.28.1...v0.28.3)

    ---
    updated-dependencies:
    - dependency-name: k8s.io/apiextensions-apiserver
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit a2d63038c13756345f80dfc73fdaff6e91db53ea
Author: William Andersson <[email protected]>
Date:   Fri Oct 20 10:53:36 2023 +0200

    Allow updating container for cron jobs (#334)

    * allow updating container for cron jobs

    * update docs to reflect validation

commit 89d9ff77574333ed05a2feb9d09060fc02f7f519
Merge: 85e39e8 63c3ae7
Author: Snorre Selmer <[email protected]>
Date:   Tue Oct 17 14:43:26 2023 +0200

    Merge pull request #295 from kartverket/SKIP-1084

    SKIP-1084 Allow namespace-labels in AccessPolicies

commit 63c3ae7d654b3e69411cdbed40d67591163ac902
Merge: 4d13054 2251f18
Author: Snorre Selmer <[email protected]>
Date:   Tue Oct 17 10:10:54 2023 +0200

    Merge remote-tracking branch 'origin/SKIP-1084' into SKIP-1084

commit 4d13054b9212919ef580206d8370a15d1a46d3b1
Author: Snorre Selmer <[email protected]>
Date:   Tue Oct 17 10:09:27 2023 +0200

    - Documentation done for InternalRule regarding namespace and namespacesByLabel

commit 2251f187c89a69a8a9db109a3b5536f4d17a2419
Author: anderssonw <[email protected]>
Date:   Tue Oct 17 09:52:39 2023 +0200

    add generated files

commit cf53bf69ea7e2fa491486f0f1c5f8a3e73f4565c
Author: anderssonw <[email protected]>
Date:   Tue Oct 17 09:52:29 2023 +0200

    fix typo

commit cd66c16ccb2d5b2904d951bcd8a24443ccaa48fb
Author: Snorre Selmer <[email protected]>
Date:   Tue Oct 17 09:44:16 2023 +0200

    - Pushing code so people can have a look at why it's getting DeepCopyInto errors

commit 85e39e8aa6c68547d2aca9cc2100f42196c9e117
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Oct 16 10:26:46 2023 +0200

    Bump k8s.io/client-go from 0.28.1 to 0.28.2 (#326)

    Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.28.1 to 0.28.2.
    - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/kubernetes/client-go/compare/v0.28.1...v0.28.2)

    ---
    updated-dependencies:
    - dependency-name: k8s.io/client-go
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 8458f0322e9112fad499a42e6cf49288dd2a9346
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Oct 16 09:55:23 2023 +0200

    Bump istio.io/api from 1.19.1-0.20230926180503-81132adb5998 to 1.19.3 (#333)

    Bumps [istio.io/api](https://github.com/istio/api) from 1.19.1-0.20230926180503-81132adb5998 to 1.19.3.
    - [Commits](https://github.com/istio/api/commits/1.19.3)

    ---
    updated-dependencies:
    - dependency-name: istio.io/api
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 56f04dec630f5f5fb45313968ae81a18c721886d
Merge: d425eea 9596e83
Author: Thomas Berg <[email protected]>
Date:   Mon Oct 16 09:37:43 2023 +0200

    Merge pull request #332 from kartverket/dependabot/go_modules/go.uber.org/zap-1.26.0

    Bump go.uber.org/zap from 1.25.0 to 1.26.0

commit d425eea9be1e5b0d7ba4b793876f4c9ba0219e42
Author: Johannes Bråthen Oma <[email protected]>
Date:   Mon Oct 16 08:15:52 2023 +0200

    Remove rollout annotation before hashing deployment (#331)

commit 9596e8308428fe5c2700ec7dec17b04dc6d99f12
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Oct 16 06:04:59 2023 +0000

    Bump go.uber.org/zap from 1.25.0 to 1.26.0

    Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.25.0 to 1.26.0.
    - [Release notes](https://github.com/uber-go/zap/releases)
    - [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/uber-go/zap/compare/v1.25.0...v1.26.0)

    ---
    updated-dependencies:
    - dependency-name: go.uber.org/zap
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 284fe12e1205260579e0253fee17581bd3a0018f
Merge: 23a8ccd a86c243
Author: Even Holthe <[email protected]>
Date:   Fri Oct 13 11:58:44 2023 +0200

    Merge pull request #330 from kartverket/dependabot/go_modules/golang.org/x/net-0.17.0

commit f2c05cd025c1509675e1601609d4f93f24b9f6ee
Merge: 4e127ff 23a8ccd
Author: Snorre Selmer <[email protected]>
Date:   Fri Oct 13 09:44:36 2023 +0200

    Merge branch 'main' into SKIP-1084

commit 4e127ffcab4bd25ea6d66a65a30f71b356630a99
Author: Snorre Selmer <[email protected]>
Date:   Fri Oct 13 09:02:42 2023 +0200

    - Added proper documentation for Namespace and NamespacesByLabel

commit a86c2439ffbe83054cd5baddfb2a773416ab96c4
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed Oct 11 23:20:22 2023 +0000

    Bump golang.org/x/net from 0.15.0 to 0.17.0

    Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0.
    - [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0)

    ---
    updated-dependencies:
    - dependency-name: golang.org/x/net
      dependency-type: indirect
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 1f7057f07fe8aecbdd2640311570b52eee31ce15
Author: Snorre Selmer <[email protected]>
Date:   Wed Oct 11 14:38:34 2023 +0200

    Revert "- Added full InternalRule explanation for both Namespace"

    This reverts commit 00cceed46190430d15f303f3fccf46637df532b5.

commit 00cceed46190430d15f303f3fccf46637df532b5
Author: Snorre Selmer <[email protected]>
Date:   Wed Oct 11 13:45:42 2023 +0200

    - Added full InternalRule explanation for both Namespace
    and NamespacesByLabel

commit 3ceef8841dea75aa12b583c48469283897a84c81
Author: Snorre Selmer <[email protected]>
Date:   Wed Sep 27 15:49:49 2023 +0200

    - Added namespacesByLabel explanation

commit c184a33724c5a268fa7ace214609dc4882a007b1
Author: Snorre Selmer <[email protected]>
Date:   Wed Sep 27 13:27:07 2023 +0200

    - Made test app-names related to test-name
    - Cleaned ingress-rule labels
    - getNamespaceSelector now does all namespace-logic
    - Added test for inboundRules with no defined namespace
    - Merged namespace-tests

commit 15652851a758fb1a8730501f82c64ab71f7d7aa8
Author: Snorre Selmer <[email protected]>
Date:   Wed Sep 27 09:18:05 2023 +0200

    - Removed unused code

commit ab9cfcbda3e57d074949cd8a00ce69060bccc781
Author: Snorre Selmer <[email protected]>
Date:   Fri Sep 22 09:14:56 2023 +0200

    - Fixed getInboundPolicyPeers  if-test
    - Fixed NamespacesByLabel return
    - Fixed broken test-assert
    - Accidentally broke the namespace-label test
    -Fixed the namespace-label test again
    - Added a separate namespace-priority test
    - Simplified returns in getNamespaceSelector

commit f08089463a112a89eaf72383224fcd8a805ad08a
Author: Snorre Selmer <[email protected]>
Date:   Thu Sep 21 15:13:31 2023 +0200

    - Fixed getInboundPolicyPeers  if-test
    - Fixed NamespacesByLabel return
    - Fixed broken test-assert
    - Accidentally broke the namespace-label test
    -Fixed the namespace-label test again
    - Added a separate namespace-priority test

commit c7a9ce82a9f2022f9af758238116336d5b512795
Author: Snorre Selmer <[email protected]>
Date:   Thu Sep 21 11:52:34 2023 +0200

    - Fixed getInboundPolicyPeers  if-test
    - Fixed NamespacesByLabel return
    - Fixed broken test-assert

commit d8362e34e7a186a65a2c9857fbe5cbc7eab9c5e4
Author: Snorre Selmer <[email protected]>
Date:   Wed Sep 13 12:38:18 2023 +0200

    - Fixed getInboundPolicyPeers  if-test
    - Fixed NamespacesByLabel return
    - Fixed broken test-assert

commit 6e66dcd88a15a675a9c7adbfeada413666a5ac36
Author: Snorre Selmer <[email protected]>
Date:   Tue Sep 12 15:18:10 2023 +0200

    - Fixed InboundPolicyPeers  if-test
    - Fixed NamespacesByLabel return

commit 0435b32e4ab99de31a1bfa055a83ea814cfa90d5
Author: Snorre Selmer <[email protected]>
Date:   Wed Sep 6 10:48:29 2023 +0200

    Bit more comments and reordered items

commit 10103d8a58bd696973f89b938e3c7564c2ae638d
Author: anderssonw <[email protected]>
Date:   Tue Aug 29 12:26:54 2023 +0200

    set kubebuilder generate for internalrule

commit 2ae52241cbc978b853c46576863faa9bb3de5b0b
Author: Snorre Selmer <[email protected]>
Date:   Tue Aug 29 12:17:56 2023 +0200

    Ran make, need help

commit ca2d41cf2d60b6bc2bfa297e451e535f3ddb8734
Author: Snorre Selmer <[email protected]>
Date:   Wed Aug 23 10:44:02 2023 +0200

    SKIP-1084 Allow namespace-labels in AccessPolicies
  • Loading branch information
omaen committed Feb 12, 2024
1 parent 1e94589 commit f813341
Show file tree
Hide file tree
Showing 255 changed files with 3,636 additions and 1,625 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/build-and-deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Build and Deploy Skiperator

on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # at 12:00 AM every day
push:
branches: [main]
paths-ignore:
Expand All @@ -24,7 +27,7 @@ env:
RBAC_FILE_PATH: config/rbac/role.yaml
CRD_APP_FILE_PATH: config/crd/skiperator.kartverket.no_applications.yaml
CRD_JOB_FILE_PATH: config/crd/skiperator.kartverket.no_skipjobs.yaml
ARTIFACT_NAME: skiperator-artifact
ARTIFACT_NAME: skiperator-artifact-${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt }}

jobs:
build:
Expand Down Expand Up @@ -81,7 +84,7 @@ jobs:
security-events: write
steps:
- name: Run Pharos
uses: kartverket/[email protected].4
uses: kartverket/[email protected].5
with:
image_url: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{needs.build.outputs.image_digest}}"
tfsec: false
Expand All @@ -97,15 +100,15 @@ jobs:
uses: actions/checkout@v4

- name: Setup Golang environment
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: "1.20"
go-version: '1.21.4'

- name: Generate CRD and ClusterRole
run: make generate

- name: Upload CRD and ClusterRole
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}
path: |
Expand All @@ -114,7 +117,7 @@ jobs:
${{ env.CRD_JOB_FILE_PATH }}
deploy-argo:
if: github.event_name == 'push' || github.ref == 'refs/heads/main'
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'workflow_dispatch')
needs: [build, generate]
runs-on: ubuntu-latest
env:
Expand All @@ -128,7 +131,7 @@ jobs:
token: ${{ secrets.SKIPERATOR_DEPLOY_SECRET }}

- name: Download CRD and RBAC
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}
path: config/
Expand Down
30 changes: 16 additions & 14 deletions .github/workflows/deploy-sandbox-dispatch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
RBAC_FILE_PATH: config/rbac/role.yaml
CRD_APP_FILE_PATH: config/crd/skiperator.kartverket.no_applications.yaml
CRD_JOB_FILE_PATH: config/crd/skiperator.kartverket.no_skipjobs.yaml
ARTIFACT_NAME: skiperator-artifact
ARTIFACT_NAME: skiperator-artifact-${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt }}

jobs:
generate:
Expand All @@ -28,15 +28,15 @@ jobs:
uses: actions/checkout@v4

- name: Setup Golang environment
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: "1.20"
go-version: '1.21.4'

- name: Generate CRD and ClusterRole
run: make generate

- name: Upload CRD and ClusterRole
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}
path: |
Expand All @@ -47,8 +47,10 @@ jobs:
deploy-argo:
needs: [generate]
runs-on: ubuntu-latest
strategy:
matrix:
base_dir: [./sandbox/skiperator-system, ./env/atgcp1-sandbox/skiperator-system]
env:
BASE_DIR: ./sandbox/skiperator-system
TMP_FILE: tmp_kustomization.yaml
steps:
- name: Checkout apps repo
Expand All @@ -58,31 +60,31 @@ jobs:
token: ${{ secrets.SKIPERATOR_DEPLOY_SECRET }}

- name: Download CRD and RBAC
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}
path: config/

- name: Patch Image Digest
run: |
kubectl patch --type=merge --local \
-f $BASE_DIR/kustomization.yaml \
-f ${{ matrix.base_dir }}/kustomization.yaml \
-p '{"images":[{"name":"${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}","digest":"${{ github.event.inputs.image_digest }}"}]}' \
-o yaml > $BASE_DIR/$TMP_FILE
-o yaml > ${{ matrix.base_dir }}/$TMP_FILE
rm $BASE_DIR/kustomization.yaml
mv $BASE_DIR/$TMP_FILE $BASE_DIR/kustomization.yaml
rm ${{ matrix.base_dir }}/kustomization.yaml
mv ${{ matrix.base_dir }}/$TMP_FILE ${{ matrix.base_dir }}/kustomization.yaml
- name: Update CRD and Role
run: |
cp -f -v $CRD_APP_FILE_PATH $BASE_DIR/patches/crd.yaml
cp -f -v $CRD_JOB_FILE_PATH $BASE_DIR/patches/skipjob-crd.yaml
cp -f -v $RBAC_FILE_PATH $BASE_DIR/patches/clusterrole.yaml
cp -f -v $CRD_APP_FILE_PATH ${{ matrix.base_dir }}/patches/crd.yaml
cp -f -v $CRD_JOB_FILE_PATH ${{ matrix.base_dir }}/patches/skipjob-crd.yaml
cp -f -v $RBAC_FILE_PATH ${{ matrix.base_dir }}/patches/clusterrole.yaml
rm -rf config/
- name: Commit Changes to Repo
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git commit -am "deploy skiperator branch: ${{github.ref_name}}"
git push
git pull --rebase && git push
6 changes: 3 additions & 3 deletions .github/workflows/release-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:

- run: git fetch --force --tags

- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: stable
go-version: '1.21.4'

- name: Log into GHCR registry
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d
Expand All @@ -35,7 +35,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Install Cosign
uses: sigstore/cosign-installer@v3.1.2
uses: sigstore/cosign-installer@v3.4.0

- name: Install Syft for SBOM Generation
shell: bash
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@ name: Test

on:
pull_request:
branches: [main]
paths-ignore:
- doc/**
- samples/**
- README.md
- CONTRIBUTING.md
push:
branches: [main]
paths-ignore:
- doc/**
- samples/**
Expand All @@ -23,9 +21,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Docker buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226
- name: Build test-image
run: docker build -t skiperator-test --target test .
- name: Run tests in container
run: docker run --rm --name test skiperator-test
- name: Install go
uses: actions/setup-go@v5
with:
go-version: '1.21.4'
- name: Create test cluster
run: make setup-local
- name: Run tests
run: make run-test
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@

.vscode/
.idea/
dist/
dist/
istio*
2 changes: 2 additions & 0 deletions .sikkerhet/beskrivelse.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
version: 1.0
organisasjon: IT
3 changes: 2 additions & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
* @kartverket/skip
* @kartverket/skip
/.sikkerhet/ @omaen
45 changes: 41 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ You're going to want to make sure to have the following things installed:
- [Operator SDK](https://sdk.operatorframework.io/docs/building-operators/golang/installation)
- golang
- kubectl
- [kubectx and kubens](https://github.com/ahmetb/kubectx)
- [kubectx and kubens](https://github.com/ahmetb/kubectx) (Optional)
- docker version 17.03+.
- [kind](https://kind.sigs.k8s.io)
- [istioctl](https://istio.io/latest/docs/setup/install/istioctl/)
- [istioctl](https://istio.io/latest/docs/setup/install/istioctl/) (Optional)
- wget
- [cert-manager](https://cert-manager.io/docs/installation/)
- [cert-manager](https://cert-manager.io/docs/installation/) (Optional)

### Running the operator

Expand All @@ -25,7 +25,17 @@ hierarchy, have a look at the [kubebuilder documentation](https://book.kubebuild
$ git clone [email protected]:kartverket/skiperator.git
$ cd skiperator/
```
#### Local setup with make
```
make setup-local
make run-local
```
`make setup-local` will create a kind cluster called `kind-skiperator`, with all dependencies installed.
`make run-local` will build and run the operator. This step can be replaced with building through your IDE if you need debugging.

If for any reason you need a clean local environment, delete your local kind cluster with `kind delete cluster --name skiperator`

#### Manual setup
Start a cluster on docker using `kind`.

```
Expand All @@ -35,7 +45,7 @@ $ kind create cluster
Make sure Kind is the active context

```
$ kubectx kind-kind
$ kubectx kind-kind
```

Optionally you may create a new namespace for Skiperator, for example
Expand Down Expand Up @@ -101,6 +111,33 @@ Changes to the api requires the CRD to be generated and applied again, and chang

Use the command `make run-local` to do this in a safe way without mixing up kubectl contexts.

## Tests
This project is using [Chainsaw](https://github.com/kyverno/chainsaw/) for testing.

To run tests against your running kind cluster, with skiperator running in your IDE:
```shell
# All tests
make test

# Single test
make test-single dir=tests/application/hpa
```

If you want to run tests without running skiperator yourself you can use
```shell
# All tests
make run-test

# Single test
make run-test TEST_DIR=tests/application/hpa
```

You can find more handy parameters [here](https://kyverno.github.io/chainsaw/latest/commands/chainsaw_test/).
### Known issues
Parallel tests can cause some concurrency issues. Try lowering the amount of tests running in parallel if you experience tests that occasionally fail.
Concurrent tests means a unique namespace for each test. Chainsaw will create a unique namespace, but in some cases
you might need to specify a namespace. In that case name your namespace <testname>-ns so we dont get overlapping namespaces.

## Writing code

Have a look at the following files:
Expand Down
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
FROM golang:1.21-alpine as builder
FROM golang:1.21 as builder
WORKDIR /build

COPY go.mod go.sum ./
RUN go mod download
COPY Makefile ./
COPY . .

RUN apk update && apk add --no-cache bash && apk add --no-cache make
COPY . .
RUN make

FROM builder as test
Expand Down
Loading

0 comments on commit f813341

Please sign in to comment.