diff --git a/.github/workflows/unit-tests-operator.yaml b/.github/workflows/unit-tests-operator.yaml index 173a81e28bcb5..9e41fb4f2591e 100644 --- a/.github/workflows/unit-tests-operator.yaml +++ b/.github/workflows/unit-tests-operator.yaml @@ -11,6 +11,7 @@ on: - '/go.sum' - 'operator/**' - 'api/types/**' + - 'gen/**' - 'lib/tbot/**' - 'build.assets/Makefile' - 'build.assets/Dockerfile*' @@ -20,6 +21,7 @@ on: - '/go.sum' - 'operator/**' - 'api/types/**' + - 'gen/**' - 'lib/tbot/**' - 'build.assets/Makefile' - 'build.assets/Dockerfile*' diff --git a/api/types/accountrecovery.go b/api/types/accountrecovery.go index 49c71cff2de5f..11eaa2964ea4f 100644 --- a/api/types/accountrecovery.go +++ b/api/types/accountrecovery.go @@ -22,7 +22,8 @@ import ( "github.com/gravitational/trace" ) -// NewRecoveryCodes creates a new RecoveryCodes with the given codes and created time. +// NewRecoveryCodes creates a new RecoveryCodes with the given codes and created +// time. func NewRecoveryCodes(codes []RecoveryCode, created time.Time, username string) (*RecoveryCodesV1, error) { rc := &RecoveryCodesV1{ Metadata: Metadata{ diff --git a/operator/Dockerfile b/operator/Dockerfile index 6425a618eb895..ebb85c9100c55 100644 --- a/operator/Dockerfile +++ b/operator/Dockerfile @@ -18,6 +18,7 @@ RUN go mod download COPY *.go ./ COPY lib/ lib/ +COPY gen/ gen/ COPY operator/apis/ operator/apis/ COPY operator/controllers/ operator/controllers/ COPY operator/sidecar/ operator/sidecar/